Home
last modified time | relevance | path

Searched full:hint (Results 1 – 25 of 715) sorted by relevance

12345678910>>...29

/linux-6.14.4/sound/pci/hda/
Dhda_sysfs.c23 /* hint string pair */
268 const struct hda_hint *hint; in hints_show() local
271 snd_array_for_each(&codec->hints, i, hint) { in hints_show()
273 hint->key, hint->val); in hints_show()
281 struct hda_hint *hint; in get_hint() local
284 snd_array_for_each(&codec->hints, i, hint) { in get_hint()
285 if (!strcmp(hint->key, key)) in get_hint()
286 return hint; in get_hint()
309 struct hda_hint *hint; in parse_hints() local
331 hint = get_hint(codec, key); in parse_hints()
[all …]
/linux-6.14.4/fs/jfs/
Djfs_extent.c58 * extent that is used as an allocation hint if the
73 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local
95 /* check if an allocation hint was provided */ in extAlloc()
96 if ((hint = addressXAD(xp))) { in extAlloc()
97 /* get the size of the extent described by the hint */ in extAlloc()
100 /* check if the hint is for the portion of the file in extAlloc()
102 * request and if hint extent has the same abnr in extAlloc()
104 * extend the hint extent to include the current in extAlloc()
106 * following the hint extent. in extAlloc()
110 xaddr = hint + nxlen; in extAlloc()
[all …]
/linux-6.14.4/lib/
Dsbitmap.c32 unsigned hint; in update_alloc_hint_before_get() local
34 hint = this_cpu_read(*sb->alloc_hint); in update_alloc_hint_before_get()
35 if (unlikely(hint >= depth)) { in update_alloc_hint_before_get()
36 hint = depth ? get_random_u32_below(depth) : 0; in update_alloc_hint_before_get()
37 this_cpu_write(*sb->alloc_hint, hint); in update_alloc_hint_before_get()
40 return hint; in update_alloc_hint_before_get()
45 unsigned int hint, in update_alloc_hint_after_get() argument
49 /* If the map is full, a hint won't do us much good. */ in update_alloc_hint_after_get()
51 } else if (nr == hint || unlikely(sb->round_robin)) { in update_alloc_hint_after_get()
52 /* Only update the hint if we used it. */ in update_alloc_hint_after_get()
[all …]
/linux-6.14.4/tools/testing/selftests/arm64/bti/
Dassembler.h53 hint 0x19
57 hint 0x1d
61 hint 0x20
65 hint 0x22
69 hint 0x24
73 hint 0x26
/linux-6.14.4/arch/mips/include/asm/
Dasm-eva.h18 #define kernel_pref(hint, base) "pref " hint ", " base "\n" argument
55 #define user_pref(hint, base) __BUILD_EVA_INSN("prefe", hint, base) argument
77 #define user_pref(hint, base) kernel_pref(hint, base) argument
105 #define kernel_pref(hint, base) pref hint, base argument
142 #define user_pref(hint, base) __BUILD_EVA_INSN(prefe, hint, base) argument
163 #define user_pref(hint, base) kernel_pref(hint, base) argument
/linux-6.14.4/mm/
Dpercpu-internal.h14 * The scan hint is the largest known contiguous area before the contig hint.
15 * It is not necessarily the actual largest contig hint though. There is an
18 * we don't know if a new contig hint would be better than the current one.
21 int scan_hint; /* scan hint for block */
23 position of the scan hint */
24 int contig_hint; /* contig hint for block */
26 position of the contig hint */
/linux-6.14.4/tools/lib/api/fs/
Dtracing_path.c148 "Hint:\tSDT event cannot be directly recorded on.\n" in tracing_path__strerror_open_tp()
154 "Hint:\tPerhaps this kernel misses some CONFIG_ setting to enable this feature?.\n", in tracing_path__strerror_open_tp()
161 "Hint:\tWas your kernel compiled with debugfs/tracefs support?\n" in tracing_path__strerror_open_tp()
162 "Hint:\tIs the debugfs/tracefs filesystem mounted?\n" in tracing_path__strerror_open_tp()
163 "Hint:\tTry 'sudo mount -t debugfs nodev /sys/kernel/debug'"); in tracing_path__strerror_open_tp()
168 "Hint:\tTry 'sudo mount -o remount,mode=755 %s'\n", in tracing_path__strerror_open_tp()
/linux-6.14.4/Documentation/arch/x86/x86_64/
D5level-paging.rst46 specifying hint address (with or without MAP_FIXED) above 47-bits.
48 If hint address set above 47-bit, but MAP_FIXED is not specified, we try
53 A high hint address would only affect the allocation in question, but not
56 Specifying high hint address on older kernel or on machine without 5-level
57 paging support is safe. The hint will be ignored and kernel will fall back
/linux-6.14.4/arch/loongarch/include/asm/
Dasm.h19 #define PREF(hint, addr, offs) \ argument
20 preld hint, addr, offs; \
22 #define PREFX(hint, addr, index) \ argument
23 preldx hint, addr, index; \
27 #define PREF(hint, addr, offs) argument
28 #define PREFX(hint, addr, index) argument
/linux-6.14.4/tools/perf/util/
Dstrbuf.c20 int strbuf_init(struct strbuf *sb, ssize_t hint) in strbuf_init() argument
24 if (hint) in strbuf_init()
25 return strbuf_grow(sb, hint); in strbuf_init()
139 ssize_t strbuf_read(struct strbuf *sb, int fd, ssize_t hint) in strbuf_read() argument
145 ret = strbuf_grow(sb, hint ? hint : 8192); in strbuf_read()
/linux-6.14.4/fs/ntfs3/
Dbitmap.c959 size_t wnd_find(struct wnd_bitmap *wnd, size_t to_alloc, size_t hint, in wnd_find() argument
988 if (wnd->zone_bit <= hint && hint < wnd->zone_end) in wnd_find()
989 hint = wnd->zone_end; in wnd_find()
994 if (hint >= max_alloc) in wnd_find()
995 hint = 0; in wnd_find()
1006 if (!hint) in wnd_find()
1009 /* Use hint: Enumerate extents by start >= hint. */ in wnd_find()
1016 if (e->start.key == hint) in wnd_find()
1019 if (e->start.key < hint) { in wnd_find()
1037 if (e->start.key + e->count.key > hint) { in wnd_find()
[all …]
/linux-6.14.4/arch/sparc/kernel/
Diommu-common.c84 iommu->pools[i].hint = start; in iommu_tbl_pool_init()
93 p->hint = p->start; in iommu_tbl_pool_init()
140 start = pool->hint; in iommu_tbl_range_alloc()
156 * at the masked hint to avoid O(n) search complexity, in iommu_tbl_range_alloc()
186 pool->hint = pool->start; in iommu_tbl_range_alloc()
195 pool->hint = pool->start; in iommu_tbl_range_alloc()
206 (n < pool->hint || need_flush(iommu))) { in iommu_tbl_range_alloc()
212 pool->hint = end; in iommu_tbl_range_alloc()
/linux-6.14.4/Documentation/admin-guide/pm/
Dintel_idle.rst30 first of which, referred to as a *hint*, can be used by the processor to
47 Each ``MWAIT`` hint value is interpreted by the processor as a license to
51 ``MWAIT`` hint values and idle states (i.e. low-power configurations of the
111 the description, ``MWAIT`` hint and exit latency are copied to the corresponding
247 Some of the ``MWAIT`` hint values allow the processor to use core C-states only
248 (most importantly, that is the case for the ``MWAIT`` hint value corresponding
251 with the given hint value) into a specific core C-state and then (if possible)
253 ``MWAIT`` hint value representing the ``C3`` idle state allows the processor to
256 have executed ``MWAIT`` with the ``C3`` hint value (or with a hint value
268 the logical CPU executing ``MWAIT`` with a hint value that is not core-level
[all …]
/linux-6.14.4/Documentation/netlink/specs/
Drt_rule.yaml124 display-hint: hex
137 display-hint: hex
144 display-hint: hex
179 display-hint: hex
184 display-hint: hex
Drt_link.yaml106 display-hint: mac
753 display-hint: hex
938 display-hint: mac
942 display-hint: mac
1111 display-hint: mac
1334 display-hint: ipv4
1390 display-hint: mac
1407 display-hint: ipv6
1430 display-hint: mac
1447 display-hint: mac
[all …]
Drt_route.yaml88 display-hint: ipv4
92 display-hint: ipv4
102 display-hint: ipv4
109 display-hint: ipv4
185 display-hint: hex
Dnfsd.yaml39 display-hint: ipv4
44 display-hint: ipv4
48 display-hint: ipv6
52 display-hint: ipv6
Dtcp_metrics.yaml30 display-hint: ipv4
37 display-hint: ipv6
71 display-hint: ipv4
78 display-hint: ipv6
Dovs_flow.yaml44 display-hint: mac
49 display-hint: mac
66 display-hint: ipv4
71 display-hint: ipv4
94 display-hint: ipv6
100 display-hint: ipv6
208 display-hint: mac
213 display-hint: mac
227 display-hint: mac
232 display-hint: mac
[all …]
/linux-6.14.4/arch/arm64/include/asm/
Dbarrier.h31 #define psb_csync() asm volatile("hint #17" : : : "memory")
32 #define __tsb_csync() asm volatile("hint #18" : : : "memory")
33 #define csdb() asm volatile("hint #20" : : : "memory")
36 * Data Gathering Hint:
38 * Device-GRE attributes before the hint instruction with any memory accesses
39 * appearing after the hint instruction.
41 #define dgh() asm volatile("hint #6" : : : "memory")
/linux-6.14.4/fs/xfs/libxfs/
Dxfs_inode_buf.c729 /* extent size hint validation */ in xfs_dinode_verify()
755 /* COW extent size hint validation */ in xfs_dinode_verify()
798 * Validate di_extsize hint.
800 * 1. Extent size hint is only valid for directories and regular files.
803 * 4. Hint cannot be larger than MAXTEXTLEN.
805 * 6. Hint value of 0 turns off hints, clears inode flags.
808 * 8. For non-realtime files, the extent size hint must be limited
834 * function has never checked that the extent size hint is an integer in xfs_inode_validate_extsize()
840 * extent size hint, so this is harmless for them. in xfs_inode_validate_extsize()
842 * If a directory with a misaligned extent size hint is allowed to in xfs_inode_validate_extsize()
[all …]
/linux-6.14.4/drivers/cpuidle/
Dcpuidle-pseries.c147 u8 hint; member
208 u8 hint = record->hint; in parse_cede_parameters() local
210 pr_info("xcede: Record %d : hint = %u, latency = 0x%llx tb ticks, Wake-on-irq = %u\n", in parse_cede_parameters()
211 i, hint, latency_ticks, wake_on_irqs); in parse_cede_parameters()
374 u8 hint = record->hint; in fixup_cede0_latency() local
389 pr_warn("cpuidle: Skipping xcede record %d [hint=%d]. Exit latency = 0us\n", in fixup_cede0_latency()
390 i, hint); in fixup_cede0_latency()
/linux-6.14.4/tools/testing/selftests/mm/
Dvirtual_address_range.c34 * Address space till 128TB is mapped without any hint
36 * till 512TB is obtained by passing hint address as the
193 char *hint; in main() local
205 ksft_exit_fail_msg("mmap unexpectedly succeeded with hint\n"); in main()
220 hint = hint_addr(); in main()
221 hptr[i] = mmap(hint, MAP_CHUNK_SIZE, PROT_READ, in main()
/linux-6.14.4/arch/x86/include/asm/
Dmwait.h14 #define MWAIT_HINT2CSTATE(hint) (((hint) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK) argument
15 #define MWAIT_HINT2SUBSTATE(hint) ((hint) & MWAIT_CSTATE_MASK) argument
71 * EAX unused (reserve for hint)
/linux-6.14.4/block/
Dbadblocks.c328 * the binary search inside prev_badblocks(), it is possible to provide a hint
330 * avoided. In my test with the hint to prev_badblocks(), except for the first
454 * starts from index 'hint' and stops at index 'hint_end' from the bad
457 static int prev_by_hint(struct badblocks *bb, sector_t s, int hint) in prev_by_hint() argument
459 int hint_end = hint + 2; in prev_by_hint()
463 while ((hint < hint_end) && ((hint + 1) <= bb->count) && in prev_by_hint()
464 (BB_OFFSET(p[hint]) <= s)) { in prev_by_hint()
465 if ((hint + 1) == bb->count || BB_OFFSET(p[hint + 1]) > s) { in prev_by_hint()
466 ret = hint; in prev_by_hint()
469 hint++; in prev_by_hint()
[all …]

12345678910>>...29