Home
last modified time | relevance | path

Searched refs:nattr (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/kernel/module/
A Dsysfs.c176 struct bin_attribute *nattr; in add_notes_attrs() local
198 nattr = &notes_attrs->attrs[0]; in add_notes_attrs()
203 sysfs_bin_attr_init(nattr); in add_notes_attrs()
204 nattr->attr.name = mod->sect_attrs->attrs[loaded].battr.attr.name; in add_notes_attrs()
205 nattr->attr.mode = 0444; in add_notes_attrs()
206 nattr->size = info->sechdrs[i].sh_size; in add_notes_attrs()
207 nattr->private = (void *)info->sechdrs[i].sh_addr; in add_notes_attrs()
208 nattr->read = module_notes_read; in add_notes_attrs()
209 ++nattr; in add_notes_attrs()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/
A Dkfd_svm.c676 for (i = 0; i < nattr; i++) { in svm_range_check_attr()
727 for (i = 0; i < nattr; i++) { in svm_range_apply_attrs()
771 uint32_t nattr, struct kfd_ioctl_svm_attribute *attrs) in svm_range_is_same_attrs() argument
776 for (i = 0; i < nattr; i++) { in svm_range_is_same_attrs()
2007 if (svm_range_is_same_attrs(p, prange, nattr, attrs)) { in svm_range_add()
3384 uint64_t start, uint64_t size, uint32_t nattr, in svm_range_set_attr() argument
3401 r = svm_range_check_attr(p, nattr, attrs); in svm_range_set_attr()
3502 uint64_t start, uint64_t size, uint32_t nattr, in svm_range_get_attr() argument
3526 start + size - 1, nattr); in svm_range_get_attr()
3544 for (i = 0; i < nattr; i++) { in svm_range_get_attr()
[all …]
A Dkfd_chardev.c1647 args->start_addr, args->size, args->op, args->nattr); in kfd_ioctl_svm()
1654 r = svm_ioctl(p, args->op, args->start_addr, args->size, args->nattr, in kfd_ioctl_svm()
/linux-6.3-rc2/drivers/hwmon/pmbus/
A Dpmbus_core.c2402 int nattr; member
2410 .nattr = ARRAY_SIZE(voltage_attributes),
2414 .nattr = ARRAY_SIZE(voltage_attributes),
2418 .nattr = ARRAY_SIZE(current_attributes),
2422 .nattr = ARRAY_SIZE(current_attributes),
2426 .nattr = ARRAY_SIZE(power_attributes),
2430 .nattr = ARRAY_SIZE(temp_attributes),
2482 for (n = 0; n < map->nattr; n++) { in pmbus_init_coefficients()
/linux-6.3-rc2/include/uapi/linux/
A Dkfd_ioctl.h726 __u32 nattr; member

Completed in 30 milliseconds