Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/smb/client/connect.c cifs_match_super() -> compare_mount_options()

Type Parameter Key Value
PARAM_VALUE 0 new_fsopt 4096-ptr_max
PARAM_VALUE 0 new_fsopt->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 0 new_fsopt->s_umount.first_waiter->type 0-1
PARAM_VALUE 1 new_opt 4096-ptr_max
PARAM_VALUE 1 new_opt->cifs_sb 4096-ptr_max
PARAM_VALUE 1 new_opt->ctx 4096-ptr_max
PARAM_VALUE 1 new_opt->ctx->dstaddr.sa_family 0,2,10
PARAM_VALUE 1 new_opt->ctx->nosharesock 0
PARAM_VALUE 1 new_opt->ctx->sectype 0-4
PARAM_VALUE 1 new_opt->ctx->srcaddr.sa_family 0,2,10
PARAM_VALUE 1 *new_opt->ctx->source 0
BUF_SIZE 1 new_opt (-1),4,24
BUF_SIZE 1 new_opt (-1),4,24
DATA_SOURCE 0 new_fsopt $0
STR_LEN 0 new_fsopt (-1),8
STR_LEN 0 new_fsopt (-1),8
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 1 new_opt unit_byte
LOCK2 &ses->chan_lock
LOCK2 &ses->ses_lock
LOCK2 &tcon->tc_lock
LOCK2 &tcp_srv->srv_lock
LOCK2 global &cifs_tcp_ses_lock
LOCK2 global &sb_lock
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 global &cifs_mount_mutex
TYPE_LOCK (struct TCP_Server_Info)->srv_lock
TYPE_LOCK (struct cifs_ses)->chan_lock
TYPE_LOCK (struct cifs_ses)->ses_lock
TYPE_LOCK (struct cifs_tcon)->tc_lock

fs/ceph/super.c ceph_compare_super() -> compare_mount_options()

Type Parameter Key Value
PARAM_VALUE 2 fsc 4096-ptr_max
BUF_SIZE 2 fsc 1-s32max
BUF_SIZE 2 fsc 1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 2 fsc unit_byte
LOCK2 global &sb_lock
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 global &cifs_mount_mutex