Defined in 2 files as a prototype:
Defined in 1 files as a macro:
Defined in 2 files as a function:
Referenced in 5 files:
- fs/hfs/catalog.c
- fs/hfs/extent.c
- fs/hfsplus/attributes.c, line 339
- fs/hfsplus/catalog.c
- fs/hfsplus/extents.c
Smatch caller information:
fs/hfs/extent.c hfs_file_truncate() -> hfs_brec_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fd | 2002846610070261760 |
| PARAM_VALUE | 0 | fd->bnode | 4096-ptr_max |
| PARAM_VALUE | 0 | fd->entrylength | 12 |
| PARAM_VALUE | 0 | fd->entryoffset | (-1),1-131070 |
| PARAM_VALUE | 0 | fd->keylength | (-1),1-u16max |
| PARAM_VALUE | 0 | fd->keyoffset | (-1)-u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &(sb->s_fs_info)->ext_tree->tree_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/hfs/extent.c hfs_free_fork() -> hfs_brec_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fd | 4647060520943919104 |
| PARAM_VALUE | 0 | fd->bnode | 4096-ptr_max |
| PARAM_VALUE | 0 | fd->entrylength | 12 |
| PARAM_VALUE | 0 | fd->entryoffset | (-1),1-131070 |
| PARAM_VALUE | 0 | fd->key | 4096-ptr_max |
| PARAM_VALUE | 0 | fd->keylength | (-1),1-u16max |
| PARAM_VALUE | 0 | fd->keyoffset | (-1)-u16max |
| PARAM_VALUE | 0 | fd->search_key | 4096-ptr_max |
| PARAM_VALUE | 0 | fd->tree | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &(sb->s_fs_info)->cat_tree->tree_lock | ||
| LOCK2 | &(sb->s_fs_info)->ext_tree->tree_lock | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/hfs/catalog.c hfs_cat_create() -> hfs_brec_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fd | 9001909600535154688 |
| PARAM_VALUE | 0 | fd->bnode | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fd->entrylength | (-65535)-65534 |
| PARAM_VALUE | 0 | fd->entryoffset | 1-131070 |
| PARAM_VALUE | 0 | fd->keylength | 1-u16max |
| PARAM_VALUE | 0 | fd->keyoffset | 0-u16max |
| PARAM_VALUE | 0 | fd->search_key | 4096-ptr_max |
| PARAM_VALUE | 0 | fd->tree | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &(sb->s_fs_info)->cat_tree->tree_lock |
fs/hfs/catalog.c hfs_cat_delete() -> hfs_brec_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fd | 7775192538368651264 |
| PARAM_VALUE | 0 | fd->bnode | 4096-ptr_max |
| PARAM_VALUE | 0 | fd->entrylength | (-65535)-65534 |
| PARAM_VALUE | 0 | fd->entryoffset | 1-131070 |
| PARAM_VALUE | 0 | fd->keylength | 1-u16max |
| PARAM_VALUE | 0 | fd->keyoffset | 0-u16max |
| PARAM_VALUE | 0 | fd->search_key | 4096-ptr_max |
| PARAM_VALUE | 0 | fd->tree | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &(sb->s_fs_info)->cat_tree->tree_lock | ||
| HALF_LOCKED2 | &(sb->s_fs_info)->ext_tree->tree_lock | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/hfs/catalog.c hfs_cat_delete() -> hfs_brec_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fd | 7775192538368651264 |
| PARAM_VALUE | 0 | fd->bnode | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fd->entrylength | (-65535)-65534 |
| PARAM_VALUE | 0 | fd->entryoffset | 1-131070 |
| PARAM_VALUE | 0 | fd->keylength | 1-u16max |
| PARAM_VALUE | 0 | fd->keyoffset | 0-u16max |
| PARAM_VALUE | 0 | fd->search_key | 4096-ptr_max |
| PARAM_VALUE | 0 | fd->tree | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &(sb->s_fs_info)->cat_tree->tree_lock | ||
| HALF_LOCKED2 | &(sb->s_fs_info)->ext_tree->tree_lock | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/hfs/catalog.c hfs_cat_move() -> hfs_brec_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fd | 2044707944035500032 |
| PARAM_VALUE | 0 | fd->bnode | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fd->entrylength | (-65535)-65534 |
| PARAM_VALUE | 0 | fd->entryoffset | 1-131070 |
| PARAM_VALUE | 0 | fd->keylength | 1-u16max |
| PARAM_VALUE | 0 | fd->keyoffset | 0-u16max |
| PARAM_VALUE | 0 | fd->search_key | 4096-ptr_max |
| PARAM_VALUE | 0 | fd->tree | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &(sb->s_fs_info)->cat_tree->tree_lock | ||
| HALF_LOCKED2 | &(dir->i_sb->s_fs_info)->cat_tree->tree_lock | ||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/hfs/catalog.c hfs_cat_move() -> hfs_brec_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fd | 2044707944035500032 |
| PARAM_VALUE | 0 | fd->bnode | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fd->entrylength | (-65535)-65534 |
| PARAM_VALUE | 0 | fd->entryoffset | 1-131070 |
| PARAM_VALUE | 0 | fd->keylength | 1-u16max |
| PARAM_VALUE | 0 | fd->keyoffset | 0-u16max |
| PARAM_VALUE | 0 | fd->search_key | 4096-ptr_max |
| PARAM_VALUE | 0 | fd->tree | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &(sb->s_fs_info)->cat_tree->tree_lock | ||
| HALF_LOCKED2 | &(dir->i_sb->s_fs_info)->cat_tree->tree_lock | ||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |