Home
last modified time | relevance | path

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

/linux/fs/ntfs3/
A Dattrlist.c22 if (!le || !ni->attr_list.le || !ni->attr_list.size) in al_is_valid_le()
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()
50 if (ni->attr_list.size) in ntfs_load_attr_list()
91 ni->attr_list.le = le; in ntfs_load_attr_list()
96 ni->attr_list.le = le; in ntfs_load_attr_list()
281 typeof(ni->attr_list) *al = &ni->attr_list; in al_add_le()
352 typeof(ni->attr_list) *al = &ni->attr_list; in al_remove_le()
379 typeof(ni->attr_list) *al = &ni->attr_list; in al_delete_le()
[all …]
A Dfrecord.c193 if (!ni->attr_list.size || in ni_find_attr()
253 if (!ni->attr_list.size) { in ni_enum_attr_ex()
340 if (!ni->attr_list.size) in ni_load_all_mi()
442 if (PtrOffset(ni->attr_list.le, le) >= ni->attr_list.size) in ni_remove_attr()
662 if (!attr_list) in ni_try_remove_attr_list()
746 ni->attr_list.size = 0; in ni_try_remove_attr_list()
747 kfree(ni->attr_list.le); in ni_try_remove_attr_list()
748 ni->attr_list.le = NULL; in ni_try_remove_attr_list()
791 ni->attr_list.le = le; in ni_create_attr_list()
893 ni->attr_list.size = 0; in ni_create_attr_list()
[all …]
A Dattrib.c625 if (!ni->attr_list.size) { in attr_set_size()
965 if (!ni->attr_list.size) { in attr_data_get_block()
1041 ni->attr_list.dirty = true; in attr_data_get_block()
1565 if (!ni->attr_list.size) { in attr_allocate_frame()
1641 ni->attr_list.dirty = true; in attr_allocate_frame()
1774 ni->attr_list.dirty = true; in attr_collapse_range()
1802 ni->attr_list.dirty = true; in attr_collapse_range()
A 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()
A Dntfs_fs.h385 } attr_list; member
/linux/drivers/iio/
A Diio_core.h53 struct list_head *attr_list);
54 void iio_free_chan_devattr_list(struct list_head *attr_list);
A Dindustrialio-core.c1147 struct list_head *attr_list) in __iio_add_chan_devattr() argument
1163 list_for_each_entry(t, attr_list, l) in __iio_add_chan_devattr()
1172 list_add(&iio_attr->l, attr_list); in __iio_add_chan_devattr()
1382 void iio_free_chan_devattr_list(struct list_head *attr_list) in iio_free_chan_devattr_list() argument
1386 list_for_each_entry_safe(p, n, attr_list, l) { in iio_free_chan_devattr_list()
/linux/include/linux/
A 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/drivers/power/supply/
A 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/drivers/counter/
A Dcounter-sysfs.c50 struct list_head attr_list; member
421 list_add(&counter_attr->l, &group->attr_list); in counter_avail_attr_create()
491 list_add(&counter_attr->l, &group->attr_list); in counter_attr_create()
532 list_add(&counter_attr->l, &group->attr_list); in counter_name_attr_create()
572 list_add(&counter_attr->l, &group->attr_list); in counter_comp_id_attr_create()
919 INIT_LIST_HEAD(&cattr_groups[i].attr_list); in counter_sysfs_add()
951 list_for_each_entry(p, &cattr_groups[i].attr_list, l) in counter_sysfs_add()
/linux/fs/ntfs/
A Dinode.c381 ni->attr_list = NULL; in __ntfs_init_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()
1885 if (!ni->attr_list) { in ntfs_read_inode_mount()
1911 ni->attr_list, ni->attr_list_size, in ntfs_read_inode_mount()
1947 al_entry = (ATTR_LIST_ENTRY*)ni->attr_list; in ntfs_read_inode_mount()
1951 if ((u8*)al_entry < ni->attr_list || in ntfs_read_inode_mount()
2185 if (ni->attr_list) { in __ntfs_clear_inode()
2186 ntfs_free(ni->attr_list); in __ntfs_clear_inode()
[all …]
A Dinode.h86 u8 *attr_list; /* Attribute list value itself. */ member
A Dattrib.c871 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/drivers/infiniband/core/
A Dsysfs.c1100 struct attribute **attr_list; in alloc_port_table_group() local
1103 attr_list = kcalloc(num + 1, sizeof(*attr_list), GFP_KERNEL); in alloc_port_table_group()
1104 if (!attr_list) in alloc_port_table_group()
1120 attr_list[i] = &element->attr.attr; in alloc_port_table_group()
1123 group->attrs = attr_list; in alloc_port_table_group()
1126 kfree(attr_list); in alloc_port_table_group()
/linux/drivers/gpu/drm/amd/pm/
A Damdgpu_pm.c2134 uint32_t mask, struct list_head *attr_list) in amdgpu_device_attr_create() argument
2172 list_add_tail(&attr_entry->entry, attr_list); in amdgpu_device_attr_create()
2185 struct list_head *attr_list);
2191 struct list_head *attr_list) in amdgpu_device_attr_create_groups() argument
2197 ret = amdgpu_device_attr_create(adev, &attrs[i], mask, attr_list); in amdgpu_device_attr_create_groups()
2205 amdgpu_device_attr_remove_groups(adev, attr_list); in amdgpu_device_attr_create_groups()
2211 struct list_head *attr_list) in amdgpu_device_attr_remove_groups() argument
2215 if (list_empty(attr_list)) in amdgpu_device_attr_remove_groups()
2218 list_for_each_entry_safe(entry, entry_tmp, attr_list, entry) { in amdgpu_device_attr_remove_groups()
/linux/scripts/
A Dcheckpatch.pl6591 my %attr_list = (
6623 if (exists($attr_list{$curr_attr})) {
6624 my $new = $attr_list{$curr_attr};

Completed in 56 milliseconds