Home
last modified time | relevance | path

Searched full:convert (Results 1 – 25 of 2528) sorted by relevance

12345678910>>...102

/Linux-v5.15/arch/arm/mach-omap2/
Dpmic-cpcap.c21 * omap_cpcap_vsel_to_vdc - convert CPCAP VSEL value to microvolts DC
22 * @vsel: CPCAP VSEL value to convert
35 * omap_cpcap_uv_to_vsel - convert microvolts DC to CPCAP VSEL value
36 * @uv: microvolts DC to convert
85 * omap_max8952_vsel_to_vdc - convert MAX8952 VSEL value to microvolts DC
86 * @vsel: MAX8952 VSEL value to convert
99 * omap_max8952_uv_to_vsel - convert microvolts DC to MAX8952 VSEL value
100 * @uv: microvolts DC to convert
132 * omap_fan5355_vsel_to_vdc - convert FAN535503 VSEL value to microvolts DC
133 * @vsel: FAN535503 VSEL value to convert
[all …]
/Linux-v5.15/tools/perf/Documentation/
Dperf-data.txt19 convert::
21 It's possible to set data-convert debug variable to get debug messages from conversion,
23 perf --debug data-convert data convert ...
25 OPTIONS for 'convert'
34 Convert time to wall clock time.
48 Convert all events, including non-sample events (comm, fork, ...), to output.
49 Default is off, only convert samples.
/Linux-v5.15/fs/ntfs/
Dtime.h19 * utc2ntfs - convert Linux UTC time to NTFS time
20 * @ts: Linux UTC time to convert to NTFS time
22 * Convert the Linux UTC time @ts to its corresponding NTFS time and return
37 * Convert the seconds to 100ns intervals, add the nano-seconds in utc2ntfs()
47 * Get the current time from the Linux kernel, convert it to its corresponding
59 * ntfs2utc - convert NTFS time to Linux time
60 * @time: NTFS time (little endian) to convert to Linux UTC
62 * Convert the little endian NTFS time @time to its corresponding Linux UTC
81 * Convert the time to 1-second intervals and the remainder to in ntfs2utc()
/Linux-v5.15/security/selinux/ss/
Dsidtab.c44 s->convert = NULL; in sidtab_init()
269 struct sidtab_convert_params *convert; in sidtab_context_to_sid() local
295 convert = s->convert; in sidtab_context_to_sid()
316 * if we are building a new sidtab, we need to convert the context in sidtab_context_to_sid()
319 if (convert) { in sidtab_context_to_sid()
321 dst_convert = sidtab_do_lookup(convert->target, count, 1); in sidtab_context_to_sid()
327 rc = convert->func(context, &dst_convert->context, in sidtab_context_to_sid()
328 convert->args); in sidtab_context_to_sid()
335 convert->target->count = count + 1; in sidtab_context_to_sid()
337 hash_add_rcu(convert->target->context_to_sid, in sidtab_context_to_sid()
[all …]
/Linux-v5.15/fs/xfs/libxfs/
Dxfs_dir2.h27 * Convert inode mode to directory entry filetype
104 * Convert dataptr to byte in file space
113 * Convert byte in file space to dataptr. It had better be aligned.
122 * Convert byte in space to (DB) block
131 * Convert dataptr to a block number
140 * Convert byte in space to offset in a block
149 * Convert dataptr to a byte offset in a block
158 * Convert block and offset to byte in space
168 * Convert block (DB) to block (dablk)
177 * Convert byte in space to (DA) block
[all …]
/Linux-v5.15/fs/ocfs2/dlm/
Ddlmconvert.c120 mlog(ML_ERROR, "attempted to convert a lock with a lock " in __dlmconvert_master()
126 /* must be on grant queue to convert */ in __dlmconvert_master()
128 mlog(ML_ERROR, "attempted to convert a lock not on grant " in __dlmconvert_master()
137 /* EX + LKM_VALBLK + convert == set lvb */ in __dlmconvert_master()
193 mlog(0, "doing in-place convert for nonlocal lock\n"); in __dlmconvert_master()
210 mlog(0, "failed to convert NOQUEUE lock %.*s from " in __dlmconvert_master()
281 mlog(0, "last convert request returned DLM_RECOVERING, but " in dlmconvert_remote()
293 /* move lock to local convert queue */ in dlmconvert_remote()
323 * DLM_RECOVERING and retry convert */ in dlmconvert_remote()
330 "to granted list, retry convert.\n", in dlmconvert_remote()
[all …]
Ddlmlock.c548 int convert = 0, recovery = 0; in dlmlock() local
552 * lock and convert paths, especially in the retry blocks */ in dlmlock()
569 convert = (flags & LKM_CONVERT); in dlmlock()
573 (!dlm_is_recovery_lock(name, namelen) || convert) ) { in dlmlock()
577 if (convert && (flags & LKM_LOCAL)) { in dlmlock()
578 mlog(ML_ERROR, "strange LOCAL convert request!\n"); in dlmlock()
582 if (convert) { in dlmlock()
583 /* CONVERT request */ in dlmlock()
588 mlog(ML_ERROR, "NULL lock pointer in convert " in dlmlock()
595 mlog(ML_ERROR, "NULL lockres pointer in convert " in dlmlock()
[all …]
/Linux-v5.15/tools/perf/tests/
Dbitmap.c45 TEST_ASSERT_VAL("failed to convert map", test_bitmap("1")); in test__bitmap_print()
46 TEST_ASSERT_VAL("failed to convert map", test_bitmap("1,5")); in test__bitmap_print()
47 TEST_ASSERT_VAL("failed to convert map", test_bitmap("1,3,5,7,9,11,13,15,17,19,21-40")); in test__bitmap_print()
48 TEST_ASSERT_VAL("failed to convert map", test_bitmap("2-5")); in test__bitmap_print()
49 TEST_ASSERT_VAL("failed to convert map", test_bitmap("1,3-6,8-10,24,35-37")); in test__bitmap_print()
50 TEST_ASSERT_VAL("failed to convert map", test_bitmap("1,3-6,8-10,24,35-37")); in test__bitmap_print()
51 TEST_ASSERT_VAL("failed to convert map", test_bitmap("1-10,12-20,22-30,32-40")); in test__bitmap_print()
Dcpumap.c116 TEST_ASSERT_VAL("failed to convert map", cpu_map_print("1")); in test__cpu_map_print()
117 TEST_ASSERT_VAL("failed to convert map", cpu_map_print("1,5")); in test__cpu_map_print()
118 TEST_ASSERT_VAL("failed to convert map", cpu_map_print("1,3,5,7,9,11,13,15,17,19,21-40")); in test__cpu_map_print()
119 TEST_ASSERT_VAL("failed to convert map", cpu_map_print("2-5")); in test__cpu_map_print()
120 TEST_ASSERT_VAL("failed to convert map", cpu_map_print("1,3-6,8-10,24,35-37")); in test__cpu_map_print()
121 TEST_ASSERT_VAL("failed to convert map", cpu_map_print("1,3-6,8-10,24,35-37")); in test__cpu_map_print()
122 TEST_ASSERT_VAL("failed to convert map", cpu_map_print("1-10,12-20,22-30,32-40")); in test__cpu_map_print()
/Linux-v5.15/tools/perf/
Dbuiltin-data.c9 #include "data-convert.h"
24 static const char * const data_subcommands[] = { "convert", NULL };
27 "perf data convert [<options>]",
41 OPT_STRING(0, "to-json", &to_json, NULL, "Convert to JSON format"),
43 OPT_STRING(0, "to-ctf", &to_ctf, NULL, "Convert to CTF format"),
44 OPT_BOOLEAN(0, "tod", &opts.tod, "Convert time to wall clock time"),
47 OPT_BOOLEAN(0, "all", &opts.all, "Convert all events"),
88 { "convert", "converts data file between formats", cmd_data_convert },
/Linux-v5.15/drivers/net/ethernet/huawei/hinic/
Dhinic_common.c14 * hinic_cpu_to_be32 - convert data to big endian 32 bit format
15 * @data: the data to convert
16 * @len: length of data to convert
32 * hinic_be32_to_cpu - convert data from big endian 32 bit format
33 * @data: the data to convert
34 * @len: length of data to convert
/Linux-v5.15/Documentation/devicetree/bindings/sound/
Daudio-graph-port.yaml21 convert-rate:
22 description: CPU to Codec rate convert.
24 convert-channels:
62 convert-rate:
63 description: CPU to Codec rate convert.
65 convert-channels:
Dsimple-card.yaml63 convert-rate:
64 description: CPU to Codec rate convert.
67 convert-channels:
185 "^simple-audio-card,convert-rate$":
186 $ref: "#/definitions/convert-rate"
187 "^simple-audio-card,convert-channels$":
188 $ref: "#/definitions/convert-channels"
222 convert-rate:
223 $ref: "#/definitions/convert-rate"
224 convert-channels:
[all …]
Daudio-graph.yaml29 convert-rate:
30 description: CPU to Codec rate convert.
32 convert-channels:
/Linux-v5.15/drivers/media/usb/pvrusb2/
Dpvrusb2-ctrl.h69 /* Convert a given mask/val to a custom symbolic value */
75 /* Convert a symbolic value to a mask/value pair */
80 /* Convert a given mask/val to a symbolic value */
86 /* Convert a symbolic value to a mask/value pair */
91 /* Convert a given mask/val to a symbolic value - must already be
/Linux-v5.15/fs/jfs/
Djfs_dmap.h62 * convert disk block number to the logical block number of the dmap
76 * convert disk block number to the logical block number of the LEVEL 0
91 * convert disk block number to the logical block number of the LEVEL 1
106 * convert disk block number to the logical block number of the dmapctl
113 * convert aggregate map size to the zero origin dmapctl level of the
119 /* convert disk block number to allocation group number.
123 /* convert allocation group number to starting disk block
259 /* convert number of blocks to log2 number of blocks, rounding up to
264 /* convert number of leafs to log2 leaf value */
267 /* convert leaf index to log2 leaf value */
[all …]
/Linux-v5.15/fs/adfs/
Dinode.c85 * Convert ADFS attributes and filetype to Linux permission.
128 * Convert Linux permission to ADFS attribute. We try to do the reverse
166 * Convert an ADFS time to Unix time. ADFS has a 40-bit centi-second time
168 * of time to convert from RISC OS epoch to Unix epoch.
185 /* convert 40-bit centi-seconds to 32-bit seconds in adfs_adfs2unix_time()
194 /* convert from RISC OS to Unix epoch */ in adfs_adfs2unix_time()
209 /* Convert an Unix time to ADFS time for an entry that is already stamped. */
215 /* convert from Unix to RISC OS epoch */ in adfs_unix2adfs_time()
218 /* convert from nanoseconds to centiseconds */ in adfs_unix2adfs_time()
291 * Validate and convert a changed access mode/time to their ADFS equivalents.
/Linux-v5.15/drivers/media/common/videobuf2/
Dframe_vector.c115 * But it shouldn't really fail to convert pfns back... in put_vaddr_frames()
128 * frame_vector_to_pages - convert frame vector to contain page pointers
129 * @vec: frame vector to convert
131 * Convert @vec to contain array of page pointers. If the conversion is
156 * frame_vector_to_pfns - convert frame vector to contain pfns
157 * @vec: frame vector to convert
159 * Convert @vec to contain array of pfns.
/Linux-v5.15/fs/ksmbd/
Dunicode.c54 * cifs_mapchar() - convert a host-endian char to proper char in codepage
135 * smb_from_utf16() - convert utf16le string to local charset
143 * Convert a little-endian utf16le string (as sent by the server) to a string
204 * smb_strtoUTF16() - Convert character string to unicode string
222 * convert utf8 -> utf16, we assume we have enough space in smb_strtoUTF16()
263 * Take a string given by the server, convert it to the local codepage and
301 * Convert 16 bit Unicode pathname to wire format from string in current code
307 * smbConvertToUTF16() - convert string from local charset to utf16
314 * Convert 16 bit Unicode pathname to wire format from string in current code
/Linux-v5.15/drivers/acpi/acpica/
Dexconvrt.c33 * DESCRIPTION: Convert an ACPI Object to an integer.
73 * Convert the buffer/string to an integer. Note that both buffers and in acpi_ex_convert_to_integer()
74 * strings are treated as raw data - we don't convert ascii to hex for in acpi_ex_convert_to_integer()
88 * Convert string to an integer - for most cases, the string must be in acpi_ex_convert_to_integer()
122 * Convert buffer to an integer - we simply grab enough raw data in acpi_ex_convert_to_integer()
169 * DESCRIPTION: Convert an ACPI Object to a Buffer
255 * DESCRIPTION: Convert an ACPI Integer to a hex or decimal string
367 * DESCRIPTION: Convert an ACPI Object to a string. Supports both implicit
426 /* Convert integer to string */ in acpi_ex_convert_to_string()
517 * Convert buffer bytes to hex or decimal values in acpi_ex_convert_to_string()
[all …]
Dnsconvert.c30 * DESCRIPTION: Attempt to convert a String/Buffer object to an Integer.
94 * DESCRIPTION: Attempt to convert a Integer/Buffer object to a String.
109 * Integer-to-String conversion. Commonly, convert in acpi_ns_convert_to_string()
177 * DESCRIPTION: Attempt to convert a Integer/String/Package object to a Buffer.
196 * Convert the Integer to a packed-byte buffer. _MAT and other in acpi_ns_convert_to_buffer()
281 * DESCRIPTION: Attempt to convert a String object to a Unicode string Buffer.
312 * The original object is an ASCII string. Convert this string to in acpi_ns_convert_to_unicode()
327 /* Convert ASCII to Unicode */ in acpi_ns_convert_to_unicode()
347 * DESCRIPTION: Attempt to convert a Integer object to a resource_template
426 * DESCRIPTION: Attempt to convert a Integer object to a object_reference.
[all …]
/Linux-v5.15/fs/cifs/
Dcifs_unicode.c30 /* Convert character using the SFU - "Services for Unix" remapping range */
64 /* Convert character using the SFM - "Services for Mac" remapping range */
108 * cifs_mapchar - convert a host-endian char to proper char in codepage
141 /* convert SURROGATE_PAIR and IVS */ in cifs_mapchar()
156 * cifs_from_utf16 - convert utf16le string to local charset
164 * Convert a little-endian utf16le string (as sent by the server) to a string
245 * FUNCTION: Convert character string to unicode string
259 * convert utf8 -> utf16, we assume we have enough space in cifs_strtoUTF16()
342 * Take a string given by the server, convert it to the local codepage and
448 * Convert 16 bit Unicode pathname to wire format from string in current code
[all …]
/Linux-v5.15/drivers/staging/octeon/
Dethernet-util.h9 * cvm_oct_get_buffer_ptr - convert packet data address to pointer
21 * INTERFACE - convert IPD port to logical interface
39 * INDEX - convert IPD/PKO port number to the port's interface index
/Linux-v5.15/include/linux/sched/
Dprio.h22 * Convert user-nice values [ -20 ... 0 ... 19 ]
30 * Convert nice value [19,-20] to rlimit style value [1,40].
38 * Convert rlimit style value [1,40] to nice value [-20, 19].
/Linux-v5.15/net/tipc/
Dib_media.c47 /* convert InfiniBand address (media address format) media address to string */
59 /* Convert from media address format to discovery message addr format */
67 /* Convert raw InfiniBand address format to media addr format */
80 /* Convert discovery msg addr format to InfiniBand media addr format */

12345678910>>...102