| /kernel/linux/linux-4.19/fs/reiserfs/ |
| D | bitmap.c | 126 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->th->t_super)) in new_hashed_relocation() 785 hash_in = (char *)(&INODE_PKEY(hint->inode)->k_dir_id); in new_hashed_relocation() [all …]
|
| /kernel/linux/linux-5.10/fs/reiserfs/ |
| D | bitmap.c | 126 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->th->t_super)) in new_hashed_relocation() 785 hash_in = (char *)(&INODE_PKEY(hint->inode)->k_dir_id); in new_hashed_relocation() [all …]
|
| /kernel/linux/linux-5.10/sound/pci/hda/ |
| D | hda_sysfs.c | 23 /* 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 334 hint = get_hint(codec, key); in parse_hints() [all …]
|
| /kernel/linux/linux-4.19/sound/pci/hda/ |
| D | hda_sysfs.c | 22 /* 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 "%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() [all …]
|
| /kernel/linux/linux-4.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 …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | sbitmap.c | 108 unsigned int hint, bool wrap) in __sbitmap_get_word() argument 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 = this_cpu_read(*sbq->alloc_hint); in __sbitmap_queue_get() [all …]
|
| /kernel/linux/linux-5.10/fs/jfs/ |
| D | jfs_extent.c | 61 * extent that is used as an allocation hint if the 76 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local 93 /* check if an allocation hint was provided */ in extAlloc() 94 if ((hint = addressXAD(xp))) { in extAlloc() 95 /* get the size of the extent described by the hint */ in extAlloc() 98 /* check if the hint is for the portion of the file in extAlloc() 100 * request and if hint extent has the same abnr in extAlloc() 102 * extend the hint extent to include the current in extAlloc() 104 * following the hint extent. in extAlloc() 108 xaddr = hint + nxlen; in extAlloc() [all …]
|
| /kernel/linux/linux-4.19/fs/jfs/ |
| D | jfs_extent.c | 74 * extent that is used as an allocation hint if the 89 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local 106 /* check if an allocation hint was provided */ in extAlloc() 107 if ((hint = addressXAD(xp))) { in extAlloc() 108 /* get the size of the extent described by the hint */ in extAlloc() 111 /* check if the hint is for the portion of the file in extAlloc() 113 * request and if hint extent has the same abnr in extAlloc() 115 * extend the hint extent to include the current in extAlloc() 117 * following the hint extent. in extAlloc() 121 xaddr = hint + nxlen; in extAlloc() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/include/asm/ |
| D | asm-eva.h | 18 #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
|
| /kernel/linux/linux-4.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
|
| /kernel/linux/linux-5.10/tools/lib/api/fs/ |
| D | tracing_path.c | 137 "Hint:\tSDT event cannot be directly recorded on.\n" in tracing_path__strerror_open_tp() 143 "Hint:\tPerhaps this kernel misses some CONFIG_ setting to enable this feature?.\n", in tracing_path__strerror_open_tp() 150 "Hint:\tWas your kernel compiled with debugfs/tracefs support?\n" in tracing_path__strerror_open_tp() 151 "Hint:\tIs the debugfs/tracefs filesystem mounted?\n" in tracing_path__strerror_open_tp() 152 "Hint:\tTry 'sudo mount -t debugfs nodev /sys/kernel/debug'"); in tracing_path__strerror_open_tp() 157 "Hint:\tTry 'sudo mount -o remount,mode=755 %s'\n", in tracing_path__strerror_open_tp()
|
| /kernel/linux/linux-4.19/tools/lib/api/fs/ |
| D | tracing_path.c | 137 "Hint:\tSDT event cannot be directly recorded on.\n" in tracing_path__strerror_open_tp() 143 "Hint:\tPerhaps this kernel misses some CONFIG_ setting to enable this feature?.\n", in tracing_path__strerror_open_tp() 150 "Hint:\tWas your kernel compiled with debugfs/tracefs support?\n" in tracing_path__strerror_open_tp() 151 "Hint:\tIs the debugfs/tracefs filesystem mounted?\n" in tracing_path__strerror_open_tp() 152 "Hint:\tTry 'sudo mount -t debugfs nodev /sys/kernel/debug'"); in tracing_path__strerror_open_tp() 157 "Hint:\tTry 'sudo mount -o remount,mode=755 %s'\n", in tracing_path__strerror_open_tp()
|
| /kernel/linux/linux-5.10/mm/ |
| D | percpu-internal.h | 32 * The scan hint is the largest known contiguous area before the contig hint. 33 * It is not necessarily the actual largest contig hint though. There is an 36 * we don't know if a new contig hint would be better than the current one. 39 int scan_hint; /* scan hint for block */ 41 position of the scan hint */ 42 int contig_hint; /* contig hint for block */ 44 position of the contig hint */
|
| /kernel/linux/linux-5.10/Documentation/x86/x86_64/ |
| D | 5level-paging.rst | 46 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
|
| /kernel/linux/linux-4.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() 133 ssize_t strbuf_read(struct strbuf *sb, int fd, ssize_t hint) in strbuf_read() argument 139 ret = strbuf_grow(sb, hint ? hint : 8192); in strbuf_read()
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/pm/ |
| D | intel_idle.rst | 30 first of which, referred to as a *hint*, can be used by the processor to 47 Each ``MWAIT`` hint value is interpreted by the processor as a license to 51 ``MWAIT`` hint values and idle states (i.e. low-power configurations of the 109 the description, ``MWAIT`` hint and exit latency are copied to the corresponding 228 Some of the ``MWAIT`` hint values allow the processor to use core C-states only 229 (most importantly, that is the case for the ``MWAIT`` hint value corresponding 232 with the given hint value) into a specific core C-state and then (if possible) 234 ``MWAIT`` hint value representing the ``C3`` idle state allows the processor to 237 have executed ``MWAIT`` with the ``C3`` hint value (or with a hint value 249 the logical CPU executing ``MWAIT`` with a hint value that is not core-level [all …]
|
| D | intel_epb.rst | 5 Intel Performance and Energy Bias Hint 19 The Intel Performance and Energy Bias Hint (EPB) value for a given (logical) CPU 26 a value of 0 corresponds to a hint preference for highest performance
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | strbuf.c | 20 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-4.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
|
| /kernel/linux/linux-4.19/tools/testing/selftests/vm/ |
| D | virtual_address_range.c | 25 * 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()
|
| /kernel/linux/linux-5.10/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() 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-4.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() 156 * at the masked hint to avoid O(n) search complexity, 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()
|
| /kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
| D | virtual_address_range.c | 25 * 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()
|
| /kernel/linux/linux-4.19/arch/x86/include/asm/ |
| D | mwait.h | 14 #define MWAIT_HINT2CSTATE(hint) (((hint) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK) argument 15 #define MWAIT_HINT2SUBSTATE(hint) ((hint) & MWAIT_CSTATE_MASK) argument 69 * EAX unused (reserve for hint)
|
| /kernel/linux/linux-5.10/arch/x86/include/asm/ |
| D | mwait.h | 14 #define MWAIT_HINT2CSTATE(hint) (((hint) >> MWAIT_SUBSTATE_SIZE) & MWAIT_CSTATE_MASK) argument 15 #define MWAIT_HINT2SUBSTATE(hint) ((hint) & MWAIT_CSTATE_MASK) argument 71 * EAX unused (reserve for hint)
|