Searched refs:first_bit (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/fs/xfs/ |
D | xfs_buf_item.c | 198 int first_bit, in xfs_buf_item_copy_iovec() argument 201 offset += first_bit * XFS_BLF_CHUNK; in xfs_buf_item_copy_iovec() 229 int first_bit; in xfs_buf_item_format_segment() local 244 first_bit = xfs_next_bit(blfp->blf_data_map, blfp->blf_map_size, 0); in xfs_buf_item_format_segment() 245 if (!(bip->bli_flags & XFS_BLI_STALE) && first_bit == -1) { in xfs_buf_item_format_segment() 271 last_bit = first_bit; in xfs_buf_item_format_segment() 291 first_bit, nbits); in xfs_buf_item_format_segment() 297 first_bit, nbits); in xfs_buf_item_format_segment() 299 first_bit = next_bit; in xfs_buf_item_format_segment() 790 uint first_bit; in xfs_buf_item_log_segment() local [all …]
|
/Linux-v5.10/tools/perf/util/ |
D | perf_event_attr_fprintf.c | 17 bool first_bit = true; in __p_bits() local 22 buf += scnprintf(buf, size, "%s%s", first_bit ? "" : "|", bits[i].name); in __p_bits() 23 first_bit = false; in __p_bits()
|
/Linux-v5.10/sound/soc/codecs/ |
D | rt1011.c | 1804 int ret = 0, first_bit, last_bit; in rt1011_set_tdm_slot() local 1858 first_bit = __ffs(rx_mask); in rt1011_set_tdm_slot() 1859 switch (first_bit) { in rt1011_set_tdm_slot() 1871 (first_bit << RT1011_TDM_I2S_TX_L_DAC1_1_SFT) | in rt1011_set_tdm_slot() 1872 ((first_bit+1) << RT1011_TDM_I2S_TX_R_DAC1_1_SFT)); in rt1011_set_tdm_slot() 1885 ((first_bit-1) << RT1011_TDM_I2S_TX_L_DAC1_1_SFT) | in rt1011_set_tdm_slot() 1886 (first_bit << RT1011_TDM_I2S_TX_R_DAC1_1_SFT)); in rt1011_set_tdm_slot() 1901 first_bit = __ffs(tx_mask); in rt1011_set_tdm_slot() 1903 if (last_bit - first_bit > 1) { in rt1011_set_tdm_slot() 1912 RT1011_TDM_ADCDAT1_DATA_LOCATION, first_bit); in rt1011_set_tdm_slot() [all …]
|
/Linux-v5.10/arch/x86/kernel/cpu/resctrl/ |
D | ctrlmondata.c | 88 unsigned long first_bit, zero_bit, val; in cbm_validate() local 104 first_bit = find_first_bit(&val, cbm_len); in cbm_validate() 105 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_validate() 114 if ((zero_bit - first_bit) < r->cache.min_cbm_bits) { in cbm_validate()
|
D | pseudo_lock.c | 115 unsigned long first_bit; in pseudo_lock_minor_get() local 117 first_bit = find_first_bit(&pseudo_lock_minor_avail, MINORBITS); in pseudo_lock_minor_get() 119 if (first_bit == MINORBITS) in pseudo_lock_minor_get() 122 __clear_bit(first_bit, &pseudo_lock_minor_avail); in pseudo_lock_minor_get() 123 *minor = first_bit; in pseudo_lock_minor_get()
|
D | rdtgroup.c | 2648 unsigned long first_bit, zero_bit; in cbm_ensure_valid() local 2654 first_bit = find_first_bit(&val, cbm_len); in cbm_ensure_valid() 2655 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_ensure_valid()
|
/Linux-v5.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 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-v5.10/fs/ocfs2/ |
D | alloc.c | 7548 u32 first_bit, last_bit, minlen; in ocfs2_trim_mainbm() local 7601 first_bit = start; in ocfs2_trim_mainbm() 7603 first_bit = start - ocfs2_blocks_to_clusters(sb, in ocfs2_trim_mainbm() 7611 if (first_bit + len >= osb->bitmap_cpg) in ocfs2_trim_mainbm() 7614 last_bit = first_bit + len; in ocfs2_trim_mainbm() 7626 first_bit, last_bit, minlen); in ocfs2_trim_mainbm() 7636 len -= osb->bitmap_cpg - first_bit; in ocfs2_trim_mainbm() 7637 first_bit = 0; in ocfs2_trim_mainbm()
|