Home
last modified time | relevance | path

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

1234567

/linux/fs/reiserfs/
A Dbitmap.c792 hint->beg + keyed_hash(hash_in, 4) % (hint->end - hint->beg); in new_hashed_relocation()
925 4) % (hint->end - hint->beg); in displace_large_file()
930 4) % (hint->end - hint->beg); in displace_large_file()
945 hint->beg + keyed_hash(hash_in, 4) % (hint->end - hint->beg); in hash_formatted_node()
964 4) % (hint->end - hint->beg); in displace_new_packing_locality()
980 4) % (hint->end - hint->beg - 1); in old_hashed_relocation()
1163 !hint->formatted_node, hint->block); in allocate_without_wrapping_disk()
1219 if (hint->preallocate && hint->prealloc_size) { in blocknrs_and_prealloc_arrays_from_search_start()
1228 hint->preallocate = hint->prealloc_size = 0; in blocknrs_and_prealloc_arrays_from_search_start()
1268 reiserfs_free_block(hint->th, hint->inode, in blocknrs_and_prealloc_arrays_from_search_start()
[all …]
/linux/lib/
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()
152 wrap = wrap && hint; in __sbitmap_get_word()
162 if (hint && wrap) { in __sbitmap_get_word()
163 hint = 0; in __sbitmap_get_word()
172 hint = nr + 1; in __sbitmap_get_word()
173 if (hint >= depth - 1) in __sbitmap_get_word()
[all …]
/linux/sound/pci/hda/
A Dhda_sysfs.c276 "%s = %s\n", hint->key, hint->val); in hints_show()
289 return hint; in get_hint()
335 if (hint) { in parse_hints()
337 kfree(hint->key); in parse_hints()
338 hint->key = key; in parse_hints()
339 hint->val = val; in parse_hints()
344 hint = NULL; in parse_hints()
347 if (hint) { in parse_hints()
348 hint->key = key; in parse_hints()
349 hint->val = val; in parse_hints()
[all …]
/linux/tools/testing/selftests/arm64/bti/
A Dassembler.h53 hint 0x19
57 hint 0x1d
61 hint 0x20
65 hint 0x22
69 hint 0x24
73 hint 0x26
/linux/arch/mips/include/asm/
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
A Dprefetch.h47 .macro __pref hint addr
49 pref \hint, \addr
/linux/arch/x86/include/asm/
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/tools/perf/util/
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()
A Dstrbuf.h59 int strbuf_init(struct strbuf *buf, ssize_t hint);
93 ssize_t strbuf_read(struct strbuf *, int fd, ssize_t hint);
/linux/drivers/cpuidle/
A 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/arch/sparc/kernel/
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/net/ipv4/
A 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/fs/jfs/
A 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/Documentation/x86/x86_64/
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/fs/ntfs3/
A Dbitmap.c989 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()
1043 fnd = hint; in wnd_find()
1052 fnd = hint; in wnd_find()
1121 iw = hint >> log2_bits; in wnd_find()
1266 if (hint) { in wnd_find()
[all …]
/linux/tools/testing/selftests/vm/
A 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/drivers/dma/ioat/
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/fs/lockd/
A 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/net/ipv6/
A 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/arch/mips/lib/
A 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/kernel/
A Dbounds.s92 hint 25 // paciasp
117 hint 29 // autiasp
/linux/Documentation/admin-guide/pm/
A 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/fs/
A 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/arch/arm64/kernel/
A Dasm-offsets.s93 hint 25 // paciasp
708 hint 29 // autiasp
/linux/drivers/parisc/
A Diommu-helpers.h16 unsigned long hint, in iommu_fill_pdir() argument
79 vaddr, hint); in iommu_fill_pdir()

Completed in 62 milliseconds

1234567