Searched refs:first_bit (Results 1 – 5 of 5) sorted by relevance
| /linux/mm/ |
| H A D | swap.h | 290 bool first_bit; in swap_zeromap_batch() local 292 first_bit = test_bit(start, sis->zeromap); in swap_zeromap_batch() 294 *is_zeromap = first_bit; in swap_zeromap_batch() 298 if (first_bit) in swap_zeromap_batch()
|
| /linux/fs/resctrl/ |
| H A D | pseudo_lock.c | 62 unsigned long first_bit; in pseudo_lock_minor_get() local 64 first_bit = find_first_bit(&pseudo_lock_minor_avail, MINORBITS); in pseudo_lock_minor_get() 66 if (first_bit == MINORBITS) in pseudo_lock_minor_get() 69 __clear_bit(first_bit, &pseudo_lock_minor_avail); in pseudo_lock_minor_get() 70 *minor = first_bit; in pseudo_lock_minor_get()
|
| /linux/tools/perf/util/ |
| H A D | perf_event_attr_fprintf.c | 21 bool first_bit = true; in __p_bits() local 26 buf += scnprintf(buf, size, "%s%s", first_bit ? "" : "|", bits[i].name); in __p_bits() 27 first_bit = false; in __p_bits()
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | phy.c | 200 u32 mask, data, last_bit, bits_shifted, first_bit; in ath5k_hw_rfb_op() local 223 first_bit = rfreg->field.pos; in ath5k_hw_rfb_op() 233 if (!(col <= 3 && num_bits <= 32 && first_bit + num_bits <= 319)) { in ath5k_hw_rfb_op() 238 entry = ((first_bit - 1) / 8) + offset; in ath5k_hw_rfb_op() 239 position = (first_bit - 1) % 8; in ath5k_hw_rfb_op()
|
| /linux/fs/ocfs2/ |
| H A D | alloc.c | 7559 u32 first_bit, last_bit, minlen; in ocfs2_trim_mainbm() local 7612 first_bit = start; in ocfs2_trim_mainbm() 7614 first_bit = start - ocfs2_blocks_to_clusters(sb, in ocfs2_trim_mainbm() 7622 if (first_bit + len >= osb->bitmap_cpg) in ocfs2_trim_mainbm() 7625 last_bit = first_bit + len; in ocfs2_trim_mainbm() 7637 first_bit, last_bit, minlen); in ocfs2_trim_mainbm() 7647 len -= osb->bitmap_cpg - first_bit; in ocfs2_trim_mainbm() 7648 first_bit = 0; in ocfs2_trim_mainbm()
|