Home
last modified time | relevance | path

Searched refs:attributes (Results 1 - 25 of 323) sorted by relevance

12345678910>>...13

/kernel/linux/linux-6.6/fs/efivarfs/
H A Dfile.c20 u32 attributes; in efivarfs_file_write() local
22 unsigned long datasize = count - sizeof(attributes); in efivarfs_file_write()
26 if (count < sizeof(attributes)) in efivarfs_file_write()
29 if (copy_from_user(&attributes, userbuf, sizeof(attributes))) in efivarfs_file_write()
32 if (attributes & ~(EFI_VARIABLE_MASK)) in efivarfs_file_write()
35 data = memdup_user(userbuf + sizeof(attributes), datasize); in efivarfs_file_write()
39 bytes = efivar_entry_set_get_size(var, attributes, &datasize, in efivarfs_file_write()
53 i_size_write(inode, datasize + sizeof(attributes)); in efivarfs_file_write()
71 u32 attributes; in efivarfs_file_read() local
[all...]
H A Dinternal.h36 int __efivar_entry_get(struct efivar_entry *entry, u32 *attributes,
38 int efivar_entry_get(struct efivar_entry *entry, u32 *attributes,
40 int efivar_entry_set_get_size(struct efivar_entry *entry, u32 attributes,
/kernel/linux/linux-5.10/fs/efivarfs/
H A Dfile.c20 u32 attributes; in efivarfs_file_write() local
22 unsigned long datasize = count - sizeof(attributes); in efivarfs_file_write()
26 if (count < sizeof(attributes)) in efivarfs_file_write()
29 if (copy_from_user(&attributes, userbuf, sizeof(attributes))) in efivarfs_file_write()
32 if (attributes & ~(EFI_VARIABLE_MASK)) in efivarfs_file_write()
35 data = memdup_user(userbuf + sizeof(attributes), datasize); in efivarfs_file_write()
39 bytes = efivar_entry_set_get_size(var, attributes, &datasize, in efivarfs_file_write()
53 i_size_write(inode, datasize + sizeof(attributes)); in efivarfs_file_write()
71 u32 attributes; in efivarfs_file_read() local
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/hp/hp-bioscfg/
H A DMakefile5 enum-attributes.o \
6 int-attributes.o \
7 order-list-attributes.o \
8 passwdobj-attributes.o \
9 spmobj-attributes.o \
10 string-attributes.o \
11 surestart-attributes.o
/kernel/linux/linux-5.10/drivers/firmware/efi/
H A Dvars.c302 check_var_size(u32 attributes, unsigned long size) in check_var_size() argument
314 return fops->query_variable_store(attributes, size, false); in check_var_size()
318 check_var_size_nonblocking(u32 attributes, unsigned long size) in check_var_size_nonblocking() argument
330 return fops->query_variable_store(attributes, size, true); in check_var_size_nonblocking()
633 * @attributes: variable attributes
651 int efivar_entry_set(struct efivar_entry *entry, u32 attributes, in efivar_entry_set() argument
672 status = check_var_size(attributes, size + ucs2_strsize(name, 1024)); in efivar_entry_set()
675 attributes, size, data); in efivar_entry_set()
695 u32 attributes, unsigne in efivar_entry_set_nonblocking()
694 efivar_entry_set_nonblocking(efi_char16_t *name, efi_guid_t vendor, u32 attributes, unsigned long size, void *data) efivar_entry_set_nonblocking() argument
740 efivar_entry_set_safe(efi_char16_t *name, efi_guid_t vendor, u32 attributes, bool block, unsigned long size, void *data) efivar_entry_set_safe() argument
886 __efivar_entry_get(struct efivar_entry *entry, u32 *attributes, unsigned long *size, void *data) __efivar_entry_get() argument
909 efivar_entry_get(struct efivar_entry *entry, u32 *attributes, unsigned long *size, void *data) efivar_entry_get() argument
953 efivar_entry_set_get_size(struct efivar_entry *entry, u32 attributes, unsigned long *size, void *data, bool *set) efivar_entry_set_get_size() argument
[all...]
H A Defivars.c157 unsigned long size, u32 attributes, u8 *data) in sanity_check()
169 if ((size <= 0) || (attributes == 0)){ in sanity_check()
174 if ((attributes & ~EFI_VARIABLE_MASK) != 0 || in sanity_check()
205 u32 attributes; in efivar_store_raw() local
219 attributes = compat->Attributes; in efivar_store_raw()
225 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw()
236 attributes = new_var->Attributes; in efivar_store_raw()
242 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw()
249 err = efivar_entry_set(entry, attributes, size, data, NULL); in efivar_store_raw()
296 * the attributes
156 sanity_check(struct efi_variable *var, efi_char16_t *name, efi_guid_t vendor, unsigned long size, u32 attributes, u8 *data) sanity_check() argument
372 u32 attributes; efivar_create() local
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/dell/dell-wmi-sysman/
H A DMakefile3 enum-attributes.o \
4 int-attributes.o \
5 string-attributes.o \
6 passobj-attributes.o \
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_ipp.c71 const struct dc_cursor_attributes *attributes) in dce_ipp_cursor_set_attributes()
80 switch (attributes->color_format) { in dce_ipp_cursor_set_attributes()
100 CURSOR_2X_MAGNIFY, attributes->attribute_flags.bits.ENABLE_MAGNIFICATION, in dce_ipp_cursor_set_attributes()
101 CUR_INV_TRANS_CLAMP, attributes->attribute_flags.bits.INVERSE_TRANSPARENT_CLAMPING); in dce_ipp_cursor_set_attributes()
103 if (attributes->color_format == CURSOR_MODE_MONO) { in dce_ipp_cursor_set_attributes()
120 CURSOR_WIDTH, attributes->width-1, in dce_ipp_cursor_set_attributes()
121 CURSOR_HEIGHT, attributes->height-1); in dce_ipp_cursor_set_attributes()
130 CURSOR_SURFACE_ADDRESS_HIGH, attributes->address.high_part); in dce_ipp_cursor_set_attributes()
133 CURSOR_SURFACE_ADDRESS, attributes->address.low_part); in dce_ipp_cursor_set_attributes()
69 dce_ipp_cursor_set_attributes( struct input_pixel_processor *ipp, const struct dc_cursor_attributes *attributes) dce_ipp_cursor_set_attributes() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_ipp.c69 const struct dc_cursor_attributes *attributes) in dce_ipp_cursor_set_attributes()
78 switch (attributes->color_format) { in dce_ipp_cursor_set_attributes()
98 CURSOR_2X_MAGNIFY, attributes->attribute_flags.bits.ENABLE_MAGNIFICATION, in dce_ipp_cursor_set_attributes()
99 CUR_INV_TRANS_CLAMP, attributes->attribute_flags.bits.INVERSE_TRANSPARENT_CLAMPING); in dce_ipp_cursor_set_attributes()
101 if (attributes->color_format == CURSOR_MODE_MONO) { in dce_ipp_cursor_set_attributes()
118 CURSOR_WIDTH, attributes->width-1, in dce_ipp_cursor_set_attributes()
119 CURSOR_HEIGHT, attributes->height-1); in dce_ipp_cursor_set_attributes()
128 CURSOR_SURFACE_ADDRESS_HIGH, attributes->address.high_part); in dce_ipp_cursor_set_attributes()
131 CURSOR_SURFACE_ADDRESS, attributes->address.low_part); in dce_ipp_cursor_set_attributes()
67 dce_ipp_cursor_set_attributes( struct input_pixel_processor *ipp, const struct dc_cursor_attributes *attributes) dce_ipp_cursor_set_attributes() argument
/kernel/linux/linux-5.10/scripts/kconfig/
H A Dnconf.gui.c11 attributes_t attributes[ATTR_MAX+1] = {0}; variable
54 /* available attributes:
72 attributes[name] = attr | COLOR_PAIR(name); } while (0) in normal_color_theme()
103 #define mkattrn(name, attr) { attributes[name] = attr; } in no_colors_theme()
146 /* this changes the windows attributes !!! */
297 set_menu_fore(menu, attributes[DIALOG_MENU_FORE]); in btn_dialog()
298 set_menu_back(menu, attributes[DIALOG_MENU_BACK]); in btn_dialog()
300 (void) wattrset(win, attributes[DIALOG_BOX]); in btn_dialog()
304 (void) wattrset(msg_win, attributes[DIALOG_TEXT]); in btn_dialog()
408 (void) wattrset(form_win, attributes[INPUT_FIEL in dialog_inputbox()
[all...]
/kernel/linux/linux-5.10/drivers/staging/gasket/
H A Dgasket_sysfs.c25 /* This device's set of sysfs attributes/nodes. */
26 struct gasket_sysfs_attribute *attributes; member
28 /* The number of live elements in "attributes". */
107 mapping->attributes[i].attr; in put_mapping()
111 kfree(mapping->attributes); in put_mapping()
112 mapping->attributes = NULL; in put_mapping()
196 mapping->attributes = kcalloc(GASKET_SYSFS_MAX_NODES, in gasket_sysfs_create_mapping()
197 sizeof(*mapping->attributes), in gasket_sysfs_create_mapping()
199 if (!mapping->attributes) { in gasket_sysfs_create_mapping()
248 mapping->attributes[mappin in gasket_sysfs_create_entries()
[all...]
/kernel/linux/linux-5.10/fs/orangefs/
H A Dorangefs-utils.c248 /* Must have all the attributes in the mask and be within cache time. */ in orangefs_inode_getattr()
282 /* Must have all the attributes in the mask and be within cache time. */ in orangefs_inode_getattr()
302 &new_op->downcall.resp.getattr.attributes, in orangefs_inode_getattr()
311 downcall.resp.getattr.attributes.objtype); in orangefs_inode_getattr()
315 downcall.resp.getattr.attributes); in orangefs_inode_getattr()
318 downcall.resp.getattr.attributes.size; in orangefs_inode_getattr()
321 attributes.blksize); in orangefs_inode_getattr()
357 downcall.resp.getattr.attributes.owner); in orangefs_inode_getattr()
359 downcall.resp.getattr.attributes.group); in orangefs_inode_getattr()
361 downcall.resp.getattr.attributes in orangefs_inode_getattr()
[all...]
H A Dupcall.h36 struct ORANGEFS_sys_attr_s attributes; member
42 struct ORANGEFS_sys_attr_s attributes; member
55 struct ORANGEFS_sys_attr_s attributes; member
65 struct ORANGEFS_sys_attr_s attributes; member
/kernel/linux/linux-6.6/fs/orangefs/
H A Dorangefs-utils.c248 /* Must have all the attributes in the mask and be within cache time. */ in orangefs_inode_getattr()
282 /* Must have all the attributes in the mask and be within cache time. */ in orangefs_inode_getattr()
302 &new_op->downcall.resp.getattr.attributes, in orangefs_inode_getattr()
311 downcall.resp.getattr.attributes.objtype); in orangefs_inode_getattr()
315 downcall.resp.getattr.attributes); in orangefs_inode_getattr()
318 downcall.resp.getattr.attributes.size; in orangefs_inode_getattr()
321 attributes.blksize); in orangefs_inode_getattr()
357 downcall.resp.getattr.attributes.owner); in orangefs_inode_getattr()
359 downcall.resp.getattr.attributes.group); in orangefs_inode_getattr()
361 downcall.resp.getattr.attributes in orangefs_inode_getattr()
[all...]
H A Dupcall.h36 struct ORANGEFS_sys_attr_s attributes; member
42 struct ORANGEFS_sys_attr_s attributes; member
55 struct ORANGEFS_sys_attr_s attributes; member
65 struct ORANGEFS_sys_attr_s attributes; member
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dcon3270.c58 struct tty3270_attribute attributes; member
97 struct tty3270_attribute attributes; member
326 if (cell->attributes.highlight != highlight) { in tty3270_required_length()
328 highlight = cell->attributes.highlight; in tty3270_required_length()
330 if (cell->attributes.f_color != f_color) { in tty3270_required_length()
332 f_color = cell->attributes.f_color; in tty3270_required_length()
334 if (cell->attributes.b_color != b_color) { in tty3270_required_length()
336 b_color = cell->attributes.b_color; in tty3270_required_length()
338 if (cell->attributes.alternate_charset) in tty3270_required_length()
424 if (cell->attributes in tty3270_add_attributes()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/dexcr/
H A Dlsdexcr.c89 const char *attributes[8] = {NULL}; in print_aspect() local
95 attributes[j++] = "set"; in print_aspect()
97 attributes[j++] = "set (hypervisor)"; in print_aspect()
99 attributes[j++] = "clear"; in print_aspect()
102 print_list(attributes, j); in print_aspect()
/kernel/linux/linux-5.10/drivers/vme/
H A Dvme.c367 * attributes are provided. Hardware specific errors may also be
392 printk(KERN_ERR "Invalid attributes\n"); in vme_slave_set()
571 * attributes are provided. Hardware specific errors may also be
597 printk(KERN_WARNING "Invalid attributes\n"); in vme_master_set()
877 /* XXX Not checking resource attributes */ in vme_dma_request()
971 * responsibility of the user to free used attributes using
978 struct vme_dma_attr *attributes; in vme_dma_pattern_attribute() local
981 attributes = kmalloc(sizeof(*attributes), GFP_KERNEL); in vme_dma_pattern_attribute()
982 if (!attributes) in vme_dma_pattern_attribute()
1016 struct vme_dma_attr *attributes; vme_dma_pci_attribute() local
1059 struct vme_dma_attr *attributes; vme_dma_vme_attribute() local
1094 vme_dma_free_attribute(struct vme_dma_attr *attributes) vme_dma_free_attribute() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/vme_user/
H A Dvme.c357 * attributes are provided. Hardware specific errors may also be
382 printk(KERN_ERR "Invalid attributes\n"); in vme_slave_set()
560 * attributes are provided. Hardware specific errors may also be
586 printk(KERN_WARNING "Invalid attributes\n"); in vme_master_set()
865 /* XXX Not checking resource attributes */ in vme_dma_request()
958 * responsibility of the user to free used attributes using
965 struct vme_dma_attr *attributes; in vme_dma_pattern_attribute() local
968 attributes = kmalloc(sizeof(*attributes), GFP_KERNEL); in vme_dma_pattern_attribute()
969 if (!attributes) in vme_dma_pattern_attribute()
1003 struct vme_dma_attr *attributes; vme_dma_pci_attribute() local
1046 struct vme_dma_attr *attributes; vme_dma_vme_attribute() local
1081 vme_dma_free_attribute(struct vme_dma_attr *attributes) vme_dma_free_attribute() argument
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dpptt.c124 (acpi_pptt_match_type(cache->attributes, ACPI_PPTT_CACHE_TYPE_DATA) || in acpi_pptt_walk_cache()
125 acpi_pptt_match_type(cache->attributes, ACPI_PPTT_CACHE_TYPE_INSTR))) in acpi_pptt_walk_cache()
129 acpi_pptt_match_type(cache->attributes, type)) { in acpi_pptt_walk_cache()
374 switch (found_cache->attributes & ACPI_PPTT_MASK_WRITE_POLICY) { in update_cache_properties()
376 this_leaf->attributes = CACHE_WRITE_THROUGH; in update_cache_properties()
379 this_leaf->attributes = CACHE_WRITE_BACK; in update_cache_properties()
384 switch (found_cache->attributes & ACPI_PPTT_MASK_ALLOCATION_TYPE) { in update_cache_properties()
386 this_leaf->attributes |= CACHE_READ_ALLOCATE; in update_cache_properties()
389 this_leaf->attributes |= CACHE_WRITE_ALLOCATE; in update_cache_properties()
393 this_leaf->attributes | in update_cache_properties()
[all...]
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/
H A Dreset.c27 __le32 attributes; member
98 u32 attributes; in scmi_reset_domain_attributes_get() local
112 attributes = le32_to_cpu(attr->attributes); in scmi_reset_domain_attributes_get()
114 dom_info->async_reset = SUPPORTS_ASYNC_RESET(attributes); in scmi_reset_domain_attributes_get()
115 dom_info->reset_notify = SUPPORTS_NOTIFY_RESET(attributes); in scmi_reset_domain_attributes_get()
129 SUPPORTS_EXTENDED_NAMES(attributes)) in scmi_reset_domain_attributes_get()
/kernel/linux/linux-5.10/drivers/firmware/efi/test/
H A Defi_test.h17 u32 *attributes; member
26 u32 attributes; member
40 u32 attributes; member
/kernel/linux/linux-6.6/drivers/firmware/efi/test/
H A Defi_test.h17 u32 *attributes; member
26 u32 attributes; member
40 u32 attributes; member
/kernel/linux/linux-5.10/sound/usb/
H A Dquirks-table.h63 .attributes = 0,
466 .attributes = 0,
483 .attributes = UAC_EP_CS_ATTR_FILL_MAX,
954 .attributes = 0,
971 .attributes = 0,
2059 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2085 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2130 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2156 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2200 .attributes
[all...]
/kernel/linux/linux-5.10/fs/hfsplus/
H A Dsuper.c292 vhdr->attributes |= cpu_to_be32(HFSPLUS_VOL_UNMNT); in hfsplus_put_super()
293 vhdr->attributes &= cpu_to_be32(~HFSPLUS_VOL_INCNSTNT); in hfsplus_put_super()
341 if (!(vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_UNMNT))) { in hfsplus_remount()
347 } else if (vhdr->attributes & in hfsplus_remount()
352 } else if (vhdr->attributes & in hfsplus_remount()
456 if (!(vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_UNMNT))) { in hfsplus_fill_super()
461 } else if (vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_SOFTLOCK)) { in hfsplus_fill_super()
464 } else if ((vhdr->attributes & cpu_to_be32(HFSPLUS_VOL_JOURNALED)) && in hfsplus_fill_super()
487 pr_err("failed to load attributes file\n"); in hfsplus_fill_super()
548 vhdr->attributes in hfsplus_fill_super()
[all...]

Completed in 18 milliseconds

12345678910>>...13