Home
last modified time | relevance | path

Searched refs:attr_list (Results 1 – 13 of 13) 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()
25 return PtrOffset(ni->attr_list.le, le) + le16_to_cpu(le->size) <= in al_is_valid_le()
26 ni->attr_list.size; in al_is_valid_le()
31 run_close(&ni->attr_list.run); in al_destroy()
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()
35 ni->attr_list.dirty = false; in al_destroy()
50 if (ni->attr_list.size) in ntfs_load_attr_list()
70 run_init(&ni->attr_list.run); in ntfs_load_attr_list()
[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()
293 if (!ni->attr_list.size) { in ni_load_attr()
344 if (!ni->attr_list.size) in ni_load_all_mi()
400 if (base_only || type == ATTR_LIST || !ni->attr_list.size) { in ni_remove_attr()
446 if (PtrOffset(ni->attr_list.le, le) >= ni->attr_list.size) in ni_remove_attr()
470 if (type != ATTR_LIST && !le && ni->attr_list.size) { in ni_ins_new_attr()
505 ni->attr_list.dirty = true; in ni_ins_new_attr()
619 ni->attr_list.dirty = true; in ni_repack()
661 struct ATTRIB *attr, *attr_list, *attr_ins; in ni_try_remove_attr_list() local
[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()
1747 if (!ni->attr_list.size) { in attr_allocate_frame()
1823 ni->attr_list.dirty = true; in attr_allocate_frame()
1958 ni->attr_list.dirty = true; in attr_collapse_range()
1986 ni->attr_list.dirty = true; in attr_collapse_range()
2475 ni->attr_list.dirty = true; in attr_insert_range()
2568 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);
/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.c140 const struct hwmon_type_attr_list *attr_list = &ps_type_attrs[type]; in power_supply_hwmon_has_input() local
143 for (i = 0; i < attr_list->n_attrs; ++i) { in power_supply_hwmon_has_input()
145 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/tools/net/ynl/
H A Dynl-gen-c.py733 self.attr_list = []
737 self.attr_list.append((t, self.attr_set[t]),)
740 self.attr_list.append((t, self.attr_set[t]),)
744 for name, attr in self.attr_list:
757 return self.attr_list
1993 if len(ri.struct["request"].attr_list) == 0:
2016 if len(ri.struct["request"].attr_list) == 0:
/linux/scripts/
H A Dcheckpatch.pl6749 my %attr_list = (
6781 if (exists($attr_list{$curr_attr})) {
6782 my $new = $attr_list{$curr_attr};