Home
last modified time | relevance | path

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

12345678910

/openbmc/linux/fs/reiserfs/
H A 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 …]
/openbmc/linux/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() 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 …]
/openbmc/qemu/util/
H A Derror.c25 GString *hint; member
38 if (err->hint) { in error_handle()
39 error_printf("%s", err->hint->str); in error_handle()
168 if (!err->hint) { in error_append_hint()
169 err->hint = g_string_new(NULL); in error_append_hint()
172 g_string_append_vprintf(err->hint, fmt, ap); in error_append_hint()
215 if (err->hint) { in error_copy()
216 err_new->hint = g_string_new(err->hint->str); in error_copy()
235 if (err->hint) { in error_report_err()
236 error_printf("%s", err->hint->str); in error_report_err()
[all …]
/openbmc/linux/sound/pci/hda/
H A Dhda_sysfs.c270 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
333 hint = get_hint(codec, key); in parse_hints()
334 if (hint) { in parse_hints()
[all …]
/openbmc/linux/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
/openbmc/linux/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
/openbmc/linux/fs/jfs/
H A Djfs_extent.c73 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local
91 if ((hint = addressXAD(xp))) { in extAlloc()
105 xaddr = hint + nxlen; in extAlloc()
108 hint += (nxlen - 1); in extAlloc()
122 if ((rc = extBalloc(ip, hint ? hint : INOHINT(ip), &nxlen, &nxaddr))) { in extAlloc()
299 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) in extBalloc() argument
326 while ((rc = dbAlloc(ip, hint, nb, &daddr)) != 0) { in extBalloc()
/openbmc/linux/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
/openbmc/u-boot/arch/mips/include/asm/
H A Dasm.h151 #define PREF(hint, addr) \ argument
154 pref hint, addr; \
157 #define PREFE(hint, addr) \ argument
161 prefe hint, addr; \
164 #define PREFX(hint, addr) \ argument
167 prefx hint, addr; \
172 #define PREF(hint, addr) argument
173 #define PREFE(hint, addr) argument
174 #define PREFX(hint, addr) argument
/openbmc/linux/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()
/openbmc/linux/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
/openbmc/linux/drivers/cpuidle/
H A Dcpuidle-pseries.c146 u8 hint; member
207 u8 hint = record->hint; in parse_cede_parameters() local
210 i, hint, latency_ticks, wake_on_irqs); in parse_cede_parameters()
373 u8 hint = record->hint; in fixup_cede0_latency() local
389 i, hint); in fixup_cede0_latency()
/openbmc/linux/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()
/openbmc/qemu/hw/mem/
H A Dpc-dimm.c35 static int pc_dimm_get_free_slot(const int *hint, int max_slots, Error **errp);
116 static int pc_dimm_get_free_slot(const int *hint, int max_slots, Error **errp) in pc_dimm_get_free_slot() argument
131 if (hint) { in pc_dimm_get_free_slot()
132 if (*hint >= max_slots) { in pc_dimm_get_free_slot()
134 *hint, max_slots); in pc_dimm_get_free_slot()
135 } else if (!test_bit(*hint, bitmap)) { in pc_dimm_get_free_slot()
136 slot = *hint; in pc_dimm_get_free_slot()
138 error_setg(errp, "slot %d is busy", *hint); in pc_dimm_get_free_slot()
/openbmc/u-boot/common/
H A Dbedbug.c253 if (opr->hint & OH_SILENT) { in print_operands()
264 if (opr->hint & OH_ADDR) { in print_operands()
269 if (ctx->op->hint & H_RELATIVE) in print_operands()
294 else if (opr->hint & OH_REG) { in print_operands()
296 (opr->field == O_rA) && (ctx->op->hint & H_RA0_IS_0)) { in print_operands()
308 else if (opr->hint & OH_SPR) { in print_operands()
312 else if (opr->hint & OH_TBR) { in print_operands()
316 else if (opr->hint & OH_LITERAL) { in print_operands()
337 else if (opr->hint & OH_OFFSET) { in print_operands()
803 if (oper[n_operands]->hint & OH_SILENT) { in asmppc()
[all …]
/openbmc/linux/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()
/openbmc/linux/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
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 = ip_extract_route_hint(net, skb, in ip_list_rcv_finish()
/openbmc/linux/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
/openbmc/linux/tools/testing/selftests/mm/
H A Dvirtual_address_range.c107 char *hint; in main() local
129 hint = hind_addr(); in main()
130 hptr[i] = mmap(hint, MAP_CHUNK_SIZE, PROT_READ | PROT_WRITE, in main()
/openbmc/linux/tools/testing/selftests/arm64/fp/
H A Drdvl.S10 hint 34 // BTI C
16 hint 34 // BTI C
/openbmc/linux/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
/openbmc/linux/fs/ntfs3/
H A Dbitmap.c987 size_t wnd_find(struct wnd_bitmap *wnd, size_t to_alloc, size_t hint, in wnd_find() argument
1016 if (wnd->zone_bit <= hint && hint < wnd->zone_end) in wnd_find()
1017 hint = wnd->zone_end; in wnd_find()
1022 if (hint >= max_alloc) in wnd_find()
1023 hint = 0; in wnd_find()
1034 if (!hint) in wnd_find()
1044 if (e->start.key == hint) in wnd_find()
1047 if (e->start.key < hint) { in wnd_find()
1065 if (e->start.key + e->count.key > hint) { in wnd_find()
1067 size_t len = e->start.key + e->count.key - hint; in wnd_find()
[all …]
/openbmc/linux/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()
/openbmc/linux/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
128 if (ip6_can_use_hint(skb, hint)) in ip6_list_rcv_finish()
129 skb_dst_copy(skb, hint); in ip6_list_rcv_finish()
134 hint = ip6_extract_route_hint(net, skb); in ip6_list_rcv_finish()

12345678910