Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/ntfs3/index.c hdr_find_e() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | e | unit_byte |
| HALF_LOCKED2 | &ni->ni_lock |
fs/ntfs3/index.c hdr_find_e() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | e | unit_byte |
| HALF_LOCKED2 | &ni->ni_lock |
fs/ntfs3/index.c hdr_find_split() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| DATA_SOURCE | 0 | e | r hdr_first_de |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->ni_lock |
fs/ntfs3/index.c hdr_find_split() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | e | unit_byte |
| HALF_LOCKED2 | &ni->ni_lock |
fs/ntfs3/index.c ib_is_empty() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| DATA_SOURCE | 0 | e | r hdr_first_de |
fs/ntfs3/index.c index_hdr_check() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | e | unit_byte |
fs/ntfs3/index.c indx_find() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->ni_lock |
fs/ntfs3/index.c indx_find_buffer() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| DATA_SOURCE | 0 | e | r hdr_first_de |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->ni_lock |
fs/ntfs3/index.c indx_find_buffer() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| PARAM_VALUE | 0 | e->flags | 1-u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | e | unit_byte |
| HALF_LOCKED2 | &ni->ni_lock |
fs/ntfs3/index.c indx_find_raw() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 1-u64max |
fs/ntfs3/index.c indx_find_raw() -> de_is_last()
| Type | Parameter | Key | Value |
|---|
fs/ntfs3/index.c indx_find_sort() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ni->ni_lock | ||
| HALF_LOCKED2 | &de->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->ni_lock |
fs/ntfs3/index.c indx_find_sort() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ni->ni_lock | ||
| HALF_LOCKED2 | &de->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->ni_lock |
fs/ntfs3/index.c indx_find_sort() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ni->ni_lock | ||
| HALF_LOCKED2 | &de->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->ni_lock |
fs/ntfs3/index.c indx_free_children() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| DATA_SOURCE | 0 | e | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ntfs3/index.c indx_get_entry_to_replace() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| DATA_SOURCE | 0 | e | r hdr_first_de |
fs/ntfs3/index.c indx_insert_into_root() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->ni_lock |
fs/ntfs3/fslog.c check_index_header() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | e | unit_byte |
fs/ntfs3/dir.c ntfs_dir_count() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | e | unit_byte |
| LOCK2 | &ni->base->ni_lock | ||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &new_dir_ni->ni_lock | ||
| HALF_LOCKED2 | &ni->ni_lock | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| TYPE_LOCK | (struct ntfs_inode)->ni_lock |
fs/ntfs3/dir.c ntfs_read_hdr() -> de_is_last()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | e | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | e | unit_byte |
| LOCK2 | &ni->base->ni_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)->ni_lock |