Home
last modified time | relevance | path

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

1234567

/Linux-v5.15/fs/reiserfs/
Dbitmap.c773 static inline void new_hashed_relocation(reiserfs_blocknr_hint_t * hint) in new_hashed_relocation() argument
777 if (hint->formatted_node) { in new_hashed_relocation()
778 hash_in = (char *)&hint->key.k_dir_id; in new_hashed_relocation()
780 if (!hint->inode) { in new_hashed_relocation()
782 hash_in = (char *)&hint->key.k_dir_id; in new_hashed_relocation()
784 if (TEST_OPTION(displace_based_on_dirid, hint->th->t_super)) in new_hashed_relocation()
785 hash_in = (char *)(&INODE_PKEY(hint->inode)->k_dir_id); in new_hashed_relocation()
788 (char *)(&INODE_PKEY(hint->inode)->k_objectid); in new_hashed_relocation()
791 hint->search_start = in new_hashed_relocation()
792 hint->beg + keyed_hash(hash_in, 4) % (hint->end - hint->beg); in new_hashed_relocation()
[all …]
/Linux-v5.15/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 ? prandom_u32() % 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
51 } else if (nr == hint || unlikely(sb->round_robin)) { in update_alloc_hint_after_get()
53 hint = nr + 1; in update_alloc_hint_after_get()
54 if (hint >= depth - 1) in update_alloc_hint_after_get()
[all …]
/Linux-v5.15/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-v5.15/sound/pci/hda/
Dhda_sysfs.c271 const struct hda_hint *hint; in hints_show() local
274 snd_array_for_each(&codec->hints, i, hint) { in hints_show()
276 "%s = %s\n", hint->key, hint->val); in hints_show()
284 struct hda_hint *hint; in get_hint() local
287 snd_array_for_each(&codec->hints, i, hint) { in get_hint()
288 if (!strcmp(hint->key, key)) in get_hint()
289 return hint; in get_hint()
312 struct hda_hint *hint; in parse_hints() local
334 hint = get_hint(codec, key); in parse_hints()
335 if (hint) { in parse_hints()
[all …]
/Linux-v5.15/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
Dprefetch.h47 .macro __pref hint addr
49 pref \hint, \addr
/Linux-v5.15/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
/Linux-v5.15/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()
Dstrbuf.h59 int strbuf_init(struct strbuf *buf, ssize_t hint);
93 ssize_t strbuf_read(struct strbuf *, int fd, ssize_t hint);
/Linux-v5.15/drivers/cpuidle/
Dcpuidle-pseries.c144 u8 hint; member
205 u8 hint = record->hint; in parse_cede_parameters() local
208 i, hint, latency_ticks, wake_on_irqs); in parse_cede_parameters()
369 u8 hint = record->hint; in fixup_cede0_latency() local
385 i, hint); in fixup_cede0_latency()
/Linux-v5.15/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()
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-v5.15/net/ipv4/
Dip_input.c307 const struct sk_buff *hint) in ip_can_use_hint() argument
309 return hint && !skb_dst(skb) && ip_hdr(hint)->daddr == iph->daddr && in ip_can_use_hint()
310 ip_hdr(hint)->tos == iph->tos; in ip_can_use_hint()
317 const struct sk_buff *hint) in ip_rcv_finish_core() argument
324 if (ip_can_use_hint(skb, iph, hint)) { in ip_rcv_finish_core()
326 dev, hint); in ip_rcv_finish_core()
567 struct sk_buff *skb, *next, *hint = NULL; in ip_list_rcv_finish() local
583 if (ip_rcv_finish_core(net, sk, skb, dev, hint) == NET_RX_DROP) in ip_list_rcv_finish()
588 hint = ip_extract_route_hint(net, skb, in ip_list_rcv_finish()
/Linux-v5.15/fs/jfs/
Djfs_extent.c76 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local
94 if ((hint = addressXAD(xp))) { in extAlloc()
108 xaddr = hint + nxlen; in extAlloc()
111 hint += (nxlen - 1); in extAlloc()
125 if ((rc = extBalloc(ip, hint ? hint : INOHINT(ip), &nxlen, &nxaddr))) { in extAlloc()
496 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) in extBalloc() argument
518 while ((rc = dbAlloc(ip, hint, nb, &daddr)) != 0) { in extBalloc()
/Linux-v5.15/tools/testing/selftests/vm/
Dvirtual_address_range.c101 char *hint; in main() local
120 hint = hind_addr(); in main()
121 hptr[i] = mmap(hint, MAP_CHUNK_SIZE, PROT_READ | PROT_WRITE, in main()
/Linux-v5.15/Documentation/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-v5.15/drivers/dma/ioat/
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-v5.15/fs/ntfs3/
Dbitmap.c959 size_t wnd_find(struct wnd_bitmap *wnd, size_t to_alloc, size_t hint, in wnd_find() argument
989 if (wnd->zone_bit <= hint && hint < wnd->zone_end) in wnd_find()
990 hint = wnd->zone_end; in wnd_find()
995 if (hint >= max_alloc) in wnd_find()
996 hint = 0; in wnd_find()
1007 if (!hint) in wnd_find()
1017 if (e->start.key == hint) in wnd_find()
1020 if (e->start.key < hint) { in wnd_find()
1038 if (e->start.key + e->count.key > hint) { in wnd_find()
1040 size_t len = e->start.key + e->count.key - hint; in wnd_find()
[all …]
/Linux-v5.15/fs/lockd/
Dsvcsubs.c372 nlmsvc_mark_host(void *data, struct nlm_host *hint) in nlmsvc_mark_host() argument
376 if ((hint->net == NULL) || in nlmsvc_mark_host()
377 (host->net == hint->net)) in nlmsvc_mark_host()
413 struct nlm_host hint; in nlmsvc_mark_resources() local
416 hint.net = net; in nlmsvc_mark_resources()
417 nlm_traverse_files(&hint, nlmsvc_mark_host, NULL); in nlmsvc_mark_resources()
/Linux-v5.15/net/ipv6/
Dip6_input.c90 const struct sk_buff *hint) in ip6_can_use_hint() argument
92 return hint && !skb_dst(skb) && in ip6_can_use_hint()
93 ipv6_addr_equal(&ipv6_hdr(hint)->daddr, &ipv6_hdr(skb)->daddr); in ip6_can_use_hint()
108 struct sk_buff *skb, *next, *hint = NULL; in ip6_list_rcv_finish() local
124 if (ip6_can_use_hint(skb, hint)) in ip6_list_rcv_finish()
125 skb_dst_copy(skb, hint); in ip6_list_rcv_finish()
130 hint = ip6_extract_route_hint(net, skb); in ip6_list_rcv_finish()
/Linux-v5.15/arch/mips/lib/
Dmemcpy.S208 # define _PREF(hint, addr, type) \ argument
210 kernel_pref(hint, addr); \
222 user_pref(hint, addr); \
225 kernel_pref(hint, addr); \
229 # define _PREF(hint, addr, type) argument
232 #define PREFS(hint, addr) _PREF(hint, addr, SRC_PREFETCH) argument
233 #define PREFD(hint, addr) _PREF(hint, addr, DST_PREFETCH) argument
/Linux-v5.15/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
232 Some of the ``MWAIT`` hint values allow the processor to use core C-states only
233 (most importantly, that is the case for the ``MWAIT`` hint value corresponding
236 with the given hint value) into a specific core C-state and then (if possible)
238 ``MWAIT`` hint value representing the ``C3`` idle state allows the processor to
241 have executed ``MWAIT`` with the ``C3`` hint value (or with a hint value
253 the logical CPU executing ``MWAIT`` with a hint value that is not core-level
[all …]
/Linux-v5.15/fs/
Dfcntl.c270 static bool rw_hint_valid(enum rw_hint hint) in rw_hint_valid() argument
272 switch (hint) { in rw_hint_valid()
290 enum rw_hint hint; in fcntl_rw_hint() local
302 hint = (enum rw_hint) h; in fcntl_rw_hint()
303 if (!rw_hint_valid(hint)) in fcntl_rw_hint()
307 file->f_write_hint = hint; in fcntl_rw_hint()
318 hint = (enum rw_hint) h; in fcntl_rw_hint()
319 if (!rw_hint_valid(hint)) in fcntl_rw_hint()
323 inode->i_write_hint = hint; in fcntl_rw_hint()
/Linux-v5.15/drivers/parisc/
Diommu-helpers.h16 unsigned long hint, in iommu_fill_pdir() argument
79 vaddr, hint); in iommu_fill_pdir()
/Linux-v5.15/drivers/md/
Ddm-cache-policy-internal.h59 bool dirty, uint32_t hint, bool hint_valid) in policy_load_mapping() argument
61 return p->load_mapping(p, oblock, cblock, dirty, hint, hint_valid); in policy_load_mapping()
/Linux-v5.15/tools/testing/selftests/arm64/fp/
Drdvl.S8 hint 34 // BTI C

1234567