Searched refs:attr_list (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/drivers/counter/ |
D | counter.c | 245 struct list_head *const attr_list = &parm->group->attr_list; in counter_attribute_create() local 275 list_add(&counter_attr->l, attr_list); in counter_attribute_create() 390 static void counter_device_attr_list_free(struct list_head *attr_list) in counter_device_attr_list_free() argument 394 list_for_each_entry_safe(p, n, attr_list, l) { in counter_device_attr_list_free() 444 counter_device_attr_list_free(&group->attr_list); in counter_signal_ext_register() 489 counter_device_attr_list_free(&group->attr_list); in counter_signal_attributes_create() 527 counter_device_attr_list_free(&groups_list[i].attr_list); in counter_signals_register() 699 counter_device_attr_list_free(&group->attr_list); in counter_synapses_register() 878 counter_device_attr_list_free(&group->attr_list); in counter_count_ext_register() 993 counter_device_attr_list_free(&group->attr_list); in counter_count_attributes_create() [all …]
|
/Linux-v5.10/drivers/iio/ |
D | iio_core.h | 32 struct list_head *attr_list); 33 void iio_free_chan_devattr_list(struct list_head *attr_list);
|
D | industrialio-core.c | 1105 struct list_head *attr_list) in __iio_add_chan_devattr() argument 1120 list_for_each_entry(t, attr_list, l) in __iio_add_chan_devattr() 1129 list_add(&iio_attr->l, attr_list); in __iio_add_chan_devattr() 1307 void iio_free_chan_devattr_list(struct list_head *attr_list) in iio_free_chan_devattr_list() argument 1311 list_for_each_entry_safe(p, n, attr_list, l) { in iio_free_chan_devattr_list()
|
/Linux-v5.10/include/linux/ |
D | genl_magic_struct.h | 144 #define GENL_op(op_name, op_num, handler, attr_list) argument 183 #define GENL_op(op_name, op_num, handler, attr_list) \ argument 200 #define GENL_op(op_name, op_num, handler, attr_list) argument
|
D | counter.h | 273 struct list_head attr_list; member
|
/Linux-v5.10/drivers/power/supply/ |
D | power_supply_hwmon.c | 125 const struct hwmon_type_attr_list *attr_list = &ps_type_attrs[type]; in power_supply_hwmon_has_input() local 128 for (i = 0; i < attr_list->n_attrs; ++i) { in power_supply_hwmon_has_input() 130 attr_list->attrs[i], channel); in power_supply_hwmon_has_input()
|
/Linux-v5.10/fs/ntfs/ |
D | inode.c | 381 ni->attr_list = NULL; in __ntfs_init_inode() 697 ni->attr_list = ntfs_malloc_nofs(ni->attr_list_size); in ntfs_read_locked_inode() 698 if (!ni->attr_list) { in ntfs_read_locked_inode() 726 ni->attr_list, ni->attr_list_size, in ntfs_read_locked_inode() 743 memcpy(ni->attr_list, (u8*)a + le16_to_cpu( in ntfs_read_locked_inode() 1878 ni->attr_list = ntfs_malloc_nofs(ni->attr_list_size); in ntfs_read_inode_mount() 1879 if (!ni->attr_list) { in ntfs_read_inode_mount() 1905 ni->attr_list, ni->attr_list_size, in ntfs_read_inode_mount() 1924 memcpy(ni->attr_list, (u8*)a + le16_to_cpu( in ntfs_read_inode_mount() 1941 al_entry = (ATTR_LIST_ENTRY*)ni->attr_list; in ntfs_read_inode_mount() [all …]
|
D | inode.h | 86 u8 *attr_list; /* Attribute list value itself. */ member
|
D | attrib.c | 871 al_start = base_ni->attr_list; in ntfs_external_attr_find() 887 if ((u8*)al_entry < base_ni->attr_list || in ntfs_external_attr_find()
|
/Linux-v5.10/drivers/gpu/drm/amd/pm/ |
D | amdgpu_pm.c | 2109 uint32_t mask, struct list_head *attr_list) in amdgpu_device_attr_create() argument 2147 list_add_tail(&attr_entry->entry, attr_list); in amdgpu_device_attr_create() 2160 struct list_head *attr_list); 2166 struct list_head *attr_list) in amdgpu_device_attr_create_groups() argument 2172 ret = amdgpu_device_attr_create(adev, &attrs[i], mask, attr_list); in amdgpu_device_attr_create_groups() 2180 amdgpu_device_attr_remove_groups(adev, attr_list); in amdgpu_device_attr_create_groups() 2186 struct list_head *attr_list) in amdgpu_device_attr_remove_groups() argument 2190 if (list_empty(attr_list)) in amdgpu_device_attr_remove_groups() 2193 list_for_each_entry_safe(entry, entry_tmp, attr_list, entry) { in amdgpu_device_attr_remove_groups()
|