Home
last modified time | relevance | path

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

12345678910

/openbmc/linux/fs/reiserfs/
H 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 …]
/openbmc/linux/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()
142 wrap = wrap && hint; in __sbitmap_get_word()
152 if (hint && wrap) { in __sbitmap_get_word()
153 hint = 0; in __sbitmap_get_word()
162 hint = nr + 1; in __sbitmap_get_word()
163 if (hint >= depth - 1) in __sbitmap_get_word()
[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()
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()
244 if (err->hint) { in warn_report_err()
[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/sound/pci/hda/
H A Dhda_sysfs.c275 hint->key, hint->val); in hints_show()
288 return hint; in get_hint()
334 if (hint) { in parse_hints()
336 kfree(hint->key); in parse_hints()
337 hint->key = key; in parse_hints()
338 hint->val = val; in parse_hints()
343 hint = NULL; in parse_hints()
346 if (hint) { in parse_hints()
347 hint->key = key; in parse_hints()
348 hint->val = val; in parse_hints()
[all …]
/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
H A Dprefetch.h47 .macro __pref hint addr
49 pref \hint, \addr
/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/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/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/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/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/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/qemu/hw/mem/
H A Dpc-dimm.c35 static int pc_dimm_get_free_slot(const int *hint, int max_slots, Error **errp);
118 static int pc_dimm_get_free_slot(const int *hint, int max_slots, Error **errp) in pc_dimm_get_free_slot() argument
133 if (hint) { in pc_dimm_get_free_slot()
134 if (*hint >= max_slots) { in pc_dimm_get_free_slot()
136 *hint, max_slots); in pc_dimm_get_free_slot()
137 } else if (!test_bit(*hint, bitmap)) { in pc_dimm_get_free_slot()
138 slot = *hint; in pc_dimm_get_free_slot()
140 error_setg(errp, "slot %d is busy", *hint); in pc_dimm_get_free_slot()
/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/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()
308 else if (opr->hint & OH_SPR) { in print_operands()
312 else if (opr->hint & OH_TBR) { in print_operands()
866 if (oper->hint & OH_ADDR) { in parse_operand()
869 if (opc->hint & H_RELATIVE) in parse_operand()
882 else if (oper->hint & OH_REG) { in parse_operand()
898 else if (oper->hint & OH_SPR) { in parse_operand()
[all …]
/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/tools/testing/selftests/arm64/fp/
H A Drdvl.S10 hint 34 // BTI C
16 hint 34 // BTI C
/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/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/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.c1016 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()
1070 fnd = hint; in wnd_find()
1079 fnd = hint; in wnd_find()
1148 iw = hint >> log2_bits; in wnd_find()
1290 if (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()

12345678910