/Linux-v4.19/fs/reiserfs/ |
D | bitmap.c | 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() 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/ |
D | sbitmap.c | 83 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/ |
D | hda_sysfs.c | 270 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/ |
D | mwait.h | 13 #define MWAIT_HINT2CSTATE(hint) (((hint) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK) argument 14 #define MWAIT_HINT2SUBSTATE(hint) ((hint) & MWAIT_CSTATE_MASK) argument
|
D | apb_timer.h | 39 extern struct sfi_timer_table_entry *sfi_get_mtmr(int hint);
|
/Linux-v4.19/tools/perf/util/ |
D | strbuf.c | 14 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()
|
D | strbuf.h | 59 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/ |
D | asm.h | 152 #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
|
D | prefetch.h | 47 .macro __pref hint addr 49 pref \hint, \addr
|
/Linux-v4.19/arch/sparc/kernel/ |
D | iommu-common.c | 84 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/ |
D | jfs_extent.c | 89 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/ |
D | virtual_address_range.c | 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()
|
/Linux-v4.19/Documentation/x86/x86_64/ |
D | 5level-paging.txt | 39 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/ |
D | svcsubs.c | 330 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/ |
D | hw.h | 95 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/ |
D | ptc_deadlock.S | 51 hint @pause 66 hint @pause 77 hint @pause
|
/Linux-v4.19/arch/x86/platform/intel-mid/ |
D | sfi.c | 111 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/ |
D | memcpy.S | 207 #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/ |
D | fcntl.c | 261 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/ |
D | iommu-helpers.h | 16 unsigned long hint, in iommu_fill_pdir() argument 79 vaddr, hint); in iommu_fill_pdir()
|
/Linux-v4.19/tools/objtool/ |
D | check.c | 1076 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/ |
D | nd.h | 54 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/ |
D | dm-cache-policy-internal.h | 59 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/ |
D | memory.c | 597 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/ |
D | process.c | 425 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()
|