Defined in 2 files as a member:
- tools/testing/selftests/bpf/test_sockmap.c, line 116 (as a member)
- tools/testing/selftests/bpf/test_sockmap.c, line 142 (as a member)
Defined in 2 files as a function:
Referenced in 12 files:
- arch/riscv/include/asm/cmpxchg.h
- drivers/block/floppy.c
- fs/d_path.c
- fs/ext4/extents.c
- include/linux/codetag.h
- lib/alloc_tag.c
- lib/codetag.c
- mm/alloc_tag.c
- security/apparmor/path.c
- tools/bpf/bpftool/net.c
- tools/perf/util/annotate-data.c, line 1039
- tools/testing/selftests/bpf/test_sockmap.c
Smatch caller information:
security/apparmor/path.c d_namespace_path() -> prepend()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 8954924089898733568 |
| PARAM_VALUE | 0 | *p | 0-ptr_max |
| PARAM_VALUE | 0 | *(*p) | 0 |
| PARAM_VALUE | 2 | namelen | 3257685675677270016 |
| PARAM_VALUE | 3 | namelen | 5 |
| BUF_SIZE | 2 | namelen | 6 |
| DATA_SOURCE | 0 | p | $2 |
| STR_LEN | 0 | p | 5 |
| TERMINATED | 2 | namelen | 1 |
security/apparmor/path.c disconnect() -> prepend()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 8954924089898733568 |
| PARAM_VALUE | 0 | *p | 4096-ptr_max |
| PARAM_VALUE | 0 | *(*p) | 0 |
| PARAM_VALUE | 0 | **p | 0-46,48-255 |
| PARAM_VALUE | 2 | namelen | 959101290386378752 |
| PARAM_VALUE | 3 | namelen | 1 |
| BUF_SIZE | 2 | namelen | 2 |
| DATA_SOURCE | 0 | p | $2 |
| STR_LEN | 0 | p | 1 |
| TERMINATED | 2 | namelen | 1 |
security/apparmor/path.c disconnect() -> prepend()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 8954924089898733568 |
| PARAM_VALUE | 0 | *p | 4096-ptr_max |
| PARAM_VALUE | 0 | *(*p) | 0 |
| PARAM_VALUE | 0 | **p | 0-255 |
| PARAM_VALUE | 2 | namelen | 1-u64max |
| PARAM_VALUE | 3 | namelen | 0-1010101 |
| DATA_SOURCE | 0 | p | $2 |
| DATA_SOURCE | 2 | namelen | $4 |
| STR_LEN | 0 | p | 0-1010101 |
fs/d_path.c __do_sys_getcwd() -> prepend()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 2167904369255747584 |
| PARAM_VALUE | 1 | str | 7179212662069985280 |
| PARAM_VALUE | 2 | namelen | 13 |
| BUF_SIZE | 1 | str | 14 |
| STR_LEN | 0 | p | 13 |
| TERMINATED | 1 | str | 1 |
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
fs/d_path.c __do_sys_getcwd() -> prepend()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 2167904369255747584 |
| PARAM_VALUE | 1 | str | 7179212662069985280 |
| PARAM_VALUE | 2 | namelen | 13 |
| BUF_SIZE | 1 | str | 14 |
| STR_LEN | 0 | p | 13 |
| TERMINATED | 1 | str | 1 |
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
fs/d_path.c d_path() -> prepend()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 9005423714534674432 |
| PARAM_VALUE | 0 | p->buf | 4096-ptr_max |
| PARAM_VALUE | 1 | str | 8167807073587466240 |
| PARAM_VALUE | 2 | namelen | 11 |
| BUF_SIZE | 1 | str | 11 |
| STR_LEN | 0 | p | 10 |
| NOSPEC | 0 | p->len | |
| TERMINATED | 1 | str | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | p->len | 2-4096[c] |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &seq->lock | ||
| HALF_LOCKED2 | global &nfsd_mutex |
fs/d_path.c dentry_path() -> prepend()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 2370110836984590336 |
| PARAM_VALUE | 0 | p->buf | 4096-ptr_max |
| PARAM_VALUE | 1 | str | 1277861917819633664 |
| PARAM_VALUE | 2 | namelen | 10 |
| BUF_SIZE | 1 | str | 10 |
| STR_LEN | 0 | p | 9 |
| TERMINATED | 1 | str | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/d_path.c prepend_name() -> prepend()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 1217240794689880064,3981841448834899968 |
| BUF_SIZE | 1 | str | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | str | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | p | $0 |
| NOSPEC | 0 | p->len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | p->len | 0-4085[c] |
| UNITS | 1 | str | unit_byte |
| UNITS | 2 | namelen | unit_byte |
| HALF_LOCKED2 | rcu_read |
fs/d_path.c simple_dname() -> prepend()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4084662243138265088 |
| PARAM_VALUE | 0 | p->buf | 4096-ptr_max |
| PARAM_VALUE | 1 | str | 8167807073587466240 |
| PARAM_VALUE | 2 | namelen | 11 |
| BUF_SIZE | 1 | str | 11 |
| STR_LEN | 0 | p | 10 |
| NOSPEC | 0 | p->len | |
| TERMINATED | 1 | str | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | p->len | 2-4096[c] |
| HALF_LOCKED2 | global &tomoyo_ss |
fs/d_path.c simple_dname() -> prepend()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | p | 4084662243138265088 |
| PARAM_VALUE | 0 | p->buf | 4086-ptr_max |
| PARAM_VALUE | 0 | p->len | s32min-2147483636 |
| BUF_SIZE | 1 | str | s32min-(-2),1-s32max |
| NOSPEC | 0 | p->len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | p->len | 0-4085[c] |
| UNITS | 1 | str | unit_byte |
| UNITS | 2 | namelen | unit_byte |
| HALF_LOCKED2 | global &tomoyo_ss |