Home
last modified time | relevance | path

Searched refs:hint (Results 1 - 25 of 190) sorted by relevance

12345678

/kernel/linux/linux-5.10/fs/reiserfs/
H A Dbitmap.c126 if (tmp) { /* hint supplied */ in is_block_in_journal()
382 * bad hint. Decent hinting must be implemented for this to work well. in scan_bitmap()
773 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()
781 /*hint->search_start = hint->beg;*/ 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 in new_hashed_relocation()
799 dirid_groups(reiserfs_blocknr_hint_t * hint) dirid_groups() argument
825 oid_groups(reiserfs_blocknr_hint_t * hint) oid_groups() argument
854 get_left_neighbor(reiserfs_blocknr_hint_t * hint) get_left_neighbor() argument
907 set_border_in_hint(struct super_block *s, reiserfs_blocknr_hint_t * hint) set_border_in_hint() argument
919 displace_large_file(reiserfs_blocknr_hint_t * hint) displace_large_file() argument
933 hash_formatted_node(reiserfs_blocknr_hint_t * hint) hash_formatted_node() argument
949 this_blocknr_allocation_would_make_it_a_large_file(reiserfs_blocknr_hint_t * hint) this_blocknr_allocation_would_make_it_a_large_file() argument
957 displace_new_packing_locality(reiserfs_blocknr_hint_t * hint) displace_new_packing_locality() argument
968 old_hashed_relocation(reiserfs_blocknr_hint_t * hint) old_hashed_relocation() argument
987 old_way(reiserfs_blocknr_hint_t * hint) old_way() argument
1005 hundredth_slices(reiserfs_blocknr_hint_t * hint) hundredth_slices() argument
1018 determine_search_start(reiserfs_blocknr_hint_t * hint, int amount_needed) determine_search_start() argument
1130 determine_prealloc_size(reiserfs_blocknr_hint_t * hint) determine_prealloc_size() argument
1150 allocate_without_wrapping_disk(reiserfs_blocknr_hint_t * hint, b_blocknr_t * new_blocknrs, b_blocknr_t start, b_blocknr_t finish, int min, int amount_needed, int prealloc_size) allocate_without_wrapping_disk() argument
1194 blocknrs_and_prealloc_arrays_from_search_start(reiserfs_blocknr_hint_t * hint, b_blocknr_t * new_blocknrs, int amount_needed) blocknrs_and_prealloc_arrays_from_search_start() argument
1310 use_preallocated_list_if_available(reiserfs_blocknr_hint_t * hint, b_blocknr_t * new_blocknrs, int amount_needed) use_preallocated_list_if_available() argument
1334 reiserfs_allocate_blocknrs(reiserfs_blocknr_hint_t *hint, b_blocknr_t *new_blocknrs, int amount_needed, int reserved_by_us) reiserfs_allocate_blocknrs() argument
[all...]
/kernel/linux/linux-6.6/fs/reiserfs/
H A Dbitmap.c126 if (tmp) { /* hint supplied */ in is_block_in_journal()
382 * bad hint. Decent hinting must be implemented for this to work well. in scan_bitmap()
773 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()
781 /*hint->search_start = hint->beg;*/ 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 in new_hashed_relocation()
799 dirid_groups(reiserfs_blocknr_hint_t * hint) dirid_groups() argument
825 oid_groups(reiserfs_blocknr_hint_t * hint) oid_groups() argument
854 get_left_neighbor(reiserfs_blocknr_hint_t * hint) get_left_neighbor() argument
907 set_border_in_hint(struct super_block *s, reiserfs_blocknr_hint_t * hint) set_border_in_hint() argument
919 displace_large_file(reiserfs_blocknr_hint_t * hint) displace_large_file() argument
933 hash_formatted_node(reiserfs_blocknr_hint_t * hint) hash_formatted_node() argument
949 this_blocknr_allocation_would_make_it_a_large_file(reiserfs_blocknr_hint_t * hint) this_blocknr_allocation_would_make_it_a_large_file() argument
957 displace_new_packing_locality(reiserfs_blocknr_hint_t * hint) displace_new_packing_locality() argument
968 old_hashed_relocation(reiserfs_blocknr_hint_t * hint) old_hashed_relocation() argument
987 old_way(reiserfs_blocknr_hint_t * hint) old_way() argument
1005 hundredth_slices(reiserfs_blocknr_hint_t * hint) hundredth_slices() argument
1018 determine_search_start(reiserfs_blocknr_hint_t * hint, int amount_needed) determine_search_start() argument
1130 determine_prealloc_size(reiserfs_blocknr_hint_t * hint) determine_prealloc_size() argument
1150 allocate_without_wrapping_disk(reiserfs_blocknr_hint_t * hint, b_blocknr_t * new_blocknrs, b_blocknr_t start, b_blocknr_t finish, int min, int amount_needed, int prealloc_size) allocate_without_wrapping_disk() argument
1194 blocknrs_and_prealloc_arrays_from_search_start(reiserfs_blocknr_hint_t * hint, b_blocknr_t * new_blocknrs, int amount_needed) blocknrs_and_prealloc_arrays_from_search_start() argument
1310 use_preallocated_list_if_available(reiserfs_blocknr_hint_t * hint, b_blocknr_t * new_blocknrs, int amount_needed) use_preallocated_list_if_available() argument
1334 reiserfs_allocate_blocknrs(reiserfs_blocknr_hint_t *hint, b_blocknr_t *new_blocknrs, int amount_needed, int reserved_by_us) reiserfs_allocate_blocknrs() argument
[all...]
/kernel/linux/linux-6.6/lib/
H A 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()
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 i in update_alloc_hint_after_get()
43 update_alloc_hint_after_get(struct sbitmap *sb, unsigned int depth, unsigned int hint, unsigned int nr) update_alloc_hint_after_get() argument
136 __sbitmap_get_word(unsigned long *word, unsigned long depth, unsigned int hint, bool wrap) __sbitmap_get_word() argument
242 unsigned int hint, depth; sbitmap_get() local
271 unsigned int hint, depth; sbitmap_get_shallow() local
486 unsigned int hint, depth; __sbitmap_queue_get_batch() local
[all...]
/kernel/linux/linux-5.10/lib/
H A Dsbitmap.c108 unsigned int hint, bool wrap) in __sbitmap_get_word()
110 unsigned int orig_hint = hint; in __sbitmap_get_word()
114 nr = find_next_zero_bit(word, depth, hint); in __sbitmap_get_word()
121 if (orig_hint && hint && wrap) { in __sbitmap_get_word()
122 hint = orig_hint = 0; in __sbitmap_get_word()
131 hint = nr + 1; in __sbitmap_get_word()
132 if (hint >= depth - 1) in __sbitmap_get_word()
133 hint = 0; in __sbitmap_get_word()
426 unsigned int hint, depth; in __sbitmap_queue_get() local
429 hint in __sbitmap_queue_get()
107 __sbitmap_get_word(unsigned long *word, unsigned long depth, unsigned int hint, bool wrap) __sbitmap_get_word() argument
455 unsigned int hint, depth; __sbitmap_queue_get_shallow() local
[all...]
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dhda_sysfs.c23 /* hint string pair */
271 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
423 struct hda_hint *hint = get_hint(codec, key); snd_hda_get_hint() local
787 struct hda_hint *hint; snd_hda_sysfs_clear() local
[all...]
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dhda_sysfs.c23 /* hint string pair */
270 const struct hda_hint *hint; in hints_show() local
273 snd_array_for_each(&codec->hints, i, hint) { in hints_show()
275 hint->key, hint->val); in hints_show()
283 struct hda_hint *hint; in get_hint() local
286 snd_array_for_each(&codec->hints, i, hint) { in get_hint()
287 if (!strcmp(hint->key, key)) in get_hint()
288 return hint; in get_hint()
311 struct hda_hint *hint; in parse_hints() local
420 struct hda_hint *hint = get_hint(codec, key); snd_hda_get_hint() local
784 struct hda_hint *hint; snd_hda_sysfs_clear() local
[all...]
/kernel/linux/linux-6.6/fs/jfs/
H A Djfs_extent.c58 * extent that is used as an allocation hint if the
73 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local
90 /* check if an allocation hint was provided */ in extAlloc()
91 if ((hint = addressXAD(xp))) { in extAlloc()
92 /* get the size of the extent described by the hint */ in extAlloc()
95 /* check if the hint is for the portion of the file in extAlloc()
97 * request and if hint extent has the same abnr in extAlloc()
99 * extend the hint extent to include the current in extAlloc()
101 * following the hint extent. in extAlloc()
105 xaddr = hint in extAlloc()
299 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) extBalloc() argument
[all...]
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dmwait.h14 #define MWAIT_HINT2CSTATE(hint) (((hint) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK)
15 #define MWAIT_HINT2SUBSTATE(hint) ((hint) & MWAIT_CSTATE_MASK)
71 * EAX unused (reserve for hint)
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dasm.h19 #define PREF(hint, addr, offs) \
20 preld hint, addr, offs; \
22 #define PREFX(hint, addr, index) \
23 preldx hint, addr, index; \
27 #define PREF(hint, addr, offs)
28 #define PREFX(hint, addr, index)
H A Dprefetch.h17 .macro __pref hint addr
19 preld \hint, \addr, 0
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dasm.h19 #define PREF(hint, addr, offs) \
20 preld hint, addr, offs; \
22 #define PREFX(hint, addr, index) \
23 preldx hint, addr, index; \
27 #define PREF(hint, addr, offs)
28 #define PREFX(hint, addr, index)
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
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()
/kernel/linux/linux-6.6/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()
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()
/kernel/linux/linux-6.6/drivers/cpuidle/
H A Dcpuidle-pseries.c146 u8 hint; member
207 u8 hint = record->hint; in parse_cede_parameters() local
209 pr_info("xcede: Record %d : hint = %u, latency = 0x%llx tb ticks, Wake-on-irq = %u\n", in parse_cede_parameters()
210 i, hint, latency_ticks, wake_on_irqs); in parse_cede_parameters()
373 u8 hint = record->hint; in fixup_cede0_latency() local
388 pr_warn("cpuidle: Skipping xcede record %d [hint=%d]. Exit latency = 0us\n", in fixup_cede0_latency()
389 i, hint); in fixup_cede0_latency()
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dmwait.h14 #define MWAIT_HINT2CSTATE(hint) (((hint) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK)
15 #define MWAIT_HINT2SUBSTATE(hint) ((hint) & MWAIT_CSTATE_MASK)
72 * EAX unused (reserve for hint)
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dasm-eva.h18 #define kernel_pref(hint, base) "pref " hint ", " base "\n"
55 #define user_pref(hint, base) __BUILD_EVA_INSN("prefe", hint, base)
77 #define user_pref(hint, base) kernel_pref(hint, base)
105 #define kernel_pref(hint, base) pref hint, base
142 #define user_pref(hint, base) __BUILD_EVA_INSN(prefe, hint, bas
[all...]
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dasm-eva.h18 #define kernel_pref(hint, base) "pref " hint ", " base "\n"
55 #define user_pref(hint, base) __BUILD_EVA_INSN("prefe", hint, base)
77 #define user_pref(hint, base) kernel_pref(hint, base)
105 #define kernel_pref(hint, base) pref hint, base
142 #define user_pref(hint, base) __BUILD_EVA_INSN(prefe, hint, bas
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dip_input.c317 const struct sk_buff *hint) in ip_can_use_hint()
319 return hint && !skb_dst(skb) && ip_hdr(hint)->daddr == iph->daddr && in ip_can_use_hint()
320 ip_hdr(hint)->tos == iph->tos; in ip_can_use_hint()
327 const struct sk_buff *hint) in ip_rcv_finish_core()
333 if (ip_can_use_hint(skb, iph, hint)) { in ip_rcv_finish_core()
335 dev, hint); in ip_rcv_finish_core()
590 struct sk_buff *skb, *next, *hint = NULL; in ip_list_rcv_finish() local
606 if (ip_rcv_finish_core(net, sk, skb, dev, hint) == NET_RX_DROP) in ip_list_rcv_finish()
611 hint in ip_list_rcv_finish()
316 ip_can_use_hint(const struct sk_buff *skb, const struct iphdr *iph, const struct sk_buff *hint) ip_can_use_hint() argument
325 ip_rcv_finish_core(struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *dev, const struct sk_buff *hint) ip_rcv_finish_core() argument
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dip_input.c309 const struct sk_buff *hint) in ip_can_use_hint()
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()
327 if (ip_can_use_hint(skb, iph, hint)) { in ip_rcv_finish_core()
329 dev, hint); in ip_rcv_finish_core()
597 struct sk_buff *skb, *next, *hint = NULL; in ip_list_rcv_finish() local
613 if (ip_rcv_finish_core(net, sk, skb, dev, hint) == NET_RX_DROP) in ip_list_rcv_finish()
618 hint in ip_list_rcv_finish()
308 ip_can_use_hint(const struct sk_buff *skb, const struct iphdr *iph, const struct sk_buff *hint) ip_can_use_hint() argument
317 ip_rcv_finish_core(struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *dev, const struct sk_buff *hint) ip_rcv_finish_core() argument
[all...]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/
H A Drdvl.S10 hint 34 // BTI C
16 hint 34 // BTI C
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dvirtual_address_range.c25 * Address space till 128TB is mapped without any hint
27 * till 512TB is obtained by passing hint address as the
101 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()

Completed in 16 milliseconds

12345678