Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/ntfs/dir.c, line 773
- fs/ntfs/index.c
- fs/ntfs/inode.c, line 2617
- fs/ntfs/object_id.c, line 82
- fs/ntfs/reparse.c, line 575
Smatch caller information:
fs/ntfs/object_id.c open_object_id_index() -> ntfs_index_ctx_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 5696185357907648512 |
| PARAM_VALUE | 2 | name_len | 2 |
| BUF_SIZE | 1 | name | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ni->mrec_lock | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_ni->mrec_lock | ||
| HALF_LOCKED2 | &old_dir_ni->mrec_lock | ||
| HALF_LOCKED2 | &old_ni->mrec_lock | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/ntfs/dir.c ntfs_readdir() -> ntfs_index_ctx_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni | 4096-ptr_max |
| PARAM_VALUE | 0 | ni->mrec_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni->mrec_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ni->mrec_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ni->mrec_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ni->mrec_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni->mrec_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ni->mrec_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | name | 366664741242413056 |
| PARAM_VALUE | 2 | name_len | 4 |
| BUF_SIZE | 0 | ni | 776 |
| BUF_SIZE | 1 | name | 10 |
| CAPPED_DATA | 0 | &ni->mrec_lock | 1 |
| DATA_SOURCE | 0 | ni | r NTFS_I |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ni->mrec_lock | |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock |
fs/ntfs/inode.c ntfs_inode_sync_filename() -> ntfs_index_ctx_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni | 4096-ptr_max |
| PARAM_VALUE | 0 | ni->mrec_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni->mrec_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ni->mrec_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ni->mrec_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ni->mrec_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ni->mrec_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ni->mrec_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | name | 366664741242413056 |
| PARAM_VALUE | 2 | name_len | 4 |
| BUF_SIZE | 0 | ni | 776 |
| BUF_SIZE | 1 | name | 10 |
| CAPPED_DATA | 0 | &ni->mrec_lock | 1 |
| DATA_SOURCE | 0 | ni | r NTFS_I |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ni->mrec_lock | ||
| LOCK2 | 0 | &ni->mrec_lock | |
| HALF_LOCKED2 | &vi->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock |
fs/ntfs/index.c ntfs_index_add_filename() -> ntfs_index_ctx_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni | 4096-ptr_max |
| PARAM_VALUE | 0 | ni->folio | 1-u64max |
| PARAM_VALUE | 0 | ni->vol | 4096-ptr_max |
| PARAM_VALUE | 0 | ni->vol->lcnbmp_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ni->vol->lcnbmp_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ni->vol->mftbmp_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ni->vol->mftbmp_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | name | 366664741242413056 |
| PARAM_VALUE | 2 | name_len | 4 |
| BUF_SIZE | 0 | ni | (-1),776 |
| BUF_SIZE | 0 | ni | (-1),776 |
| BUF_SIZE | 1 | name | 10 |
| DATA_SOURCE | 0 | ni | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->mrec_lock | ||
| HALF_LOCKED2 | 0 | &ni->mrec_lock | |
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock |
fs/ntfs/index.c ntfs_index_remove() -> ntfs_index_ctx_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 366664741242413056 |
| PARAM_VALUE | 2 | name_len | 4 |
| BUF_SIZE | 0 | ni | (-1),776 |
| BUF_SIZE | 0 | ni | (-1),776 |
| BUF_SIZE | 1 | name | 10 |
| DATA_SOURCE | 0 | ni | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->mrec_lock | ||
| HALF_LOCKED2 | &old_dir_ni->mrec_lock | ||
| HALF_LOCKED2 | 0 | &ni->mrec_lock | |
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock |
fs/ntfs/reparse.c open_reparse_index() -> ntfs_index_ctx_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ni | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 7076775683339833344 |
| PARAM_VALUE | 2 | name_len | 2 |
| BUF_SIZE | 1 | name | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ni->mrec_lock | ||
| HALF_LOCKED2 | &dir_ni->mrec_lock | ||
| TYPE_LOCK | (struct ntfs_inode)->mrec_lock |