Home
last modified time | relevance | path

Searched refs:attr_list (Results 1 – 15 of 15) sorted by relevance

/linux/fs/ntfs3/
H A Dattrlist.c22 if (!le || !ni->attr_list.le || !ni->attr_list.size) in al_is_valid_le()
26 ni->attr_list.size; in al_is_valid_le()
32 kvfree(ni->attr_list.le); in al_destroy()
33 ni->attr_list.le = NULL; in al_destroy()
34 ni->attr_list.size = 0; in al_destroy()
50 if (ni->attr_list.size) in ntfs_load_attr_list()
107 ni->attr_list.le = le; in ntfs_load_attr_list()
112 ni->attr_list.le = le; in ntfs_load_attr_list()
297 typeof(ni->attr_list) *al = &ni->attr_list; in al_add_le()
368 typeof(ni->attr_list) *al = &ni->attr_list; in al_remove_le()
[all …]
H A Dfrecord.c196 if (!ni->attr_list.size || in ni_find_attr()
257 if (!ni->attr_list.size) { in ni_enum_attr_ex()
344 if (!ni->attr_list.size) in ni_load_all_mi()
446 if (PtrOffset(ni->attr_list.le, le) >= ni->attr_list.size) in ni_remove_attr()
677 if (!attr_list) in ni_try_remove_attr_list()
782 ni->attr_list.size = 0; in ni_try_remove_attr_list()
784 ni->attr_list.le = NULL; in ni_try_remove_attr_list()
827 ni->attr_list.le = le; in ni_create_attr_list()
933 ni->attr_list.le = NULL; in ni_create_attr_list()
934 ni->attr_list.size = 0; in ni_create_attr_list()
[all …]
H A Dattrib.c639 if (!ni->attr_list.size) { in attr_set_size()
1114 if (!ni->attr_list.size) { in attr_data_get_block()
1207 ni->attr_list.dirty = true; in attr_data_get_block()
1748 if (!ni->attr_list.size) { in attr_allocate_frame()
1824 ni->attr_list.dirty = true; in attr_allocate_frame()
1959 ni->attr_list.dirty = true; in attr_collapse_range()
1987 ni->attr_list.dirty = true; in attr_collapse_range()
2476 ni->attr_list.dirty = true; in attr_insert_range()
2569 ni->attr_list.dirty = true; in attr_insert_range()
H A Ddir.c430 if (!ni->mi_loaded && ni->attr_list.size) { in ntfs_readdir()
437 if (!ni->mi_loaded && ni->attr_list.size) { in ntfs_readdir()
H A Dntfs_fs.h396 } attr_list; member
/linux/drivers/iio/
H A Diio_core.h54 struct list_head *attr_list);
55 void iio_free_chan_devattr_list(struct list_head *attr_list);
H A Dindustrialio-core.c1164 struct list_head *attr_list) in __iio_add_chan_devattr() argument
1180 list_for_each_entry(t, attr_list, l) in __iio_add_chan_devattr()
1189 list_add(&iio_attr->l, attr_list); in __iio_add_chan_devattr()
1398 void iio_free_chan_devattr_list(struct list_head *attr_list) in iio_free_chan_devattr_list() argument
1402 list_for_each_entry_safe(p, n, attr_list, l) { in iio_free_chan_devattr_list()
/linux/include/linux/
H A Dgenl_magic_struct.h142 #define GENL_op(op_name, op_num, handler, attr_list) argument
181 #define GENL_op(op_name, op_num, handler, attr_list) \ argument
198 #define GENL_op(op_name, op_num, handler, attr_list) argument
/linux/drivers/power/supply/
H A Dpower_supply_hwmon.c139 const struct hwmon_type_attr_list *attr_list = &ps_type_attrs[type]; in power_supply_hwmon_has_input() local
142 for (i = 0; i < attr_list->n_attrs; ++i) { in power_supply_hwmon_has_input()
144 attr_list->attrs[i], channel); in power_supply_hwmon_has_input()
/linux/drivers/counter/
H A Dcounter-sysfs.c55 struct list_head attr_list; member
561 list_add(&counter_attr->l, &group->attr_list); in counter_avail_attr_create()
659 list_add(&counter_attr->l, &group->attr_list); in counter_attr_create()
700 list_add(&counter_attr->l, &group->attr_list); in counter_name_attr_create()
740 list_add(&counter_attr->l, &group->attr_list); in counter_comp_id_attr_create()
1136 INIT_LIST_HEAD(&cattr_groups[i].attr_list); in counter_sysfs_add()
1168 list_for_each_entry(p, &cattr_groups[i].attr_list, l) in counter_sysfs_add()
/linux/drivers/infiniband/core/
H A Dsysfs.c1105 struct attribute **attr_list; in alloc_port_table_group() local
1108 attr_list = kcalloc(num + 1, sizeof(*attr_list), GFP_KERNEL); in alloc_port_table_group()
1109 if (!attr_list) in alloc_port_table_group()
1125 attr_list[i] = &element->attr.attr; in alloc_port_table_group()
1128 group->attrs = attr_list; in alloc_port_table_group()
1131 kfree(attr_list); in alloc_port_table_group()
/linux/Documentation/userspace-api/netlink/
H A Dspecs.rst337 or both of these properties, each holding a :ref:`attr_list`.
343 or both of these properties, each holding a :ref:`attr_list`.
355 Specification of attributes in the event, holds a :ref:`attr_list`.
/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c2543 uint32_t mask, struct list_head *attr_list) in amdgpu_device_attr_create() argument
2585 list_add_tail(&attr_entry->entry, attr_list); in amdgpu_device_attr_create()
2598 struct list_head *attr_list);
2604 struct list_head *attr_list) in amdgpu_device_attr_create_groups() argument
2610 ret = amdgpu_device_attr_create(adev, &attrs[i], mask, attr_list); in amdgpu_device_attr_create_groups()
2618 amdgpu_device_attr_remove_groups(adev, attr_list); in amdgpu_device_attr_create_groups()
2624 struct list_head *attr_list) in amdgpu_device_attr_remove_groups() argument
2628 if (list_empty(attr_list)) in amdgpu_device_attr_remove_groups()
2631 list_for_each_entry_safe(entry, entry_tmp, attr_list, entry) { in amdgpu_device_attr_remove_groups()
/linux/tools/net/ynl/
H A Dynl-gen-c.py710 self.attr_list = []
714 self.attr_list.append((t, self.attr_set[t]),)
717 self.attr_list.append((t, self.attr_set[t]),)
721 for name, attr in self.attr_list:
734 return self.attr_list
1970 if len(ri.struct["request"].attr_list) == 0:
1993 if len(ri.struct["request"].attr_list) == 0:
/linux/scripts/
H A Dcheckpatch.pl6754 my %attr_list = (
6786 if (exists($attr_list{$curr_attr})) {
6787 my $new = $attr_list{$curr_attr};