Home
last modified time | relevance | path

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

123456

/Linux-v4.19/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-v4.19/lib/
Dsbitmap.c83 unsigned int hint, bool wrap) in __sbitmap_get_word() argument
85 unsigned int orig_hint = hint; in __sbitmap_get_word()
89 nr = find_next_zero_bit(word, depth, hint); in __sbitmap_get_word()
96 if (orig_hint && hint && wrap) { in __sbitmap_get_word()
97 hint = orig_hint = 0; in __sbitmap_get_word()
106 hint = nr + 1; in __sbitmap_get_word()
107 if (hint >= depth - 1) in __sbitmap_get_word()
108 hint = 0; in __sbitmap_get_word()
374 unsigned int hint, depth; in __sbitmap_queue_get() local
377 hint = this_cpu_read(*sbq->alloc_hint); in __sbitmap_queue_get()
[all …]
/Linux-v4.19/sound/pci/hda/
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 "%s = %s\n", 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 …]
/Linux-v4.19/arch/x86/include/asm/
Dmwait.h13 #define MWAIT_HINT2CSTATE(hint) (((hint) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK) argument
14 #define MWAIT_HINT2SUBSTATE(hint) ((hint) & MWAIT_CSTATE_MASK) argument
Dapb_timer.h39 extern struct sfi_timer_table_entry *sfi_get_mtmr(int hint);
/Linux-v4.19/tools/perf/util/
Dstrbuf.c14 int strbuf_init(struct strbuf *sb, ssize_t hint) in strbuf_init() argument
18 if (hint) in strbuf_init()
19 return strbuf_grow(sb, hint); in strbuf_init()
128 ssize_t strbuf_read(struct strbuf *sb, int fd, ssize_t hint) in strbuf_read() argument
134 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-v4.19/arch/mips/include/asm/
Dasm.h152 #define PREF(hint,addr) \ argument
155 pref hint, addr; \
158 #define PREFE(hint, addr) \ argument
162 prefe hint, addr; \
165 #define PREFX(hint,addr) \ argument
168 prefx hint, addr; \
173 #define PREF(hint, addr) argument
174 #define PREFE(hint, addr) argument
175 #define PREFX(hint, addr) argument
Dprefetch.h47 .macro __pref hint addr
49 pref \hint, \addr
/Linux-v4.19/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()
190 pool->hint = pool->start; in iommu_tbl_range_alloc()
199 pool->hint = pool->start; in iommu_tbl_range_alloc()
210 (n < pool->hint || need_flush(iommu))) { in iommu_tbl_range_alloc()
216 pool->hint = end; in iommu_tbl_range_alloc()
/Linux-v4.19/fs/jfs/
Djfs_extent.c89 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local
107 if ((hint = addressXAD(xp))) { in extAlloc()
121 xaddr = hint + nxlen; in extAlloc()
124 hint += (nxlen - 1); in extAlloc()
138 if ((rc = extBalloc(ip, hint ? hint : INOHINT(ip), &nxlen, &nxaddr))) { in extAlloc()
509 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) in extBalloc() argument
531 while ((rc = dbAlloc(ip, hint, nb, &daddr)) != 0) { in extBalloc()
/Linux-v4.19/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-v4.19/Documentation/x86/x86_64/
D5level-paging.txt39 specifying hint address (with or without MAP_FIXED) above 47-bits.
41 If hint address set above 47-bit, but MAP_FIXED is not specified, we try
46 A high hint address would only affect the allocation in question, but not
49 Specifying high hint address on older kernel or on machine without 5-level
50 paging support is safe. The hint will be ignored and kernel will fall back
/Linux-v4.19/fs/lockd/
Dsvcsubs.c330 nlmsvc_mark_host(void *data, struct nlm_host *hint) in nlmsvc_mark_host() argument
334 if ((hint->net == NULL) || in nlmsvc_mark_host()
335 (host->net == hint->net)) in nlmsvc_mark_host()
371 struct nlm_host hint; in nlmsvc_mark_resources() local
374 hint.net = net; in nlmsvc_mark_resources()
375 nlm_traverse_files(&hint, nlmsvc_mark_host, NULL); in nlmsvc_mark_resources()
/Linux-v4.19/drivers/dma/ioat/
Dhw.h95 unsigned int hint:1; member
127 unsigned int hint:1; member
174 unsigned int hint:1; member
223 unsigned int hint:1; member
/Linux-v4.19/arch/ia64/sn/kernel/sn2/
Dptc_deadlock.S51 hint @pause
66 hint @pause
77 hint @pause
/Linux-v4.19/arch/x86/platform/intel-mid/
Dsfi.c111 struct sfi_timer_table_entry *sfi_get_mtmr(int hint) in sfi_get_mtmr() argument
114 if (hint < sfi_mtimer_num) { in sfi_get_mtmr()
115 if (!sfi_mtimer_usage[hint]) { in sfi_get_mtmr()
117 hint, sfi_mtimer_array[hint].irq); in sfi_get_mtmr()
118 sfi_mtimer_usage[hint] = 1; in sfi_get_mtmr()
119 return &sfi_mtimer_array[hint]; in sfi_get_mtmr()
/Linux-v4.19/arch/mips/lib/
Dmemcpy.S207 #define _PREF(hint, addr, type) \ argument
209 PREF(hint, addr); \
221 PREFE(hint, addr); \
224 PREF(hint, addr); \
228 #define PREFS(hint, addr) _PREF(hint, addr, SRC_PREFETCH) argument
229 #define PREFD(hint, addr) _PREF(hint, addr, DST_PREFETCH) argument
/Linux-v4.19/fs/
Dfcntl.c261 static bool rw_hint_valid(enum rw_hint hint) in rw_hint_valid() argument
263 switch (hint) { in rw_hint_valid()
281 enum rw_hint hint; in fcntl_rw_hint() local
293 hint = (enum rw_hint) h; in fcntl_rw_hint()
294 if (!rw_hint_valid(hint)) in fcntl_rw_hint()
298 file->f_write_hint = hint; in fcntl_rw_hint()
309 hint = (enum rw_hint) h; in fcntl_rw_hint()
310 if (!rw_hint_valid(hint)) in fcntl_rw_hint()
314 inode->i_write_hint = hint; in fcntl_rw_hint()
/Linux-v4.19/drivers/parisc/
Diommu-helpers.h16 unsigned long hint, in iommu_fill_pdir() argument
79 vaddr, hint); in iommu_fill_pdir()
/Linux-v4.19/tools/objtool/
Dcheck.c1076 struct unwind_hint *hint; in read_unwind_hints() local
1099 hint = (struct unwind_hint *)sec->data->d_buf + i; in read_unwind_hints()
1101 rela = find_rela_by_dest(sec, i * sizeof(*hint)); in read_unwind_hints()
1115 if (hint->type == UNWIND_HINT_TYPE_SAVE) { in read_unwind_hints()
1119 } else if (hint->type == UNWIND_HINT_TYPE_RESTORE) { in read_unwind_hints()
1121 insn->hint = true; in read_unwind_hints()
1125 insn->hint = true; in read_unwind_hints()
1127 switch (hint->sp_reg) { in read_unwind_hints()
1154 insn->sec, insn->offset, hint->sp_reg); in read_unwind_hints()
1158 cfa->offset = hint->sp_offset; in read_unwind_hints()
[all …]
/Linux-v4.19/drivers/nvdimm/
Dnd.h54 int dimm, int hint) in ndrd_get_flush_wpq() argument
59 return ndrd->flush_wpq[dimm * num + (hint & mask)]; in ndrd_get_flush_wpq()
63 int hint, void __iomem *flush) in ndrd_set_flush_wpq() argument
68 ndrd->flush_wpq[dimm * num + (hint & mask)] = flush; in ndrd_set_flush_wpq()
/Linux-v4.19/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-v4.19/drivers/base/
Dmemory.c597 struct memory_block *hint) in find_memory_block_hinted() argument
600 struct device *hintdev = hint ? &hint->dev : NULL; in find_memory_block_hinted()
604 if (hint) in find_memory_block_hinted()
605 put_device(&hint->dev); in find_memory_block_hinted()
/Linux-v4.19/arch/arm/kernel/
Dprocess.c425 unsigned long hint; in arch_setup_additional_pages() local
438 hint = sigpage_addr(mm, npages); in arch_setup_additional_pages()
439 addr = get_unmapped_area(NULL, hint, npages << PAGE_SHIFT, 0, 0); in arch_setup_additional_pages()

123456