/Linux-v5.10/fs/efivarfs/ |
D | file.c | 20 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 90 data = kmalloc(datasize + sizeof(attributes), GFP_KERNEL); in efivarfs_file_read() [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_ipp.c | 71 const struct dc_cursor_attributes *attributes) in dce_ipp_cursor_set_attributes() argument 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()
|
/Linux-v5.10/drivers/firmware/efi/ |
D | vars.c | 302 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() 647 int efivar_entry_set(struct efivar_entry *entry, u32 attributes, in efivar_entry_set() argument 668 status = check_var_size(attributes, size + ucs2_strsize(name, 1024)); in efivar_entry_set() 671 attributes, size, data); in efivar_entry_set() 691 u32 attributes, unsigned long size, void *data) in efivar_entry_set_nonblocking() argument 704 status = check_var_size_nonblocking(attributes, in efivar_entry_set_nonblocking() 712 status = ops->set_variable_nonblocking(name, &vendor, attributes, in efivar_entry_set_nonblocking() [all …]
|
D | efivars.c | 157 unsigned long size, u32 attributes, u8 *data) in sanity_check() argument 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() 342 static EFIVAR_ATTR(attributes, 0400, efivar_attr_read, NULL); [all …]
|
/Linux-v5.10/drivers/staging/gasket/ |
D | gasket_sysfs.c | 26 struct gasket_sysfs_attribute *attributes; member 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[mapping->attribute_count] = attrs[i]; in gasket_sysfs_create_entries() 307 attrs = mapping->attributes; in gasket_sysfs_get_attr() 331 attrs = mapping->attributes; in gasket_sysfs_put_attr()
|
/Linux-v5.10/Documentation/driver-api/driver-model/ |
D | device.rst | 56 As explained in Documentation/core-api/kobject.rst, device attributes must be 70 names 'dev_attr_type' and 'dev_attr_power'. These two attributes can be 95 device attributes and the device_unregister() function will use this pointer 96 to remove the device attributes. 100 strict expectations on when attributes get created. When a new device is 102 udev) that a new device is available. If attributes are added after the 104 not know about the new attributes. 107 attributes for a device at driver probe time. If the device driver simply 109 userspace will never be notified of the new attributes.
|
/Linux-v5.10/Documentation/hwmon/ |
D | mp2975.rst | 50 The driver provides the next attributes for the current: 55 attributes. 57 The driver exports the following attributes via the 'sysfs' files, where 73 The driver provides the next attributes for the voltage: 80 The driver exports the following attributes via the 'sysfs' files, where 98 The driver provides the next attributes for the power: 103 The driver exports the following attributes via the 'sysfs' files, where 117 The driver provides the next attributes for the temperature (only from page 0):
|
D | hwmon-kernel-api.rst | 63 as well as all sysfs attributes attached to the hwmon device. 73 attributes in the hardware monitoring core, letting the driver focus on reading 74 from and writing to the chip instead of having to bother with sysfs attributes. 149 is optional, but must be provided if any readable attributes exist. 153 optional, but must be provided if any writeable attributes exist. 171 hwmon_chip A virtual sensor type, used to describe attributes 186 describing the attributes supposed by a single sensor. 250 HWMON_C_xxxx Chip attributes, for use with hwmon_chip. 251 HWMON_T_xxxx Temperature attributes, for use with hwmon_temp. 252 HWMON_I_xxxx Voltage attributes, for use with hwmon_in. [all …]
|
D | adm1266.rst | 29 The following attributes are supported. Limits are read-write, history reset 30 attributes are write-only, all other attributes are read-only.
|
D | xdpe12284.rst | 47 The driver exports the following attributes for via the sysfs files, where 64 The driver exports the following attributes for via the sysfs files, where 81 The driver exports the following attributes for via the sysfs files, where 92 The driver exports the following attributes for via the sysfs files:
|
/Linux-v5.10/Documentation/netlabel/ |
D | lsm_interface.rst | 12 NetLabel is a mechanism which can set and retrieve security attributes from 22 it uses the concept of security attributes to refer to the packet's security 23 labels. The NetLabel security attributes are defined by the 25 NetLabel subsystem converts the security attributes to and from the correct 28 security attributes into whatever security identifiers are in use for their 47 LSM has received a packet, used NetLabel to decode its security attributes, 48 and translated the security attributes into a LSM internal identifier the LSM
|
/Linux-v5.10/scripts/kconfig/ |
D | nconf.gui.c | 11 attributes_t attributes[ATTR_MAX+1] = {0}; variable 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() 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_FIELD]); in dialog_inputbox() 410 (void) wattrset(win, attributes[INPUT_BOX]); in dialog_inputbox() 412 (void) wattrset(win, attributes[INPUT_HEADING]); in dialog_inputbox() [all …]
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | evm | 5 EVM protects a file's security extended attributes(xattrs) 7 HMAC-sha1 value across the extended attributes, storing the 72 Shows the set of extended attributes used to calculate or 73 validate the EVM signature, and allows additional attributes 75 additional attributes are added (and on files possessing those 76 additional attributes) will only be valid if the same 77 additional attributes are configured on system boot. Writing
|
D | configfs-usb-gadget | 13 The attributes of a gadget: 44 The attributes of a configuration: 62 The attributes: 83 The attributes: 98 The attributes: 125 The attributes: 137 This group contains "OS String" extension handling attributes.
|
/Linux-v5.10/drivers/vme/ |
D | vme.c | 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() 989 attributes->type = VME_DMA_PATTERN; in vme_dma_pattern_attribute() 990 attributes->private = (void *)pattern_attr; in vme_dma_pattern_attribute() 995 return attributes; in vme_dma_pattern_attribute() 998 kfree(attributes); in vme_dma_pattern_attribute() 1016 struct vme_dma_attr *attributes; in vme_dma_pci_attribute() local 1021 attributes = kmalloc(sizeof(*attributes), GFP_KERNEL); in vme_dma_pci_attribute() 1022 if (!attributes) in vme_dma_pci_attribute() [all …]
|
/Linux-v5.10/fs/orangefs/ |
D | orangefs-utils.c | 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.atime; in orangefs_inode_getattr() 363 downcall.resp.getattr.attributes.mtime; in orangefs_inode_getattr() 365 downcall.resp.getattr.attributes.ctime; in orangefs_inode_getattr() [all …]
|
/Linux-v5.10/drivers/iio/common/hid-sensors/ |
D | Kconfig | 13 HID sensor common processing for attributes and IIO triggers. 14 There are many attributes which can be shared among multiple 16 attributes. 24 Triggers will be send if all requested attributes were read.
|
/Linux-v5.10/sound/usb/ |
D | quirks-table.h | 63 .attributes = 0, 422 .attributes = 0, 439 .attributes = UAC_EP_CS_ATTR_FILL_MAX, 910 .attributes = 0, 927 .attributes = 0, 2011 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, 2037 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, 2082 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, 2108 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, 2152 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, [all …]
|
/Linux-v5.10/Documentation/driver-api/iio/ |
D | core.rst | 54 index X, attributes can be found under /sys/bus/iio/iio:deviceX/ directory. 55 Common attributes are: 62 * Available standard attributes for IIO devices are described in the 91 Channel sysfs attributes exposed to userspace are specified in the form of 92 bitmasks. Depending on their shared info, attributes can be set in one of the 95 * **info_mask_separate**, attributes will be specific to 97 * **info_mask_shared_by_type**, attributes are shared by all channels of the 99 * **info_mask_shared_by_dir**, attributes are shared by all channels of the same 101 * **info_mask_shared_by_all**, attributes are shared by all channels 171 This will generate two separate attributes files for raw data retrieval:
|
/Linux-v5.10/Documentation/filesystems/ext4/ |
D | attributes.rst | 6 Extended attributes (xattrs) are typically stored in a separate data 8 The first use of extended attributes seems to have been for storing file 10 option it is possible for users to store extended attributes so long as 14 There are two places where extended attributes can be found. The first 19 where extended attributes can be found is in the block pointed to by 29 Extended attributes, when stored after the inode, have a header 72 - Hash value of all attributes. 114 Multiple attributes can share the same value. For an inode attribute 131 update the hash for in-inode attributes, so for that case this value 152 Logically speaking, extended attributes are a series of key=value pairs.
|
/Linux-v5.10/Documentation/admin-guide/mm/ |
D | numaperf.rst | 70 the system provides these attributes, the kernel exports them under the 71 node sysfs hierarchy by appending the attributes directory under the 76 These attributes apply only when accessed from nodes that have the 89 The bandwidth attributes are provided in MiB/second. 91 The latency attributes are provided in nanoseconds. 128 An application does not need to know about caching attributes in order 130 attributes in order to maximize the performance out of such a setup. 133 the kernel will append these attributes to the NUMA node memory target. 143 The attributes for each level of cache is provided under its cache 150 Each cache level's directory provides its attributes. For example, the [all …]
|
/Linux-v5.10/arch/x86/platform/efi/ |
D | quirks.c | 127 query_variable_store_nonblocking(u32 attributes, unsigned long size) in query_variable_store_nonblocking() argument 132 status = efi.query_variable_info_nonblocking(attributes, &storage_size, in query_variable_store_nonblocking() 151 efi_status_t efi_query_variable_store(u32 attributes, unsigned long size, in efi_query_variable_store() argument 157 if (!(attributes & EFI_VARIABLE_NON_VOLATILE)) in efi_query_variable_store() 161 return query_variable_store_nonblocking(attributes, size); in efi_query_variable_store() 163 status = efi.query_variable_info(attributes, &storage_size, in efi_query_variable_store() 208 status = efi.query_variable_info(attributes, &storage_size, in efi_query_variable_store()
|
/Linux-v5.10/Documentation/power/ |
D | power_supply_class.rst | 10 It defines core set of attributes, which should be applicable to (almost) 15 the attributes provided are believed to be universally applicable to any 19 Power supply class is extensible, and allows to define drivers own attributes. 34 Power supply class has predefined set of attributes, this eliminates code 36 predefined attributes *and* their units. 38 So, userspace gets predictable set of attributes and their units for any 44 for the example how to declare and handle attributes. 67 | attributes represents capacity in µAh only. | 69 | attributes represents capacity in µWh only. | 131 These attributes means "last remembered value of charge when battery [all …]
|
/Linux-v5.10/drivers/firmware/efi/test/ |
D | efi_test.h | 17 u32 *attributes; member 26 u32 attributes; member 40 u32 attributes; member
|
/Linux-v5.10/drivers/acpi/ |
D | pptt.c | 118 acpi_pptt_match_type(cache->attributes, type)) { in acpi_pptt_walk_cache() 371 switch (found_cache->attributes & ACPI_PPTT_MASK_WRITE_POLICY) { in update_cache_properties() 373 this_leaf->attributes = CACHE_WRITE_THROUGH; in update_cache_properties() 376 this_leaf->attributes = CACHE_WRITE_BACK; in update_cache_properties() 381 switch (found_cache->attributes & ACPI_PPTT_MASK_ALLOCATION_TYPE) { in update_cache_properties() 383 this_leaf->attributes |= CACHE_READ_ALLOCATE; in update_cache_properties() 386 this_leaf->attributes |= CACHE_WRITE_ALLOCATE; in update_cache_properties() 390 this_leaf->attributes |= in update_cache_properties()
|