/openbmc/linux/fs/reiserfs/ |
H A 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 …]
|
/openbmc/linux/sound/pci/hda/ |
H A D | hda_sysfs.c | 23 /* 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 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 …]
|
/openbmc/linux/fs/jfs/ |
H A D | jfs_extent.c | 58 * extent that is used as an allocation hint if the 73 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local 90 /* check if an allocation hint was provided */ in extAlloc() 91 if ((hint = addressXAD(xp))) { in extAlloc() 92 /* get the size of the extent described by the hint */ in extAlloc() 95 /* check if the hint is for the portion of the file in extAlloc() 97 * request and if hint extent has the same abnr in extAlloc() 99 * extend the hint extent to include the current in extAlloc() 101 * following the hint extent. in extAlloc() 105 xaddr = hint + nxlen; in extAlloc() [all …]
|
/openbmc/linux/lib/ |
H A D | sbitmap.c | 32 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 49 /* If the map is full, a hint won't do us much good. */ in update_alloc_hint_after_get() 51 } else if (nr == hint || unlikely(sb->round_robin)) { in update_alloc_hint_after_get() 52 /* Only update the hint if we used it. */ in update_alloc_hint_after_get() [all …]
|
/openbmc/qemu/util/ |
H A D | error.c | 25 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/tools/testing/selftests/arm64/bti/ |
H A D | assembler.h | 53 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 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
|
/openbmc/linux/mm/ |
H A D | percpu-internal.h | 14 * The scan hint is the largest known contiguous area before the contig hint. 15 * It is not necessarily the actual largest contig hint though. There is an 18 * we don't know if a new contig hint would be better than the current one. 21 int scan_hint; /* scan hint for block */ 23 position of the scan hint */ 24 int contig_hint; /* contig hint for block */ 26 position of the contig hint */
|
/openbmc/linux/tools/lib/api/fs/ |
H A D | tracing_path.c | 148 "Hint:\tSDT event cannot be directly recorded on.\n" in tracing_path__strerror_open_tp() 154 "Hint:\tPerhaps this kernel misses some CONFIG_ setting to enable this feature?.\n", in tracing_path__strerror_open_tp() 161 "Hint:\tWas your kernel compiled with debugfs/tracefs support?\n" in tracing_path__strerror_open_tp() 162 "Hint:\tIs the debugfs/tracefs filesystem mounted?\n" in tracing_path__strerror_open_tp() 163 "Hint:\tTry 'sudo mount -t debugfs nodev /sys/kernel/debug'"); in tracing_path__strerror_open_tp() 168 "Hint:\tTry 'sudo mount -o remount,mode=755 %s'\n", in tracing_path__strerror_open_tp()
|
/openbmc/linux/Documentation/arch/x86/x86_64/ |
H A 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
|
/openbmc/linux/Documentation/admin-guide/pm/ |
H A 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 111 the description, ``MWAIT`` hint and exit latency are copied to the corresponding 232 Some of the ``MWAIT`` hint values allow the processor to use core C-states only 233 (most importantly, that is the case for the ``MWAIT`` hint value corresponding 236 with the given hint value) into a specific core C-state and then (if possible) 238 ``MWAIT`` hint value representing the ``C3`` idle state allows the processor to 241 have executed ``MWAIT`` with the ``C3`` hint value (or with a hint value 253 the logical CPU executing ``MWAIT`` with a hint value that is not core-level [all …]
|
/openbmc/linux/tools/perf/util/ |
H A 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()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | asm.h | 19 #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
|
/openbmc/u-boot/arch/mips/include/asm/ |
H A D | asm.h | 151 #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 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()
|
/openbmc/qemu/tests/tcg/aarch64/ |
H A D | bti-1.c | 14 #define BTI_N "hint #32" 15 #define BTI_C "hint #34" 16 #define BTI_J "hint #36" 17 #define BTI_JC "hint #38"
|
H A D | bti-2.c | 23 #define BTI_N "hint #32" 24 #define BTI_C "hint #34" 25 #define BTI_J "hint #36" 26 #define BTI_JC "hint #38"
|
H A D | bti-3.c | 14 asm("mov %w0,#1; adr x16, 1f; br x16; 1: hint #25; mov %w0,#0" \ 18 asm("mov %w0,#1; adr x16, 1f; blr x16; 1: hint #25; mov %w0,#0" \ 22 asm("mov %w0,#1; adr x15, 1f; br x15; 1: hint #25; mov %w0,#0" \
|
/openbmc/linux/fs/ntfs3/ |
H A D | bitmap.c | 987 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() 1037 /* Use hint: Enumerate extents by start >= 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() [all …]
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | barrier.h | 31 #define psb_csync() asm volatile("hint #17" : : : "memory") 32 #define __tsb_csync() asm volatile("hint #18" : : : "memory") 33 #define csdb() asm volatile("hint #20" : : : "memory") 36 * Data Gathering Hint: 38 * Device-GRE attributes before the hint instruction with any memory accesses 39 * appearing after the hint instruction. 41 #define dgh() asm volatile("hint #6" : : : "memory")
|
/openbmc/qemu/hw/mem/ |
H A D | pc-dimm.c | 35 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/linux/fs/xfs/libxfs/ |
H A D | xfs_inode_buf.c | 608 /* extent size hint validation */ in xfs_dinode_verify() 633 /* COW extent size hint validation */ in xfs_dinode_verify() 664 * Validate di_extsize hint. 666 * 1. Extent size hint is only valid for directories and regular files. 669 * 4. Hint cannot be larger than MAXTEXTLEN. 671 * 6. Hint value of 0 turns off hints, clears inode flags. 674 * 8. For non-realtime files, the extent size hint must be limited 700 * function has never checked that the extent size hint is an integer in xfs_inode_validate_extsize() 706 * extent size hint, so this is harmless for them. in xfs_inode_validate_extsize() 708 * If a directory with a misaligned extent size hint is allowed to in xfs_inode_validate_extsize() [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | virtual_address_range.c | 29 * Address space till 128TB is mapped without any hint 31 * till 512TB is obtained by passing hint address as the 107 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/drivers/cpuidle/ |
H A D | cpuidle-pseries.c | 146 u8 hint; member 207 u8 hint = record->hint; in parse_cede_parameters() local 209 pr_info("xcede: Record %d : hint = %u, latency = 0x%llx tb ticks, Wake-on-irq = %u\n", in parse_cede_parameters() 210 i, hint, latency_ticks, wake_on_irqs); in parse_cede_parameters() 373 u8 hint = record->hint; in fixup_cede0_latency() local 388 pr_warn("cpuidle: Skipping xcede record %d [hint=%d]. Exit latency = 0us\n", in fixup_cede0_latency() 389 i, hint); in fixup_cede0_latency()
|
/openbmc/linux/arch/x86/include/asm/ |
H A 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 72 * EAX unused (reserve for hint)
|