Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/smb/client/cifsacl.c parse_sec_desc() -> sid_to_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 4096-ptr_max |
| PARAM_VALUE | 0 | idmap->mnt_cifs_flags.counter | s32min-(-1),512-s32max |
| PARAM_VALUE | 1 | psid | 4096-ptr_max |
| PARAM_VALUE | 1 | psid->num_subauth | 0-15 |
| PARAM_VALUE | 2 | sidtype | 656100145314926592,3385983365375836160 |
| PARAM_VALUE | 2 | sidtype->cf_bytes | 0 |
| PARAM_VALUE | 2 | sidtype->cf_cifsattrs | 0 |
| PARAM_VALUE | 2 | sidtype->cf_cifstag | 0 |
| PARAM_VALUE | 2 | sidtype->cf_createtime | 0 |
| PARAM_VALUE | 2 | sidtype->cf_ctime.tv_nsec | 0 |
| PARAM_VALUE | 2 | sidtype->cf_ctime.tv_sec | 0 |
| PARAM_VALUE | 2 | sidtype->cf_dtype | 0-15 |
| PARAM_VALUE | 2 | sidtype->cf_eof | 0 |
| PARAM_VALUE | 2 | sidtype->cf_flags | 0-2,4-u32max |
| PARAM_VALUE | 2 | sidtype->cf_gid.val | 0 |
| PARAM_VALUE | 2 | sidtype->cf_mode | 0,4096,4553,16841 |
| PARAM_VALUE | 2 | sidtype->cf_nlink | 0,2 |
| PARAM_VALUE | 2 | sidtype->cf_rdev | 0 |
| PARAM_VALUE | 2 | sidtype->cf_symlink_target | 0 |
| PARAM_VALUE | 2 | sidtype->cf_uid.val | 0 |
| PARAM_VALUE | 3 | fattr | 1 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 2 | sidtype | $3 |
| FUZZY_MAX | 2 | sidtype->cf_mode | 0 |
| MEM_ZERO | 2 | sidtype | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/cifsacl.c parse_sec_desc() -> sid_to_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 4096-ptr_max |
| PARAM_VALUE | 0 | idmap->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | idmap->mnt_cifs_flags.counter | s32min-(-1),512-s32max |
| PARAM_VALUE | 1 | psid | 4096-ptr_max |
| PARAM_VALUE | 1 | psid->num_subauth | 0-15 |
| PARAM_VALUE | 2 | sidtype | 656100145314926592,3385983365375836160 |
| PARAM_VALUE | 2 | sidtype->cf_bytes | 0 |
| PARAM_VALUE | 2 | sidtype->cf_cifsattrs | 0 |
| PARAM_VALUE | 2 | sidtype->cf_cifstag | 0 |
| PARAM_VALUE | 2 | sidtype->cf_createtime | 0 |
| PARAM_VALUE | 2 | sidtype->cf_ctime.tv_nsec | 0 |
| PARAM_VALUE | 2 | sidtype->cf_ctime.tv_sec | 0 |
| PARAM_VALUE | 2 | sidtype->cf_dtype | 0-15 |
| PARAM_VALUE | 2 | sidtype->cf_eof | 0 |
| PARAM_VALUE | 2 | sidtype->cf_flags | 0-2,4-u32max |
| PARAM_VALUE | 2 | sidtype->cf_gid.val | 0 |
| PARAM_VALUE | 2 | sidtype->cf_mode | 0,4096,4553,16841 |
| PARAM_VALUE | 2 | sidtype->cf_nlink | 0,2 |
| PARAM_VALUE | 2 | sidtype->cf_rdev | 0 |
| PARAM_VALUE | 2 | sidtype->cf_symlink_target | 0 |
| PARAM_VALUE | 2 | sidtype->cf_uid.val | 0 |
| PARAM_VALUE | 3 | fattr | 2 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 2 | sidtype | $3 |
| FUZZY_MAX | 2 | sidtype->cf_mode | 0 |
| MEM_ZERO | 2 | sidtype | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/server/smbacl.c parse_dacl() -> sid_to_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | psid | 4096-ptr_max |
| PARAM_VALUE | 1 | psid->num_subauth | 1-15 |
| PARAM_VALUE | 2 | sidtype | 1 |
| PARAM_VALUE | 3 | fattr | 1191736207576469504 |
| DATA_SOURCE | 0 | idmap | $0 |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/smbacl.c parse_sec_desc() -> sid_to_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | psid->num_subauth | 0-15 |
| PARAM_VALUE | 2 | sidtype | 1 |
| PARAM_VALUE | 3 | fattr | 5461440834037088256 |
| PARAM_VALUE | 3 | fattr->cf_acls | 0 |
| PARAM_VALUE | 3 | fattr->cf_dacls | 0 |
| PARAM_VALUE | 3 | fattr->daccess | 0 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 3 | fattr | $3 |
| UNITS | 1 | psid | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/smbacl.c parse_sec_desc() -> sid_to_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | psid->num_subauth | 0-15 |
| PARAM_VALUE | 2 | sidtype | 6 |
| PARAM_VALUE | 3 | fattr | 5461440834037088256 |
| PARAM_VALUE | 3 | fattr->cf_acls | 0 |
| PARAM_VALUE | 3 | fattr->cf_dacls | 0 |
| PARAM_VALUE | 3 | fattr->daccess | 0 |
| DATA_SOURCE | 0 | idmap | $0 |
| DATA_SOURCE | 3 | fattr | $3 |
| UNITS | 1 | psid | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/smb/client/readdir.c cifs_posix_to_fattr() -> sid_to_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | psid | 5594698335662120976 |
| PARAM_VALUE | 2 | sidtype | 3889137508050595840 |
| PARAM_VALUE | 2 | sidtype->cf_dtype | 0-15 |
| PARAM_VALUE | 2 | sidtype->cf_flags | 0,4 |
| PARAM_VALUE | 3 | fattr | 1 |
| DATA_SOURCE | 0 | idmap | $2 |
| DATA_SOURCE | 2 | sidtype | $0 |
| FUZZY_MAX | 2 | sidtype->cf_flags | 0 |
| MEM_ZERO | 2 | sidtype | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/smb/client/readdir.c cifs_posix_to_fattr() -> sid_to_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 4096-ptr_max |
| PARAM_VALUE | 0 | idmap->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | psid | 5594698335662121044 |
| PARAM_VALUE | 2 | sidtype | 3889137508050595840 |
| PARAM_VALUE | 2 | sidtype->cf_dtype | 0-15 |
| PARAM_VALUE | 2 | sidtype->cf_flags | 0,4 |
| PARAM_VALUE | 3 | fattr | 2 |
| DATA_SOURCE | 0 | idmap | $2 |
| DATA_SOURCE | 2 | sidtype | $0 |
| FUZZY_MAX | 2 | sidtype->cf_flags | 0 |
| MEM_ZERO | 2 | sidtype | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/smb/client/inode.c smb311_posix_info_to_fattr() -> sid_to_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 4096-ptr_max |
| PARAM_VALUE | 0 | idmap->master_tlink | 4096-ptr_max |
| PARAM_VALUE | 1 | psid | 4096-ptr_max |
| PARAM_VALUE | 2 | sidtype | 656100145314926592,3385983365375836160,7660936621335777280 |
| PARAM_VALUE | 2 | sidtype->cf_cifstag | 0 |
| PARAM_VALUE | 2 | sidtype->cf_dtype | 0-15 |
| PARAM_VALUE | 2 | sidtype->cf_flags | 0 |
| PARAM_VALUE | 2 | sidtype->cf_mtime.tv_sec | s32min-s32max |
| PARAM_VALUE | 3 | fattr | 1 |
| DATA_SOURCE | 2 | sidtype | $0 |
| FUZZY_MAX | 2 | sidtype->cf_mtime.tv_sec | 0 |
| MEM_ZERO | 2 | sidtype | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/inode.c smb311_posix_info_to_fattr() -> sid_to_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | idmap | 4096-ptr_max |
| PARAM_VALUE | 0 | idmap->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | idmap->master_tlink | 4096-ptr_max |
| PARAM_VALUE | 1 | psid | 4096-ptr_max |
| PARAM_VALUE | 2 | sidtype | 656100145314926592,3385983365375836160,7660936621335777280 |
| PARAM_VALUE | 2 | sidtype->cf_cifstag | 0 |
| PARAM_VALUE | 2 | sidtype->cf_dtype | 0-15 |
| PARAM_VALUE | 2 | sidtype->cf_flags | 0 |
| PARAM_VALUE | 2 | sidtype->cf_mtime.tv_sec | s32min-s32max |
| PARAM_VALUE | 3 | fattr | 2 |
| DATA_SOURCE | 2 | sidtype | $0 |
| FUZZY_MAX | 2 | sidtype->cf_mtime.tv_sec | 0 |
| MEM_ZERO | 2 | sidtype | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | global &cifs_mount_mutex |