Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ntfs3/
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 kfree(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()
69 run_init(&ni->attr_list.run); in ntfs_load_attr_list()
[all …]
Dfrecord.c194 if (!ni->attr_list.size || in ni_find_attr()
254 if (!ni->attr_list.size) { in ni_enum_attr_ex()
290 if (!ni->attr_list.size) { in ni_load_attr()
341 if (!ni->attr_list.size) in ni_load_all_mi()
397 if (base_only || type == ATTR_LIST || !ni->attr_list.size) { in ni_remove_attr()
443 if (PtrOffset(ni->attr_list.le, le) >= ni->attr_list.size) in ni_remove_attr()
467 if (type != ATTR_LIST && !le && ni->attr_list.size) { in ni_ins_new_attr()
502 ni->attr_list.dirty = true; in ni_ins_new_attr()
613 ni->attr_list.dirty = true; in ni_repack()
654 struct ATTRIB *attr, *attr_list, *attr_ins; in ni_try_remove_attr_list() local
[all …]
Dattrib.c645 if (!ni->attr_list.size) { in attr_set_size()
1044 if (!ni->attr_list.size) { in attr_data_get_block()
1120 ni->attr_list.dirty = true; in attr_data_get_block()
1653 if (!ni->attr_list.size) { in attr_allocate_frame()
1729 ni->attr_list.dirty = true; in attr_allocate_frame()
1862 ni->attr_list.dirty = true; in attr_collapse_range()
1890 ni->attr_list.dirty = true; in attr_collapse_range()
2373 ni->attr_list.dirty = true; in attr_insert_range()
2466 ni->attr_list.dirty = true; in attr_insert_range()
Ddir.c398 if (!ni->mi_loaded && ni->attr_list.size) { in ntfs_readdir()
405 if (!ni->mi_loaded && ni->attr_list.size) { in ntfs_readdir()
Dntfs_fs.h385 } attr_list; member
/linux-6.1.9/drivers/iio/
Diio_core.h53 struct list_head *attr_list);
54 void iio_free_chan_devattr_list(struct list_head *attr_list);
Dindustrialio-core.c1166 struct list_head *attr_list) in __iio_add_chan_devattr() argument
1182 list_for_each_entry(t, attr_list, l) in __iio_add_chan_devattr()
1191 list_add(&iio_attr->l, attr_list); in __iio_add_chan_devattr()
1400 void iio_free_chan_devattr_list(struct list_head *attr_list) in iio_free_chan_devattr_list() argument
1404 list_for_each_entry_safe(p, n, attr_list, l) { in iio_free_chan_devattr_list()
/linux-6.1.9/drivers/power/supply/
Dpower_supply_hwmon.c125 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-6.1.9/include/linux/
Dgenl_magic_struct.h144 #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
/linux-6.1.9/drivers/counter/
Dcounter-sysfs.c55 struct list_head attr_list; member
555 list_add(&counter_attr->l, &group->attr_list); in counter_avail_attr_create()
653 list_add(&counter_attr->l, &group->attr_list); in counter_attr_create()
694 list_add(&counter_attr->l, &group->attr_list); in counter_name_attr_create()
734 list_add(&counter_attr->l, &group->attr_list); in counter_comp_id_attr_create()
1130 INIT_LIST_HEAD(&cattr_groups[i].attr_list); in counter_sysfs_add()
1162 list_for_each_entry(p, &cattr_groups[i].attr_list, l) in counter_sysfs_add()
/linux-6.1.9/fs/ntfs/
Dinode.c381 ni->attr_list = NULL; in __ntfs_init_inode()
703 ni->attr_list = ntfs_malloc_nofs(ni->attr_list_size); in ntfs_read_locked_inode()
704 if (!ni->attr_list) { in ntfs_read_locked_inode()
732 ni->attr_list, ni->attr_list_size, in ntfs_read_locked_inode()
749 memcpy(ni->attr_list, (u8*)a + le16_to_cpu( in ntfs_read_locked_inode()
1895 ni->attr_list = ntfs_malloc_nofs(ni->attr_list_size); in ntfs_read_inode_mount()
1896 if (!ni->attr_list) { in ntfs_read_inode_mount()
1922 ni->attr_list, ni->attr_list_size, in ntfs_read_inode_mount()
1941 memcpy(ni->attr_list, (u8*)a + le16_to_cpu( in ntfs_read_inode_mount()
1958 al_entry = (ATTR_LIST_ENTRY*)ni->attr_list; in ntfs_read_inode_mount()
[all …]
Dinode.h86 u8 *attr_list; /* Attribute list value itself. */ member
Dattrib.c895 al_start = base_ni->attr_list; in ntfs_external_attr_find()
911 if ((u8*)al_entry < base_ni->attr_list || in ntfs_external_attr_find()
/linux-6.1.9/drivers/infiniband/core/
Dsysfs.c1101 struct attribute **attr_list; in alloc_port_table_group() local
1104 attr_list = kcalloc(num + 1, sizeof(*attr_list), GFP_KERNEL); in alloc_port_table_group()
1105 if (!attr_list) in alloc_port_table_group()
1121 attr_list[i] = &element->attr.attr; in alloc_port_table_group()
1124 group->attrs = attr_list; in alloc_port_table_group()
1127 kfree(attr_list); in alloc_port_table_group()
/linux-6.1.9/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c2070 uint32_t mask, struct list_head *attr_list) in amdgpu_device_attr_create() argument
2108 list_add_tail(&attr_entry->entry, attr_list); in amdgpu_device_attr_create()
2121 struct list_head *attr_list);
2127 struct list_head *attr_list) in amdgpu_device_attr_create_groups() argument
2133 ret = amdgpu_device_attr_create(adev, &attrs[i], mask, attr_list); in amdgpu_device_attr_create_groups()
2141 amdgpu_device_attr_remove_groups(adev, attr_list); in amdgpu_device_attr_create_groups()
2147 struct list_head *attr_list) in amdgpu_device_attr_remove_groups() argument
2151 if (list_empty(attr_list)) in amdgpu_device_attr_remove_groups()
2154 list_for_each_entry_safe(entry, entry_tmp, attr_list, entry) { in amdgpu_device_attr_remove_groups()
/linux-6.1.9/scripts/
Dcheckpatch.pl6656 my %attr_list = (
6688 if (exists($attr_list{$curr_attr})) {
6689 my $new = $attr_list{$curr_attr};