Defined in 1 files as a function:
Referenced in 5 files:
- fs/btrfs/inode.c, line 5803
- fs/btrfs/print-tree.c, line 282
- fs/btrfs/send.c, line 1131
- fs/btrfs/tree-checker.c, line 599
- fs/btrfs/tree-log.c
Smatch caller information:
fs/btrfs/tree-log.c replay_one_dir_item() -> btrfs_dir_ftype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 1 | item | 4096-4294967396 |
fs/btrfs/inode.c btrfs_inode_by_name() -> btrfs_dir_ftype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 1 | item | 101-ptr_max |
| DATA_SOURCE | 1 | item | r btrfs_lookup_dir_item |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &fs_info->subvol_sem |
fs/btrfs/print-tree.c print_dir_item() -> btrfs_dir_ftype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | eb->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | item | 101-ptr_max |
| BUF_SIZE | 0 | eb | (-1),1-s32max |
| BUF_SIZE | 0 | eb | (-1),1-s32max |
| DATA_SOURCE | 0 | eb | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | eb->len | |
| NO_OVERFLOW_SIMPLE | 0 | eb->start | |
| UNITS | 1 | item | unit_byte |
| HALF_LOCKED2 | &fs_info->cleaner_mutex | ||
| HALF_LOCKED2 | &leaf->lock | ||
| HALF_LOCKED2 | 0 | &eb->lock |
fs/btrfs/tree-checker.c check_dir_item() -> btrfs_dir_ftype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->folios | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info | 4096-ptr_max |
| PARAM_VALUE | 0 | eb->fs_info->csum_type | 0-3 |
| PARAM_VALUE | 1 | item | 101-ptr_max |
| BUF_SIZE | 0 | eb | (-1),1-s32max |
| BUF_SIZE | 0 | eb | (-1),1-s32max |
| CAPPED_DATA | 0 | eb->start | 1 |
| DATA_SOURCE | 0 | eb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | item | unit_byte |
| HALF_LOCKED2 | &pool->lock |
fs/btrfs/send.c iterate_dir_item() -> btrfs_dir_ftype()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eb | 4096-ptr_max |
| PARAM_VALUE | 1 | item | 101-ptr_max |
| UNITS | 1 | item | unit_byte |