Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/smb/client/cifsacl.c build_sec_desc() -> sid_from_sd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pntsd | 4096-ptr_max |
| PARAM_VALUE | 0 | pntsd->dacloffset | 0,20-4294967287 |
| PARAM_VALUE | 1 | secdesclen | 20-u32max |
| PARAM_VALUE | 3 | sid | 6860898123524714496 |
| BUF_SIZE | 0 | pntsd | (-1)-s32max |
| BUF_SIZE | 0 | pntsd | (-1)-s32max |
| DATA_SOURCE | 0 | pntsd | $0 |
| DATA_SOURCE | 1 | secdesclen | $2 |
| FUZZY_MAX | 1 | secdesclen | 20 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | secdesclen | unit_byte |
| UNITS | 2 | sid_offset | unit_byte |
| HALF_LOCKED2 | &direntry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &direntry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/cifsacl.c build_sec_desc() -> sid_from_sd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pntsd | 4096-ptr_max |
| PARAM_VALUE | 0 | pntsd->dacloffset | 0,20-4294967287 |
| PARAM_VALUE | 0 | pntsd->osidoffset | 20-u32max |
| PARAM_VALUE | 1 | secdesclen | 20-u32max |
| PARAM_VALUE | 3 | sid | 2294265177255936000 |
| BUF_SIZE | 0 | pntsd | (-1)-s32max |
| BUF_SIZE | 0 | pntsd | (-1)-s32max |
| DATA_SOURCE | 0 | pntsd | $0 |
| DATA_SOURCE | 1 | secdesclen | $2 |
| FUZZY_MAX | 1 | secdesclen | 20 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | secdesclen | unit_byte |
| UNITS | 2 | sid_offset | unit_byte |
| HALF_LOCKED2 | &direntry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &direntry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/cifsacl.c copy_sec_desc() -> sid_from_sd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pntsd | 4096-ptr_max |
| PARAM_VALUE | 0 | pntsd->dacloffset | 0,20-4294967287 |
| PARAM_VALUE | 0 | pntsd->gsidoffset | 20-u32max |
| PARAM_VALUE | 0 | pntsd->osidoffset | 20-u32max |
| PARAM_VALUE | 1 | secdesclen | 20-u32max |
| PARAM_VALUE | 2 | sid_offset | 20-u32max |
| PARAM_VALUE | 3 | sid | 2727785268451049472 |
| BUF_SIZE | 0 | pntsd | (-1)-s32max |
| BUF_SIZE | 0 | pntsd | (-1)-s32max |
| DATA_SOURCE | 0 | pntsd | $0 |
| DATA_SOURCE | 1 | secdesclen | $3 |
| FUZZY_MAX | 1 | secdesclen | 20 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | secdesclen | unit_byte |
| UNITS | 2 | sid_offset | unit_byte |
| HALF_LOCKED2 | &direntry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &direntry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/cifsacl.c copy_sec_desc() -> sid_from_sd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pntsd | 4096-ptr_max |
| PARAM_VALUE | 0 | pntsd->dacloffset | 0,20-4294967287 |
| PARAM_VALUE | 0 | pntsd->gsidoffset | 20-u32max |
| PARAM_VALUE | 0 | pntsd->osidoffset | 20-u32max |
| PARAM_VALUE | 1 | secdesclen | 20-u32max |
| PARAM_VALUE | 2 | sid_offset | 20-u32max |
| PARAM_VALUE | 3 | sid | 619375159077724160 |
| BUF_SIZE | 0 | pntsd | (-1)-s32max |
| BUF_SIZE | 0 | pntsd | (-1)-s32max |
| CAPPED_DATA | 0 | pntsd->osidoffset | 1 |
| DATA_SOURCE | 0 | pntsd | $0 |
| DATA_SOURCE | 1 | secdesclen | $3 |
| FUZZY_MAX | 1 | secdesclen | 20 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | secdesclen | unit_byte |
| UNITS | 2 | sid_offset | unit_byte |
| HALF_LOCKED2 | &direntry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &direntry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/cifsacl.c parse_sec_desc() -> sid_from_sd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pntsd | 4096-ptr_max |
| PARAM_VALUE | 1 | secdesclen | 20-s32max |
| PARAM_VALUE | 3 | sid | 1977470599169978368 |
| BUF_SIZE | 0 | pntsd | (-1)-s32max |
| BUF_SIZE | 0 | pntsd | (-1)-s32max |
| DATA_SOURCE | 0 | pntsd | $1 |
| DATA_SOURCE | 1 | secdesclen | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | secdesclen | unit_byte |
| UNITS | 2 | sid_offset | unit_byte |
| HALF_LOCKED2 | global &cifs_mount_mutex |
fs/smb/client/cifsacl.c parse_sec_desc() -> sid_from_sd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pntsd | 4096-ptr_max |
| PARAM_VALUE | 0 | pntsd->osidoffset | 20-u32max |
| PARAM_VALUE | 1 | secdesclen | 20-s32max |
| PARAM_VALUE | 3 | sid | 5273433784898396160 |
| BUF_SIZE | 0 | pntsd | (-1)-s32max |
| BUF_SIZE | 0 | pntsd | (-1)-s32max |
| DATA_SOURCE | 0 | pntsd | $1 |
| DATA_SOURCE | 1 | secdesclen | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | secdesclen | unit_byte |
| UNITS | 2 | sid_offset | unit_byte |
| HALF_LOCKED2 | global &cifs_mount_mutex |