Home
last modified time | relevance | path

Searched refs:first_bit (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/fs/xfs/
Dxfs_buf_item.c180 int first_bit, in xfs_buf_item_copy_iovec() argument
183 offset += first_bit * XFS_BLF_CHUNK; in xfs_buf_item_copy_iovec()
211 int first_bit; in xfs_buf_item_format_segment() local
226 first_bit = xfs_next_bit(blfp->blf_data_map, blfp->blf_map_size, 0); in xfs_buf_item_format_segment()
227 if (!(bip->bli_flags & XFS_BLI_STALE) && first_bit == -1) { in xfs_buf_item_format_segment()
253 last_bit = first_bit; in xfs_buf_item_format_segment()
273 first_bit, nbits); in xfs_buf_item_format_segment()
279 first_bit, nbits); in xfs_buf_item_format_segment()
281 first_bit = next_bit; in xfs_buf_item_format_segment()
800 uint first_bit; in xfs_buf_item_log_segment() local
[all …]
/Linux-v4.19/arch/x86/kernel/cpu/
Dintel_rdt_ctrlmondata.c93 unsigned long first_bit, zero_bit, val; in cbm_validate() local
108 first_bit = find_first_bit(&val, cbm_len); in cbm_validate()
109 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_validate()
116 if ((zero_bit - first_bit) < r->cache.min_cbm_bits) { in cbm_validate()
Dintel_rdt_pseudo_lock.c130 unsigned long first_bit; in pseudo_lock_minor_get() local
132 first_bit = find_first_bit(&pseudo_lock_minor_avail, MINORBITS); in pseudo_lock_minor_get()
134 if (first_bit == MINORBITS) in pseudo_lock_minor_get()
137 __clear_bit(first_bit, &pseudo_lock_minor_avail); in pseudo_lock_minor_get()
138 *minor = first_bit; in pseudo_lock_minor_get()
Dintel_rdt_rdtgroup.c2333 unsigned long first_bit, zero_bit; in cbm_ensure_valid() local
2338 first_bit = find_first_bit(val, cbm_len); in cbm_ensure_valid()
2339 zero_bit = find_next_zero_bit(val, cbm_len, first_bit); in cbm_ensure_valid()
/Linux-v4.19/mm/
Dpercpu-internal.h42 int first_bit; /* no free below this */ member
Dpercpu.c591 bit_off = chunk->first_bit; in pcpu_chunk_refresh_hint()
942 bit_off = chunk->first_bit; in pcpu_find_block_fit()
1008 if (bit_off == chunk->first_bit) in pcpu_alloc_area()
1009 chunk->first_bit = find_next_zero_bit( in pcpu_alloc_area()
1050 chunk->first_bit = min(chunk->first_bit, bit_off); in pcpu_free_area()
1143 chunk->first_bit = offset_bits; in pcpu_alloc_first_chunk()
Dpercpu-stats.c124 P("first_bit", chunk->first_bit); in chunk_map_stats()
/Linux-v4.19/drivers/net/wireless/ath/ath5k/
Dphy.c199 u32 mask, data, last_bit, bits_shifted, first_bit; in ath5k_hw_rfb_op() local
222 first_bit = rfreg->field.pos; in ath5k_hw_rfb_op()
232 if (!(col <= 3 && num_bits <= 32 && first_bit + num_bits <= 319)) { in ath5k_hw_rfb_op()
237 entry = ((first_bit - 1) / 8) + offset; in ath5k_hw_rfb_op()
238 position = (first_bit - 1) % 8; in ath5k_hw_rfb_op()
/Linux-v4.19/fs/ocfs2/
Dalloc.c7544 u32 first_bit, last_bit, minlen; in ocfs2_trim_fs() local
7627 first_bit = start; in ocfs2_trim_fs()
7629 first_bit = start - ocfs2_blocks_to_clusters(sb, first_group); in ocfs2_trim_fs()
7635 if (first_bit + len >= osb->bitmap_cpg) in ocfs2_trim_fs()
7638 last_bit = first_bit + len; in ocfs2_trim_fs()
7650 first_bit, last_bit, minlen); in ocfs2_trim_fs()
7660 len -= osb->bitmap_cpg - first_bit; in ocfs2_trim_fs()
7661 first_bit = 0; in ocfs2_trim_fs()
/Linux-v4.19/tools/perf/util/
Devsel.c1527 bool first_bit = true; in __p_bits() local
1532 buf += scnprintf(buf, size, "%s%s", first_bit ? "" : "|", bits[i].name); in __p_bits()
1533 first_bit = false; in __p_bits()