| /linux/fs/efivarfs/ |
| A 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() 53 i_size_write(inode, datasize + sizeof(attributes)); in efivarfs_file_write() 71 u32 attributes; in efivarfs_file_read() local 95 size = efivar_entry_get(var, &attributes, &datasize, in efivarfs_file_read() 96 data + sizeof(attributes)); in efivarfs_file_read() 100 memcpy(data, &attributes, sizeof(attributes)); in efivarfs_file_read() [all …]
|
| /linux/Documentation/ABI/testing/ |
| A D | sysfs-class-firmware-attributes | 1 What: /sys/class/firmware-attributes/*/attributes/*/ 106 Enumeration attributes also support the following: 112 dependent attributes value. 129 What: /sys/class/firmware-attributes/*/authentication/ 140 reset or cleared using these attributes. 219 What: /sys/class/firmware-attributes/*/attributes/pending_reboot 231 0 All BIOS attributes setting are current 248 What: /sys/class/firmware-attributes/*/attributes/reset_bios 269 # echo "factory" > /sys/class/firmware-attributes/*/device/attributes/reset_bios 270 # cat /sys/class/firmware-attributes/*/device/attributes/reset_bios [all …]
|
| A 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.
|
| A D | evm | 6 EVM protects a file's security extended attributes(xattrs) 8 HMAC-sha1 value across the extended attributes, storing the 101 Shows the set of extended attributes used to calculate or 102 validate the EVM signature, and allows additional attributes 104 additional attributes are added (and on files possessing those 105 additional attributes) will only be valid if the same 106 additional attributes are configured on system boot. Writing
|
| /linux/drivers/firmware/efi/ |
| A 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() 651 int efivar_entry_set(struct efivar_entry *entry, u32 attributes, in efivar_entry_set() argument 675 attributes, size, data); in efivar_entry_set() 695 u32 attributes, unsigned long size, void *data) in efivar_entry_set_nonblocking() argument 708 status = check_var_size_nonblocking(attributes, in efivar_entry_set_nonblocking() 764 return efivar_entry_set_nonblocking(name, vendor, attributes, in efivar_entry_set_safe() 893 attributes, size, data); in __efivar_entry_get() [all …]
|
| A 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() 236 attributes = new_var->Attributes; in efivar_store_raw() 372 u32 attributes; in efivar_create() local 383 attributes = compat->Attributes; in efivar_create() 391 attributes = new_var->Attributes; in efivar_create() 397 if ((attributes & ~EFI_VARIABLE_MASK) != 0 || in efivar_create() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| A 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/Documentation/hwmon/ |
| A D | mp2888.rst | 39 The driver provides the next attributes for the current: 44 The driver exports the following attributes via the 'sysfs' files, where: 58 The driver provides the next attributes for the voltage: 64 The driver exports the following attributes via the 'sysfs' files, where 84 The driver provides the next attributes for the power: 89 The driver exports the following attributes via the 'sysfs' files, where 107 The driver provides the next attributes for the temperature:
|
| A D | hwmon-kernel-api.rst | 63 as well as all sysfs attributes attached to the hwmon device. 186 describing the attributes supposed by a single sensor. 250 HWMON_C_xxxx Chip attributes, for use with hwmon_chip. 252 HWMON_I_xxxx Voltage attributes, for use with hwmon_in. 253 HWMON_C_xxxx Current attributes, for use with hwmon_curr. 254 Notice the prefix overlap with chip attributes. 255 HWMON_P_xxxx Power attributes, for use with hwmon_power. 256 HWMON_E_xxxx Energy attributes, for use with hwmon_energy. 258 HWMON_F_xxxx Fan speed attributes, for use with hwmon_fan. 335 Driver-provided sysfs attributes [all …]
|
| A 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):
|
| A 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.
|
| /linux/drivers/platform/x86/dell/dell-wmi-sysman/ |
| A D | Makefile | 3 enum-attributes.o \ 4 int-attributes.o \ 5 string-attributes.o \ 6 passobj-attributes.o \
|
| /linux/Documentation/driver-api/driver-model/ |
| A D | device.rst | 56 As explained in Documentation/core-api/kobject.rst, device attributes must be 76 names 'dev_attr_type' and 'dev_attr_power'. These two attributes can be 106 device attributes and the device_unregister() function will use this pointer 107 to remove the device attributes. 111 strict expectations on when attributes get created. When a new device is 113 udev) that a new device is available. If attributes are added after the 115 not know about the new attributes. 118 attributes for a device at driver probe time. If the device driver simply 120 userspace will never be notified of the new attributes.
|
| /linux/drivers/vme/ |
| A D | vme.c | 972 attributes = kmalloc(sizeof(*attributes), GFP_KERNEL); in vme_dma_pattern_attribute() 973 if (!attributes) in vme_dma_pattern_attribute() 986 return attributes; in vme_dma_pattern_attribute() 989 kfree(attributes); in vme_dma_pattern_attribute() 1012 attributes = kmalloc(sizeof(*attributes), GFP_KERNEL); in vme_dma_pci_attribute() 1013 if (!attributes) in vme_dma_pci_attribute() 1025 return attributes; in vme_dma_pci_attribute() 1028 kfree(attributes); in vme_dma_pci_attribute() 1053 attributes = kmalloc(sizeof(*attributes), GFP_KERNEL); in vme_dma_vme_attribute() 1054 if (!attributes) in vme_dma_vme_attribute() [all …]
|
| /linux/Documentation/netlabel/ |
| A 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/fs/orangefs/ |
| A D | orangefs-utils.c | 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() 406 &new_op->downcall.resp.getattr.attributes, in orangefs_inode_check_changed() [all …]
|
| /linux/drivers/iio/common/hid-sensors/ |
| A 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. 25 Triggers will be send if all requested attributes were read.
|
| /linux/Documentation/filesystems/ext4/ |
| A 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/Documentation/driver-api/iio/ |
| A 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/sound/usb/ |
| A D | quirks-table.h | 63 .attributes = 0, 464 .attributes = 0, 952 .attributes = 0, 969 .attributes = 0, 2673 .attributes = 0, 2853 .attributes = 0x4, 3115 .attributes = 0, 3133 .attributes = 0, 3360 .attributes = 0, 3383 .attributes = 0, [all …]
|
| /linux/Documentation/admin-guide/mm/ |
| A 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/Documentation/power/ |
| A 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/arch/x86/platform/efi/ |
| A 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/drivers/acpi/ |
| A D | pptt.c | 118 acpi_pptt_match_type(cache->attributes, type)) { in acpi_pptt_walk_cache() 375 switch (found_cache->attributes & ACPI_PPTT_MASK_WRITE_POLICY) { in update_cache_properties() 377 this_leaf->attributes = CACHE_WRITE_THROUGH; in update_cache_properties() 380 this_leaf->attributes = CACHE_WRITE_BACK; in update_cache_properties() 385 switch (found_cache->attributes & ACPI_PPTT_MASK_ALLOCATION_TYPE) { in update_cache_properties() 387 this_leaf->attributes |= CACHE_READ_ALLOCATE; in update_cache_properties() 390 this_leaf->attributes |= CACHE_WRITE_ALLOCATE; in update_cache_properties() 394 this_leaf->attributes |= in update_cache_properties() 417 this_leaf->attributes |= CACHE_ID; in update_cache_properties()
|
| /linux/arch/x86/kvm/vmx/ |
| A D | sgx.c | 146 u64 attributes, xfrm, size; in __handle_encls_ecreate() local 159 attributes = contents->attributes; in __handle_encls_ecreate() 165 (attributes & SGX_ATTR_PROVISIONKEY)) { in __handle_encls_ecreate() 174 (u32)attributes & ~sgx_12_1->eax || in __handle_encls_ecreate() 175 (u32)(attributes >> 32) & ~sgx_12_1->ebx || in __handle_encls_ecreate() 183 max_size_log2 = (attributes & SGX_ATTR_MODE64BIT) ? sgx_12_0->edx >> 8 : in __handle_encls_ecreate()
|