Home
last modified time | relevance | path

Searched refs:hint (Results 1 – 25 of 196) sorted by relevance

12345678

/linux-6.15/lib/
H A Dsbitmap.c32 unsigned hint; in update_alloc_hint_before_get() local
40 return hint; in update_alloc_hint_before_get()
53 hint = nr + 1; in update_alloc_hint_after_get()
54 if (hint >= depth - 1) in update_alloc_hint_after_get()
55 hint = 0; in update_alloc_hint_after_get()
164 wrap = wrap && hint; in __sbitmap_get_word()
174 if (hint && wrap) { in __sbitmap_get_word()
175 hint = 0; in __sbitmap_get_word()
184 hint = nr + 1; in __sbitmap_get_word()
185 if (hint >= depth - 1) in __sbitmap_get_word()
[all …]
/linux-6.15/tools/testing/selftests/arm64/bti/
H A Dassembler.h53 hint 0x19
57 hint 0x1d
61 hint 0x20
65 hint 0x22
69 hint 0x24
73 hint 0x26
/linux-6.15/sound/pci/hda/
H A Dhda_sysfs.c273 hint->key, hint->val); in hints_show()
286 return hint; in get_hint()
332 if (hint) { in parse_hints()
334 kfree(hint->key); in parse_hints()
335 hint->key = key; in parse_hints()
336 hint->val = val; in parse_hints()
341 hint = NULL; in parse_hints()
344 if (hint) { in parse_hints()
345 hint->key = key; in parse_hints()
346 hint->val = val; in parse_hints()
[all …]
/linux-6.15/block/
H A Dbadblocks.c463 while ((hint < hint_end) && ((hint + 1) <= bb->count) && in prev_by_hint()
466 ret = hint; in prev_by_hint()
469 hint++; in prev_by_hint()
482 int hint) in prev_badblocks() argument
904 hint = prev; in _badblocks_set()
911 hint = prev; in _badblocks_set()
924 hint = prev; in _badblocks_set()
937 hint = prev; in _badblocks_set()
950 hint = ++prev; in _badblocks_set()
1101 hint = 0; in _badblocks_clear()
[all …]
/linux-6.15/arch/mips/include/asm/
H A 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
H A Dprefetch.h47 .macro __pref hint addr
49 pref \hint, \addr
/linux-6.15/arch/x86/include/asm/
H A Dmwait.h14 #define MWAIT_HINT2CSTATE(hint) (((hint) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK) argument
15 #define MWAIT_HINT2SUBSTATE(hint) ((hint) & MWAIT_CSTATE_MASK) argument
/linux-6.15/fs/jfs/
H A Djfs_extent.c73 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local
96 if ((hint = addressXAD(xp))) { in extAlloc()
110 xaddr = hint + nxlen; in extAlloc()
113 hint += (nxlen - 1); in extAlloc()
127 if ((rc = extBalloc(ip, hint ? hint : INOHINT(ip), &nxlen, &nxaddr))) { in extAlloc()
309 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) in extBalloc() argument
336 while ((rc = dbAlloc(ip, hint, nb, &daddr)) != 0) { in extBalloc()
/linux-6.15/Documentation/netlink/specs/
H A Drt_rule.yaml124 display-hint: hex
137 display-hint: hex
144 display-hint: hex
179 display-hint: hex
184 display-hint: hex
188 display-hint: hex
192 display-hint: hex
196 display-hint: hex
H A Dnfsd.yaml39 display-hint: ipv4
44 display-hint: ipv4
48 display-hint: ipv6
52 display-hint: ipv6
H A Drt_route.yaml88 display-hint: ipv4
92 display-hint: ipv4
102 display-hint: ipv4
109 display-hint: ipv4
185 display-hint: hex
/linux-6.15/tools/perf/util/
H A 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.15/arch/loongarch/include/asm/
H A 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
H A Dprefetch.h13 .macro __pref hint addr
15 preld \hint, \addr, 0
/linux-6.15/arch/sparc/kernel/
H A 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()
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.15/drivers/cpuidle/
H A Dcpuidle-pseries.c147 u8 hint; member
208 u8 hint = record->hint; in parse_cede_parameters() local
211 i, hint, latency_ticks, wake_on_irqs); in parse_cede_parameters()
374 u8 hint = record->hint; in fixup_cede0_latency() local
390 i, hint); in fixup_cede0_latency()
/linux-6.15/tools/testing/selftests/net/
H A Dbind_bhash.c32 struct addrinfo *res, hint = {}; in bind_socket() local
42 hint.ai_family = domain; in bind_socket()
43 hint.ai_socktype = SOCK_STREAM; in bind_socket()
45 err = getaddrinfo(addr, port, &hint, &res); in bind_socket()
/linux-6.15/net/ipv4/
H A Dip_input.c309 const struct sk_buff *hint) in ip_can_use_hint() argument
311 return hint && !skb_dst(skb) && ip_hdr(hint)->daddr == iph->daddr && in ip_can_use_hint()
312 ip_hdr(hint)->tos == iph->tos; in ip_can_use_hint()
319 const struct sk_buff *hint) in ip_rcv_finish_core() argument
325 if (ip_can_use_hint(skb, iph, hint)) { in ip_rcv_finish_core()
327 ip4h_dscp(iph), dev, hint); in ip_rcv_finish_core()
594 struct sk_buff *skb, *next, *hint = NULL; in ip_list_rcv_finish() local
609 if (ip_rcv_finish_core(net, skb, dev, hint) == NET_RX_DROP) in ip_list_rcv_finish()
614 hint = ip_extract_route_hint(net, skb, in ip_list_rcv_finish()
/linux-6.15/Documentation/arch/x86/x86_64/
H A 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.15/tools/testing/selftests/arm64/fp/
H A Drdvl.S10 hint 34 // BTI C
16 hint 34 // BTI C
/linux-6.15/drivers/dma/ioat/
H A Dhw.h86 unsigned int hint:1; member
118 unsigned int hint:1; member
165 unsigned int hint:1; member
214 unsigned int hint:1; member
/linux-6.15/fs/ntfs3/
H A Dbitmap.c988 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()
1016 if (e->start.key == hint) in wnd_find()
1042 fnd = hint; in wnd_find()
1051 fnd = hint; in wnd_find()
1120 iw = hint >> log2_bits; in wnd_find()
1262 if (hint) { in wnd_find()
[all …]
/linux-6.15/fs/lockd/
H A Dsvcsubs.c377 nlmsvc_mark_host(void *data, struct nlm_host *hint) in nlmsvc_mark_host() argument
381 if ((hint->net == NULL) || in nlmsvc_mark_host()
382 (host->net == hint->net)) in nlmsvc_mark_host()
418 struct nlm_host hint; in nlmsvc_mark_resources() local
421 hint.net = net; in nlmsvc_mark_resources()
422 nlm_traverse_files(&hint, nlmsvc_mark_host, NULL); in nlmsvc_mark_resources()
/linux-6.15/net/ipv6/
H A Dip6_input.c93 const struct sk_buff *hint) in ip6_can_use_hint() argument
95 return hint && !skb_dst(skb) && in ip6_can_use_hint()
96 ipv6_addr_equal(&ipv6_hdr(hint)->daddr, &ipv6_hdr(skb)->daddr); in ip6_can_use_hint()
112 struct sk_buff *skb, *next, *hint = NULL; in ip6_list_rcv_finish() local
127 if (ip6_can_use_hint(skb, hint)) in ip6_list_rcv_finish()
128 skb_dst_copy(skb, hint); in ip6_list_rcv_finish()
133 hint = ip6_extract_route_hint(net, skb); in ip6_list_rcv_finish()
/linux-6.15/tools/testing/selftests/mm/
H A Dvirtual_address_range.c193 char *hint; in main() local
220 hint = hint_addr(); in main()
221 hptr[i] = mmap(hint, MAP_CHUNK_SIZE, PROT_READ, in main()

12345678