Defined in 4 files as a function:

Referenced in 8 files:

Smatch caller information:

drivers/infiniband/core/device.c assign_name() -> alloc_name()

Type Parameter Key Value
PARAM_VALUE 0 space_info 4096-ptr_max
PARAM_VALUE 0 space_info->port_data->cache.last_port_state 1,4
PARAM_VALUE 0 space_info->port_data->immutable.pkey_tbl_len 0-u16max
PARAM_VALUE 1 *name 0
BUF_SIZE 0 space_info (-1),5000
BUF_SIZE 0 space_info (-1),5000
BUF_SIZE 0 space_info->dev.parent (-1),1616
BUF_SIZE 0 space_info->driver_def (-1),112
BUF_SIZE 1 name s32min,(-10),1-s32max
BUF_SIZE 1 name s32min,(-10),1-s32max
CAPPED_DATA 0 space_info 1
DATA_SOURCE 0 space_info $0
DATA_SOURCE 1 name $1
STR_LEN 0 space_info (-1),6-9,11-12
STR_LEN 0 space_info (-1),6-9,11-12
STR_LEN 1 name (-1),7,12
STR_LEN 1 name (-1),7,12
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *name 0
NO_OVERFLOW_SIMPLE 0 space_info->num_comp_vectors
USER_PTR 1 name
LOCK2 global &devices_rwsem
HALF_LOCKED2 &dev->cmd.poll_sem
HALF_LOCKED2 global &be_adapter_list_lock
HALF_LOCKED2 global &bnxt_re_mutex
HALF_LOCKED2 global &link_ops_rwsem
HALF_LOCKED2 global &mthca_device_mutex
HALF_LOCKED2 global &qedr_dev_list_lock
HALF_LOCKED2 global &usnic_ib_ibdev_list_lock

kernel/irq/irqdomain.c irq_domain_set_name() -> alloc_name()

Type Parameter Key Value
PARAM_VALUE 0 space_info 1-u64max
PARAM_VALUE 2 bus_token 0,3,5,9,12-13
BUF_SIZE 0 space_info 376-s32max
BUF_SIZE 0 space_info 376-s32max
BUF_SIZE 1 name 1-s32max
DATA_SOURCE 0 space_info $0
RX_PATH
TASK_NOT_RUNNING

kernel/irq/irqdomain.c irq_domain_set_name() -> alloc_name()

Type Parameter Key Value
PARAM_VALUE 0 space_info 4096-ptr_max
PARAM_VALUE 2 bus_token 3,5,9,12-13
BUF_SIZE 0 space_info 376-s32max
BUF_SIZE 0 space_info 376-s32max
BUF_SIZE 0 space_info->name 1-s32max
BUF_SIZE 1 name 1-s32max
DATA_SOURCE 0 space_info $0
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/sysfs.c btrfs_sysfs_add_space_info_type() -> alloc_name()

Type Parameter Key Value
PARAM_VALUE 0 space_info 4096-ptr_max
PARAM_VALUE 0 space_info->bg_reclaim_threshold 75
PARAM_VALUE 0 space_info->chunk_size 1-u64max
PARAM_VALUE 0 space_info->clamp 1
PARAM_VALUE 0 space_info->flags 0-4096
PARAM_VALUE 0 space_info->force_alloc 0
PARAM_VALUE 0 space_info->fs_info 4096-ptr_max
PARAM_VALUE 0 space_info->groups_sem.count.counter 0
PARAM_VALUE 0 space_info->groups_sem.dep_map->name 0-255
PARAM_VALUE 0 space_info->groups_sem.first_waiter 0
PARAM_VALUE 0 space_info->groups_sem.magic 4096-ptr_max
PARAM_VALUE 0 space_info->groups_sem.osq.tail.counter 0
PARAM_VALUE 0 space_info->groups_sem.owner.counter 0
PARAM_VALUE 0 space_info->priority_tickets.next 4096-ptr_max
PARAM_VALUE 0 space_info->priority_tickets.next->next 4096-ptr_max
PARAM_VALUE 0 space_info->priority_tickets.prev 4096-ptr_max
PARAM_VALUE 0 space_info->priority_tickets.prev->next 4096-ptr_max
PARAM_VALUE 0 space_info->priority_tickets.prev->prev 4096-ptr_max
PARAM_VALUE 0 space_info->ro_bgs.next 4096-ptr_max
PARAM_VALUE 0 space_info->ro_bgs.next->next 4096-ptr_max
PARAM_VALUE 0 space_info->ro_bgs.prev 4096-ptr_max
PARAM_VALUE 0 space_info->ro_bgs.prev->next 4096-ptr_max
PARAM_VALUE 0 space_info->ro_bgs.prev->prev 4096-ptr_max
PARAM_VALUE 0 space_info->subgroup_id 0-2
PARAM_VALUE 0 space_info->tickets.next 4096-ptr_max
PARAM_VALUE 0 space_info->tickets.next->next 4096-ptr_max
PARAM_VALUE 0 space_info->tickets.prev 4096-ptr_max
PARAM_VALUE 0 space_info->tickets.prev->next 4096-ptr_max
PARAM_VALUE 0 space_info->tickets.prev->prev 4096-ptr_max
BUF_SIZE 0 space_info 960
BUF_SIZE 0 space_info->parent (-1),960
DATA_SOURCE 0 space_info $0

mm/memfd.c __do_sys_memfd_create() -> alloc_name()

Type Parameter Key Value
DATA_SOURCE 0 space_info $0
USER_DATA 0 space_info 0-u64max

mm/memfd.c __do_sys_memfd_create() -> alloc_name()

Type Parameter Key Value
DATA_SOURCE 0 space_info $0
USER_DATA 0 space_info 0-u64max