/Linux-v4.19/fs/efivarfs/ |
D | file.c | 23 u32 attributes; in efivarfs_file_write() local 25 unsigned long datasize = count - sizeof(attributes); in efivarfs_file_write() 29 if (count < sizeof(attributes)) in efivarfs_file_write() 32 if (copy_from_user(&attributes, userbuf, sizeof(attributes))) in efivarfs_file_write() 35 if (attributes & ~(EFI_VARIABLE_MASK)) in efivarfs_file_write() 38 data = memdup_user(userbuf + sizeof(attributes), datasize); in efivarfs_file_write() 42 bytes = efivar_entry_set_get_size(var, attributes, &datasize, in efivarfs_file_write() 56 i_size_write(inode, datasize + sizeof(attributes)); in efivarfs_file_write() 73 u32 attributes; in efivarfs_file_read() local 94 data = kmalloc(datasize + sizeof(attributes), GFP_KERNEL); in efivarfs_file_read() [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/i2caux/ |
D | i2c_generic_hw_engine.c | 101 struct i2c_generic_transaction_attributes attributes; in dal_i2c_generic_hw_engine_submit_request() local 117 attributes.action = I2CAUX_TRANSACTION_ACTION_I2C_READ; in dal_i2c_generic_hw_engine_submit_request() 119 attributes.action = I2CAUX_TRANSACTION_ACTION_I2C_WRITE; in dal_i2c_generic_hw_engine_submit_request() 190 attributes.start_bit = first_iteration; in dal_i2c_generic_hw_engine_submit_request() 191 attributes.stop_bit = stop_bit; in dal_i2c_generic_hw_engine_submit_request() 192 attributes.last_read = last_iteration; in dal_i2c_generic_hw_engine_submit_request() 193 attributes.transaction_size = current_transaction_size; in dal_i2c_generic_hw_engine_submit_request() 195 hw_engine->funcs->execute_transaction(hw_engine, &attributes); in dal_i2c_generic_hw_engine_submit_request()
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_ipp.c | 69 const struct dc_cursor_attributes *attributes) in dce_ipp_cursor_set_attributes() argument 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()
|
/Linux-v4.19/drivers/firmware/efi/ |
D | vars.c | 319 check_var_size(u32 attributes, unsigned long size) in check_var_size() argument 326 return fops->query_variable_store(attributes, size, false); in check_var_size() 330 check_var_size_nonblocking(u32 attributes, unsigned long size) in check_var_size_nonblocking() argument 337 return fops->query_variable_store(attributes, size, true); in check_var_size_nonblocking() 650 int efivar_entry_set(struct efivar_entry *entry, u32 attributes, in efivar_entry_set() argument 665 status = check_var_size(attributes, size + ucs2_strsize(name, 1024)); in efivar_entry_set() 668 attributes, size, data); in efivar_entry_set() 688 u32 attributes, unsigned long size, void *data) in efivar_entry_set_nonblocking() argument 696 status = check_var_size_nonblocking(attributes, in efivar_entry_set_nonblocking() 703 status = ops->set_variable_nonblocking(name, &vendor, attributes, in efivar_entry_set_nonblocking() [all …]
|
D | efivars.c | 206 unsigned long size, u32 attributes, u8 *data) in sanity_check() argument 218 if ((size <= 0) || (attributes == 0)){ in sanity_check() 223 if ((attributes & ~EFI_VARIABLE_MASK) != 0 || in sanity_check() 262 u32 attributes; in efivar_store_raw() local 273 attributes = compat->Attributes; in efivar_store_raw() 279 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw() 290 attributes = new_var->Attributes; in efivar_store_raw() 296 err = sanity_check(var, name, vendor, size, attributes, data); in efivar_store_raw() 303 err = efivar_entry_set(entry, attributes, size, data, NULL); in efivar_store_raw() 394 static EFIVAR_ATTR(attributes, 0400, efivar_attr_read, NULL); [all …]
|
/Linux-v4.19/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() 251 mapping->attributes[mapping->attribute_count] = attrs[i]; in gasket_sysfs_create_entries() 311 attrs = mapping->attributes; in gasket_sysfs_get_attr() 335 attrs = mapping->attributes; in gasket_sysfs_put_attr()
|
/Linux-v4.19/Documentation/driver-model/ |
D | device.txt | 53 As explained in Documentation/kobject.txt, device attributes must be 67 names 'dev_attr_type' and 'dev_attr_power'. These two attributes can be 92 device attributes and the device_unregister() function will use this pointer 93 to remove the device attributes. 97 strict expectations on when attributes get created. When a new device is 99 udev) that a new device is available. If attributes are added after the 101 not know about the new attributes. 104 attributes for a device at driver probe time. If the device driver simply 106 userspace will never be notified of the new attributes.
|
/Linux-v4.19/Documentation/hwmon/ |
D | hwmon-kernel-api.txt | 62 as well as all sysfs attributes attached to the hwmon device. 72 attributes in the hardware monitoring core, letting the driver focus on reading 73 from and writing to the chip instead of having to bother with sysfs attributes. 144 is optional, but must be provided if any readable attributes exist. 147 optional, but must be provided if any writeable attributes exist. 161 * hwmon_chip A virtual sensor type, used to describe attributes 174 describing the attributes supposed by a single sensor. 224 HWMON_C_xxxx Chip attributes, for use with hwmon_chip. 225 HWMON_T_xxxx Temperature attributes, for use with hwmon_temp. 226 HWMON_I_xxxx Voltage attributes, for use with hwmon_in. [all …]
|
/Linux-v4.19/Documentation/netlabel/ |
D | lsm_interface.txt | 9 NetLabel is a mechanism which can set and retrieve security attributes from 18 it uses the concept of security attributes to refer to the packet's security 19 labels. The NetLabel security attributes are defined by the 21 NetLabel subsystem converts the security attributes to and from the correct 24 security attributes into whatever security identifiers are in use for their 41 LSM has received a packet, used NetLabel to decode its security attributes, 42 and translated the security attributes into a LSM internal identifier the LSM
|
D | introduction.txt | 10 security attributes to outgoing network packets generated from user space 11 applications and read security attributes from incoming network packets. It 18 network packet's security attributes. If any translation between the network 19 security attributes and those on the host are required then the protocol
|
/Linux-v4.19/scripts/kconfig/ |
D | nconf.gui.c | 12 attributes_t attributes[ATTR_MAX+1] = {0}; variable 73 attributes[name] = attr | COLOR_PAIR(name); } while (0) in normal_color_theme() 104 #define mkattrn(name, attr) { attributes[name] = attr; } in no_colors_theme() 298 set_menu_fore(menu, attributes[DIALOG_MENU_FORE]); in btn_dialog() 299 set_menu_back(menu, attributes[DIALOG_MENU_BACK]); in btn_dialog() 301 (void) wattrset(win, attributes[DIALOG_BOX]); in btn_dialog() 305 (void) wattrset(msg_win, attributes[DIALOG_TEXT]); in btn_dialog() 409 (void) wattrset(form_win, attributes[INPUT_FIELD]); in dialog_inputbox() 411 (void) wattrset(win, attributes[INPUT_BOX]); in dialog_inputbox() 413 (void) wattrset(win, attributes[INPUT_HEADING]); in dialog_inputbox() [all …]
|
/Linux-v4.19/drivers/iio/common/hid-sensors/ |
D | Kconfig | 12 HID sensor common processing for attributes and IIO triggers. 13 There are many attributes which can be shared among multiple 15 attributes. 23 Triggers will be send if all requested attributes were read.
|
/Linux-v4.19/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-v4.19/drivers/vme/ |
D | vme.c | 982 struct vme_dma_attr *attributes; in vme_dma_pattern_attribute() local 985 attributes = kmalloc(sizeof(*attributes), GFP_KERNEL); in vme_dma_pattern_attribute() 986 if (!attributes) in vme_dma_pattern_attribute() 993 attributes->type = VME_DMA_PATTERN; in vme_dma_pattern_attribute() 994 attributes->private = (void *)pattern_attr; in vme_dma_pattern_attribute() 999 return attributes; in vme_dma_pattern_attribute() 1002 kfree(attributes); in vme_dma_pattern_attribute() 1020 struct vme_dma_attr *attributes; in vme_dma_pci_attribute() local 1025 attributes = kmalloc(sizeof(*attributes), GFP_KERNEL); in vme_dma_pci_attribute() 1026 if (!attributes) in vme_dma_pci_attribute() [all …]
|
/Linux-v4.19/fs/orangefs/ |
D | orangefs-utils.c | 318 &new_op->downcall.resp.getattr.attributes, in orangefs_inode_getattr() 327 downcall.resp.getattr.attributes.objtype); in orangefs_inode_getattr() 331 downcall.resp.getattr.attributes); in orangefs_inode_getattr() 334 downcall.resp.getattr.attributes.size; in orangefs_inode_getattr() 337 attributes.blksize); in orangefs_inode_getattr() 377 downcall.resp.getattr.attributes.owner); in orangefs_inode_getattr() 379 downcall.resp.getattr.attributes.group); in orangefs_inode_getattr() 381 downcall.resp.getattr.attributes.atime; in orangefs_inode_getattr() 383 downcall.resp.getattr.attributes.mtime; in orangefs_inode_getattr() 385 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-v4.19/include/linux/usb/ |
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-v4.19/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-v4.19/Documentation/filesystems/ext4/ondisk/ |
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-v4.19/drivers/acpi/ |
D | pptt.c | 118 acpi_pptt_match_type(cache->attributes, type)) { in acpi_pptt_walk_cache() 380 switch (found_cache->attributes & ACPI_PPTT_MASK_WRITE_POLICY) { in update_cache_properties() 382 this_leaf->attributes = CACHE_WRITE_THROUGH; in update_cache_properties() 385 this_leaf->attributes = CACHE_WRITE_BACK; in update_cache_properties() 390 switch (found_cache->attributes & ACPI_PPTT_MASK_ALLOCATION_TYPE) { in update_cache_properties() 392 this_leaf->attributes |= CACHE_READ_ALLOCATE; in update_cache_properties() 395 this_leaf->attributes |= CACHE_WRITE_ALLOCATE; in update_cache_properties() 399 this_leaf->attributes |= in update_cache_properties()
|
/Linux-v4.19/drivers/firmware/efi/test/ |
D | efi_test.h | 17 u32 *attributes; member 26 u32 attributes; member 40 u32 attributes; member
|
/Linux-v4.19/arch/x86/platform/efi/ |
D | quirks.c | 125 query_variable_store_nonblocking(u32 attributes, unsigned long size) in query_variable_store_nonblocking() argument 130 status = efi.query_variable_info_nonblocking(attributes, &storage_size, in query_variable_store_nonblocking() 149 efi_status_t efi_query_variable_store(u32 attributes, unsigned long size, in efi_query_variable_store() argument 155 if (!(attributes & EFI_VARIABLE_NON_VOLATILE)) in efi_query_variable_store() 159 return query_variable_store_nonblocking(attributes, size); in efi_query_variable_store() 161 status = efi.query_variable_info(attributes, &storage_size, in efi_query_variable_store() 206 status = efi.query_variable_info(attributes, &storage_size, in efi_query_variable_store()
|
/Linux-v4.19/Documentation/power/ |
D | power_supply_class.txt | 9 It defines core set of attributes, which should be applicable to (almost) 14 the attributes provided are believed to be universally applicable to any 18 Power supply class is extensible, and allows to define drivers own attributes. 33 Power supply class has predefined set of attributes, this eliminates code 35 predefined attributes *and* their units. 37 So, userspace gets predictable set of attributes and their units for any 43 for the example how to declare and handle attributes. 64 ~ CHARGE_* attributes represents capacity in µAh only. ~ 65 ~ ENERGY_* attributes represents capacity in µWh only. ~ 113 CHARGE_FULL, CHARGE_EMPTY - These attributes means "last remembered value [all …]
|
/Linux-v4.19/sound/usb/ |
D | quirks-table.h | 67 .attributes = 0, 525 .attributes = 0, 542 .attributes = UAC_EP_CS_ATTR_FILL_MAX, 1013 .attributes = 0, 1030 .attributes = 0, 2114 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, 2140 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, 2185 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, 2211 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, 2255 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE, [all …]
|