Defined in 11 files as a member:
- arch/powerpc/platforms/powernv/opal-sensor-groups.c, line 113 (as a member)
- arch/powerpc/platforms/pseries/papr_platform_attributes.c, line 198 (as a member)
- drivers/extcon/extcon.c, line 224 (as a member)
- drivers/gpu/drm/amd/amdkfd/kfd_topology.h, line 162 (as a member)
- drivers/hid/hid-sensor-custom.c, line 33 (as a member)
- drivers/hwmon/coretemp.c, line 83 (as a member)
- drivers/media/usb/pvrusb2/pvrusb2-sysfs.c, line 50 (as a member)
- drivers/power/supply/power_supply_sysfs.c, line 26 (as a member)
- drivers/thermal/intel/int340x_thermal/processor_thermal_rfim.c, line 24 (as a member)
- drivers/thermal/thermal_core.h, line 245 (as a member)
- include/linux/power/charger-manager.h, line 116 (as a member)
Defined in 1 files as a function:
Referenced in 41 files:
- arch/powerpc/platforms/powernv/opal-sensor-groups.c, line 124
- arch/powerpc/platforms/pseries/papr_platform_attributes.c
- drivers/cpuidle/sysfs.c, line 331
- drivers/extcon/extcon.c
- drivers/gpu/drm/amd/amdkfd/kfd_topology.c
- drivers/hid/hid-sensor-custom.c
- drivers/hwmon/coretemp.c
- drivers/hwmon/ibmpowernv.c
- drivers/iio/adc/ad9467.c
- drivers/leds/leds-bd2802.c
- drivers/media/usb/pvrusb2/pvrusb2-sysfs.c
- drivers/platform/chrome/chromeos_acpi.c
- drivers/platform/x86/hp/hp-bioscfg/bioscfg.c
- drivers/platform/x86/hp/hp-bioscfg/bioscfg.h, line 492
- drivers/power/supply/charger-manager.c
- drivers/power/supply/power_supply_sysfs.c
- drivers/s390/net/qeth_l2_sys.c
- drivers/thermal/intel/int340x_thermal/processor_thermal_rfim.c
- drivers/thermal/thermal_core.c
- fs/ntfs3/attrib.c
- fs/ntfs3/attrlist.c, line 186
- fs/ntfs3/frecord.c
- fs/ntfs3/fslog.c
- fs/ntfs3/inode.c
- fs/ntfs3/ntfs_fs.h, line 1274
- fs/ntfs3/record.c
- fs/smb/server/smb2pdu.c
- fs/smb/server/vfs.c
- fs/smb/server/vfs.h
- fs/xfs/xfs_attr_item.c
- include/net/9p/client.h, line 392
- include/net/pkt_cls.h
- include/trace/events/hwmon.h
- lib/kunit/attributes.c
- net/9p/client.c
- net/sched/cls_api.c
- tools/perf/util/dwarf-aux.c
- tools/perf/util/python.c
- tools/usb/usbip/libsrc/usbip_host_common.c
- tools/usb/usbip/src/usbip_bind.c
- tools/usb/usbip/src/utils.c
Smatch caller information:
fs/ntfs3/record.c compare_attr() -> attr_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->ni_lock |
fs/ntfs3/record.c mi_find_attr() -> attr_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| CAPPED_DATA | 0 | attr->name_len | 1 |
| DATA_SOURCE | 0 | attr | r mi_enum_attr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->base->ni_lock | ||
| HALF_LOCKED2 | &ni->file.run_lock |
fs/ntfs3/frecord.c ni_create_attr_list() -> attr_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | r mi_enum_attr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->file.run_lock | ||
| HALF_LOCKED2 | &ni->ni_lock |
fs/ntfs3/frecord.c ni_create_attr_list() -> attr_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | r mi_enum_attr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->file.run_lock | ||
| HALF_LOCKED2 | &ni->ni_lock |
fs/ntfs3/frecord.c ni_create_attr_list() -> attr_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | r mi_enum_attr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ni->file.run_lock | ||
| HALF_LOCKED2 | &ni->ni_lock |
fs/ntfs3/frecord.c ni_decompress_file() -> attr_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | r ni_enum_attr_ex |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ntfs3/frecord.c ni_expand_list() -> attr_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| CAPPED_DATA | 0 | attr->name_len | 1 |
| DATA_SOURCE | 0 | attr | r rec_find_attr_le |
fs/ntfs3/frecord.c ni_query_ads() -> attr_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | r ni_enum_attr_ex |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ntfs3/attrlist.c al_find_le() -> attr_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->file.run_lock | ||
| HALF_LOCKED2 | &ni->ni_lock |
fs/ntfs3/attrib.c attr_is_frame_compressed() -> attr_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| CAPPED_DATA | 0 | attr->name_len | 1 |
| DATA_SOURCE | 0 | attr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ni->file.run_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->base->ni_lock | ||
| TYPE_LOCK | (struct ntfs_inode)->file.run_lock |
fs/ntfs3/attrib.c attr_is_frame_compressed() -> attr_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| CAPPED_DATA | 0 | attr->name_len | 1 |
| DATA_SOURCE | 0 | attr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ni->file.run_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->base->ni_lock | ||
| TYPE_LOCK | (struct ntfs_inode)->file.run_lock |
fs/ntfs3/attrib.c attr_make_nonresident() -> attr_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| BUF_SIZE | 0 | attr | s32min-s32max |
| DATA_SOURCE | 0 | attr | r kmemdup_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->base->ni_lock | ||
| HALF_LOCKED2 | &ni->file.run_lock |
fs/ntfs3/fslog.c cmp_type_and_name() -> attr_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| CAPPED_DATA | 0 | attr->name_len | 1 |
| CAPPED_DATA | 0 | attr->type | 1 |
| DATA_SOURCE | 0 | attr | $0 |
fs/ntfs3/fslog.c cmp_type_and_name() -> attr_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| CAPPED_DATA | 0 | attr->name_len | 1 |
| CAPPED_DATA | 0 | attr->type | 1 |
| DATA_SOURCE | 0 | attr | $1 |
fs/ntfs3/inode.c ntfs_init_ads_node() -> attr_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| CAPPED_DATA | 0 | attr->name_len | 1 |
| DATA_SOURCE | 0 | attr | r ni_enum_attr_ex |
fs/ntfs3/inode.c ntfs_read_mft() -> attr_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | attr | 4096-ptr_max |
| DATA_SOURCE | 0 | attr | r ni_enum_attr_ex |
| USER_DATA | 0 | attr->flags | 0-u16max |
| USER_DATA | 0 | attr->id | 0-u16max |
| USER_DATA | 0 | attr->name_len | 0-255 |
| USER_DATA | 0 | attr->name_off | 0-u16max |
| USER_DATA | 0 | attr->non_res | 0-255 |
| USER_DATA | 0 | attr->nres.alloc_size | 0-u64max |
| USER_DATA | 0 | attr->nres.c_unit | 0-255 |
| USER_DATA | 0 | attr->nres.data_size | 0-u64max |
| USER_DATA | 0 | attr->nres.evcn | 0-u64max |
| USER_DATA | 0 | attr->nres.run_off | 0-u16max |
| USER_DATA | 0 | attr->nres.svcn | 0-u64max |
| USER_DATA | 0 | attr->nres.total_size | 0-u64max |
| USER_DATA | 0 | attr->nres.valid_size | 0-u64max |
| USER_DATA | 0 | attr->res.data_off | 0-u16max |
| USER_DATA | 0 | attr->res.data_size | 0-u32max |
| USER_DATA | 0 | attr->res.flags | 0-255 |
| USER_DATA | 0 | attr->res.res | 0-255 |
| USER_DATA | 0 | attr->size | 0-u32max |
| USER_DATA | 0 | attr->type | 1-256[u] |
| USER_PTR | 0 | attr |