| /Linux-v5.4/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() 70 u32 attributes; in efivarfs_file_read() local 91 data = kmalloc(datasize + sizeof(attributes), GFP_KERNEL); in efivarfs_file_read() [all …]
|
| /Linux-v5.4/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.4/drivers/firmware/efi/ |
| D | vars.c | 306 check_var_size(u32 attributes, unsigned long size) in check_var_size() argument 318 return fops->query_variable_store(attributes, size, false); in check_var_size() 322 check_var_size_nonblocking(u32 attributes, unsigned long size) in check_var_size_nonblocking() argument 334 return fops->query_variable_store(attributes, size, true); in check_var_size_nonblocking() 659 int efivar_entry_set(struct efivar_entry *entry, u32 attributes, in efivar_entry_set() argument 680 status = check_var_size(attributes, size + ucs2_strsize(name, 1024)); in efivar_entry_set() 683 attributes, size, data); in efivar_entry_set() 703 u32 attributes, unsigned long size, void *data) in efivar_entry_set_nonblocking() argument 716 status = check_var_size_nonblocking(attributes, in efivar_entry_set_nonblocking() 724 status = ops->set_variable_nonblocking(name, &vendor, attributes, in efivar_entry_set_nonblocking() [all …]
|
| D | efivars.c | 150 unsigned long size, u32 attributes, u8 *data) in sanity_check() argument 162 if ((size <= 0) || (attributes == 0)){ in sanity_check() 167 if ((attributes & ~EFI_VARIABLE_MASK) != 0 || in sanity_check() 198 u32 attributes; in efivar_store_raw() local 209 attributes = compat->Attributes; in efivar_store_raw() 215 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw() 226 attributes = new_var->Attributes; in efivar_store_raw() 232 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw() 239 err = efivar_entry_set(entry, attributes, size, data, NULL); in efivar_store_raw() 330 static EFIVAR_ATTR(attributes, 0400, efivar_attr_read, NULL); [all …]
|
| /Linux-v5.4/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() 249 mapping->attributes[mapping->attribute_count] = attrs[i]; in gasket_sysfs_create_entries() 308 attrs = mapping->attributes; in gasket_sysfs_get_attr() 332 attrs = mapping->attributes; in gasket_sysfs_put_attr()
|
| /Linux-v5.4/Documentation/driver-api/driver-model/ |
| D | device.rst | 56 As explained in Documentation/kobject.txt, 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.4/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
|
| D | introduction.rst | 13 security attributes to outgoing network packets generated from user space 14 applications and read security attributes from incoming network packets. It 22 network packet's security attributes. If any translation between the network 23 security attributes and those on the host are required then the protocol
|
| /Linux-v5.4/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.4/Documentation/hwmon/ |
| 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 …]
|
| /Linux-v5.4/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 65 Shows the set of extended attributes used to calculate or 66 validate the EVM signature, and allows additional attributes 68 additional attributes are added (and on files posessing those 69 additional attributes) will only be valid if the same 70 additional attributes are configured on system boot. Writing
|
| D | configfs-usb-gadget | 13 The attributes of a gadget: 38 The attributes of a configuration: 54 The attributes: 73 The attributes: 86 The attributes: 110 The attributes: 120 This group contains "OS String" extension handling attributes.
|
| /Linux-v5.4/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.4/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.4/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 …]
|
| D | upcall.h | 36 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
|
| /Linux-v5.4/drivers/staging/wusbcore/include/ |
| D | wusb.h | 96 __le16 attributes; member 134 u8 attributes; member 205 __le16 attributes; member 211 return le16_to_cpu(dn->attributes) & 0xff; in wusb_dn_connect_prev_dev_addr() 216 return (le16_to_cpu(dn->attributes) >> 8) & 0x1; in wusb_dn_connect_new_connection() 221 return (le16_to_cpu(dn->attributes) >> 9) & 0x03; in wusb_dn_connect_beacon_behavior()
|
| /Linux-v5.4/sound/usb/ |
| D | quirks-table.h | 53 .attributes = 0, 511 .attributes = 0, 528 .attributes = UAC_EP_CS_ATTR_FILL_MAX, 999 .attributes = 0, 1016 .attributes = 0, 2100 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, 2126 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, 2171 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, 2197 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, 2241 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, [all …]
|
| /Linux-v5.4/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.4/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.4/Documentation/admin-guide/mm/ |
| D | numaperf.rst | 65 the system provides these attributes, the kernel exports them under the 66 node sysfs hierarchy by appending the attributes directory under the 71 These attributes apply only when accessed from nodes that have the 84 The bandwidth attributes are provided in MiB/second. 86 The latency attributes are provided in nanoseconds. 120 An application does not need to know about caching attributes in order 122 attributes in order to maximize the performance out of such a setup. 125 the kernel will append these attributes to the NUMA node memory target. 135 The attributes for each level of cache is provided under its cache 142 Each cache level's directory provides its attributes. For example, the [all …]
|
| /Linux-v5.4/drivers/firmware/efi/test/ |
| D | efi_test.h | 17 u32 *attributes; member 26 u32 attributes; member 40 u32 attributes; member
|
| /Linux-v5.4/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.4/drivers/acpi/ |
| D | pptt.c | 118 acpi_pptt_match_type(cache->attributes, type)) { in acpi_pptt_walk_cache() 370 switch (found_cache->attributes & ACPI_PPTT_MASK_WRITE_POLICY) { in update_cache_properties() 372 this_leaf->attributes = CACHE_WRITE_THROUGH; in update_cache_properties() 375 this_leaf->attributes = CACHE_WRITE_BACK; in update_cache_properties() 380 switch (found_cache->attributes & ACPI_PPTT_MASK_ALLOCATION_TYPE) { in update_cache_properties() 382 this_leaf->attributes |= CACHE_READ_ALLOCATE; in update_cache_properties() 385 this_leaf->attributes |= CACHE_WRITE_ALLOCATE; in update_cache_properties() 389 this_leaf->attributes |= in update_cache_properties()
|
| /Linux-v5.4/drivers/firmware/arm_scmi/ |
| D | reset.c | 24 __le32 attributes; member 96 u32 attributes = le32_to_cpu(attr->attributes); in scmi_reset_domain_attributes_get() local 98 dom_info->async_reset = SUPPORTS_ASYNC_RESET(attributes); in scmi_reset_domain_attributes_get() 99 dom_info->reset_notify = SUPPORTS_NOTIFY_RESET(attributes); in scmi_reset_domain_attributes_get()
|