Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/smb/server/vfs.c ksmbd_vfs_get_sd_xattr() -> ndr_encode_posix_acl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 8739399900119146496 |
| PARAM_VALUE | 0 | n->data | 0 |
| PARAM_VALUE | 0 | n->length | 0 |
| PARAM_VALUE | 0 | n->offset | 0 |
| PARAM_VALUE | 2 | inode | 4096-ptr_max |
| PARAM_VALUE | 2 | inode->i_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | acl | 0,4096-ptr_max |
| PARAM_VALUE | 3 | acl->count | (-1)-249999 |
| PARAM_VALUE | 3 | acl->entries->type | 1-6 |
| PARAM_VALUE | 4 | def_acl | 0,4096-ptr_max |
| PARAM_VALUE | 4 | def_acl->count | (-1)-249999 |
| PARAM_VALUE | 4 | def_acl->entries->type | 1-6 |
| BUF_SIZE | 3 | acl | (-1),8-s32max |
| BUF_SIZE | 3 | acl | (-1),8-s32max |
| BUF_SIZE | 4 | def_acl | (-1)-0,8-s32max |
| BUF_SIZE | 4 | def_acl | (-1)-0,8-s32max |
| DATA_SOURCE | 1 | idmap | $1 |
| DATA_SOURCE | 3 | acl | r ksmbd_vfs_make_xattr_posix_acl |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/vfs.c ksmbd_vfs_set_sd_xattr() -> ndr_encode_posix_acl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 8929338959200514048 |
| PARAM_VALUE | 0 | n->data | 0 |
| PARAM_VALUE | 0 | n->length | 0 |
| PARAM_VALUE | 0 | n->offset | 0 |
| PARAM_VALUE | 2 | inode | 4096-ptr_max |
| PARAM_VALUE | 2 | inode->i_sb | 4096-ptr_max |
| PARAM_VALUE | 3 | acl | 0,4096-ptr_max |
| PARAM_VALUE | 3 | acl->count | (-1)-249999 |
| PARAM_VALUE | 3 | acl->entries->type | 1-6 |
| PARAM_VALUE | 4 | def_acl | 0,4096-ptr_max |
| PARAM_VALUE | 4 | def_acl->count | (-1)-249999 |
| PARAM_VALUE | 4 | def_acl->entries->type | 1-6 |
| BUF_SIZE | 3 | acl | (-1),8-s32max |
| BUF_SIZE | 3 | acl | (-1),8-s32max |
| BUF_SIZE | 4 | def_acl | (-1)-0,8-s32max |
| BUF_SIZE | 4 | def_acl | (-1)-0,8-s32max |
| CAPPED_DATA | 2 | inode->i_sb->s_time_max | 1 |
| DATA_SOURCE | 1 | idmap | $1 |
| DATA_SOURCE | 3 | acl | r ksmbd_vfs_make_xattr_posix_acl |
| PARAM_COMPARE | 2 | inode->i_sb->s_time_max | >= $2->i_sb->s_time_min |