Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 584) sorted by relevance

12345678910>>...24

/Linux-v5.15/fs/efivarfs/
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
90 data = kmalloc(datasize + sizeof(attributes), GFP_KERNEL); in efivarfs_file_read()
[all …]
/Linux-v5.15/drivers/platform/x86/dell/dell-wmi-sysman/
DMakefile3 enum-attributes.o \
4 int-attributes.o \
5 string-attributes.o \
6 passobj-attributes.o \
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-class-firmware-attributes1 What: /sys/class/firmware-attributes/*/attributes/*/
12 Unless otherwise specified in an attribute description all attributes are optional
83 On Dell systems the following additional attributes are available:
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.
179 setting attributes when a system or admin password is set
200 On Dell and Lenovo systems, if Admin password is set, then all BIOS attributes
219 What: /sys/class/firmware-attributes/*/attributes/pending_reboot
[all …]
Dconfigfs-usb-gadget13 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.
Devm5 EVM protects a file's security extended attributes(xattrs)
7 HMAC-sha1 value across the extended attributes, storing the
100 Shows the set of extended attributes used to calculate or
101 validate the EVM signature, and allows additional attributes
103 additional attributes are added (and on files possessing those
104 additional attributes) will only be valid if the same
105 additional attributes are configured on system boot. Writing
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce/
Ddce_ipp.c71 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.15/drivers/firmware/efi/
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()
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, unsigned long size, void *data) in efivar_entry_set_nonblocking() argument
708 status = check_var_size_nonblocking(attributes, in efivar_entry_set_nonblocking()
716 status = ops->set_variable_nonblocking(name, &vendor, attributes, in efivar_entry_set_nonblocking()
[all …]
Defivars.c157 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.15/Documentation/hwmon/
Dmp2888.rst39 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:
Dmp2975.rst50 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):
Dhwmon-kernel-api.rst63 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 …]
Dadm1266.rst29 The following attributes are supported. Limits are read-write, history reset
30 attributes are write-only, all other attributes are read-only.
/Linux-v5.15/Documentation/driver-api/driver-model/
Ddevice.rst56 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-v5.15/Documentation/netlabel/
Dlsm_interface.rst12 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.15/drivers/vme/
Dvme.c969 struct vme_dma_attr *attributes; in vme_dma_pattern_attribute() local
972 attributes = kmalloc(sizeof(*attributes), GFP_KERNEL); in vme_dma_pattern_attribute()
973 if (!attributes) in vme_dma_pattern_attribute()
980 attributes->type = VME_DMA_PATTERN; in vme_dma_pattern_attribute()
981 attributes->private = (void *)pattern_attr; in vme_dma_pattern_attribute()
986 return attributes; in vme_dma_pattern_attribute()
989 kfree(attributes); in vme_dma_pattern_attribute()
1007 struct vme_dma_attr *attributes; in vme_dma_pci_attribute() local
1012 attributes = kmalloc(sizeof(*attributes), GFP_KERNEL); in vme_dma_pci_attribute()
1013 if (!attributes) in vme_dma_pci_attribute()
[all …]
/Linux-v5.15/fs/orangefs/
Dorangefs-utils.c302 &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.15/drivers/iio/common/hid-sensors/
DKconfig13 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-v5.15/Documentation/driver-api/iio/
Dcore.rst54 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.15/Documentation/filesystems/ext4/
Dattributes.rst6 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.15/drivers/acpi/
Dpptt.c118 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-v5.15/sound/usb/
Dquirks-table.h63 .attributes = 0,
464 .attributes = 0,
481 .attributes = UAC_EP_CS_ATTR_FILL_MAX,
952 .attributes = 0,
969 .attributes = 0,
2074 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2100 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2145 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2171 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
2215 .attributes = UAC_EP_CS_ATTR_SAMPLE_RATE,
[all …]
/Linux-v5.15/Documentation/admin-guide/mm/
Dnumaperf.rst70 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.15/arch/x86/platform/efi/
Dquirks.c127 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.15/Documentation/power/
Dpower_supply_class.rst10 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.15/drivers/firmware/efi/test/
Defi_test.h17 u32 *attributes; member
26 u32 attributes; member
40 u32 attributes; member

12345678910>>...24