Searched refs:last_bit (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_buf_item.c | 77 int last_bit; in xfs_buf_item_size_segment() local 79 last_bit = xfs_next_bit(blfp->blf_data_map, blfp->blf_map_size, 0); in xfs_buf_item_size_segment() 80 if (last_bit == -1) in xfs_buf_item_size_segment() 90 while (last_bit != -1) { in xfs_buf_item_size_segment() 98 last_bit + 1); in xfs_buf_item_size_segment() 106 } else if (next_bit != last_bit + 1) { in xfs_buf_item_size_segment() 107 last_bit = next_bit; in xfs_buf_item_size_segment() 110 (xfs_buf_offset(bp, last_bit * XFS_BLF_CHUNK) + in xfs_buf_item_size_segment() 112 last_bit = next_bit; in xfs_buf_item_size_segment() 115 last_bit++; in xfs_buf_item_size_segment() [all …]
|
/kernel/linux/linux-5.10/drivers/hyperhold/ |
D | hp_space.c | 63 u32 last_bit; in alloc_eid() local 66 last_bit = atomic_read(&spc->last_alloc_bit); in alloc_eid() 67 bit = find_next_zero_bit(spc->bitmap, spc->nr_ext, last_bit); in alloc_eid()
|
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
D | bttv-input.c | 207 if (ir->last_bit < 20) { in bttv_rc5_timer_end() 267 if (ir->last_bit < 28) { in bttv_rc5_irq() 268 ir->last_bit = (gap - ir_rc5_remote_gap / 2) / in bttv_rc5_irq() 270 ir->code |= 1 << ir->last_bit; in bttv_rc5_irq() 277 ir->last_bit = 0; in bttv_rc5_irq()
|
D | bttvp.h | 129 u32 last_bit; /* last raw bit seen */ member
|
/kernel/linux/linux-5.10/drivers/clocksource/ |
D | ingenic-timer.c | 280 int ret, last_bit = -1; in ingenic_tcu_init() local 322 last_bit + 1); in ingenic_tcu_init() 323 last_bit = timer->channel; in ingenic_tcu_init() 328 last_bit + 1); in ingenic_tcu_init()
|
/kernel/linux/linux-5.10/security/selinux/ss/ |
D | ebitmap.c | 477 int bit, last_bit, last_startbit, rc; in ebitmap_write() local 482 last_bit = 0; in ebitmap_write() 489 last_bit = roundup(bit + 1, BITS_PER_U64); in ebitmap_write() 491 buf[1] = cpu_to_le32(last_bit); in ebitmap_write()
|
/kernel/linux/linux-5.10/drivers/fsi/ |
D | fsi-master-gpio.c | 135 uint64_t last_bit = ~0; in serial_out() local 153 if (last_bit ^ next_bit) { in serial_out() 155 last_bit = next_bit; in serial_out()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | rt1011.c | 1804 int ret = 0, first_bit, last_bit; in rt1011_set_tdm_slot() local 1902 last_bit = __fls(tx_mask); in rt1011_set_tdm_slot() 1903 if (last_bit - first_bit > 1) { in rt1011_set_tdm_slot()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/ |
D | phy.c | 199 u32 mask, data, last_bit, bits_shifted, first_bit; in ath5k_hw_rfb_op() local 246 last_bit = (position + bits_left > 8) ? 8 : in ath5k_hw_rfb_op() 249 mask = (((1 << last_bit) - 1) ^ ((1 << position) - 1)) << in ath5k_hw_rfb_op() 259 bits_shifted += last_bit - position; in ath5k_hw_rfb_op()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | alloc.c | 7526 u32 first_bit, last_bit, minlen; in ocfs2_trim_mainbm() local 7590 last_bit = osb->bitmap_cpg; in ocfs2_trim_mainbm() 7592 last_bit = first_bit + len; in ocfs2_trim_mainbm() 7604 first_bit, last_bit, minlen); in ocfs2_trim_mainbm()
|