Home
last modified time | relevance | path

Searched refs:bit_pos (Results 1 – 25 of 46) sorted by relevance

12

/kernel/linux/linux-5.10/fs/f2fs/
Ddir.c257 unsigned long bit_pos = 0; in f2fs_find_target_dentry() local
262 while (bit_pos < d->max) { in f2fs_find_target_dentry()
263 if (!test_bit_le(bit_pos, d->bitmap)) { in f2fs_find_target_dentry()
264 bit_pos++; in f2fs_find_target_dentry()
269 de = &d->dentry[bit_pos]; in f2fs_find_target_dentry()
272 bit_pos++; in f2fs_find_target_dentry()
277 f2fs_match_name(d->inode, fname, d->filename[bit_pos], in f2fs_find_target_dentry()
285 bit_pos += GET_DENTRY_SLOTS(le16_to_cpu(de->name_len)); in f2fs_find_target_dentry()
616 unsigned int bit_pos; in f2fs_has_enough_room() local
621 bit_pos = f2fs_room_for_filename(d.bitmap, slots, d.max); in f2fs_has_enough_room()
[all …]
Dinline.c467 unsigned long bit_pos = 0; in f2fs_add_inline_entries() local
472 while (bit_pos < d.max) { in f2fs_add_inline_entries()
478 if (!test_bit_le(bit_pos, d.bitmap)) { in f2fs_add_inline_entries()
479 bit_pos++; in f2fs_add_inline_entries()
483 de = &d.dentry[bit_pos]; in f2fs_add_inline_entries()
486 bit_pos++; in f2fs_add_inline_entries()
495 fname.disk_name.name = d.filename[bit_pos]; in f2fs_add_inline_entries()
506 bit_pos += GET_DENTRY_SLOTS(le16_to_cpu(de->name_len)); in f2fs_add_inline_entries()
620 unsigned int bit_pos; in f2fs_add_inline_entry() local
634 bit_pos = f2fs_room_for_filename(d.bitmap, slots, d.max); in f2fs_add_inline_entry()
[all …]
/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_dentryfile_cloud.c61 unsigned long bit_pos = 0; in find_in_block() local
64 while (bit_pos < DENTRY_PER_GROUP_CLOUD) { in find_in_block()
65 if (!test_bit_le(bit_pos, dentry_blk->bitmap)) { in find_in_block()
66 bit_pos++; in find_in_block()
69 de = &dentry_blk->nsl[bit_pos]; in find_in_block()
71 bit_pos++; in find_in_block()
77 !memcmp(qstr->name, dentry_blk->filename[bit_pos], in find_in_block()
83 str_n_case_eq(qstr->name, dentry_blk->filename[bit_pos], in find_in_block()
87 bit_pos += get_dentry_slots(le16_to_cpu(de->namelen)); in find_in_block()
Dhmdfs_dentryfile.c666 unsigned long bit_pos = 0; in find_in_block() local
669 while (bit_pos < DENTRY_PER_GROUP) { in find_in_block()
670 if (!test_bit_le(bit_pos, dentry_blk->bitmap)) { in find_in_block()
671 bit_pos++; in find_in_block()
674 de = &dentry_blk->nsl[bit_pos]; in find_in_block()
676 bit_pos++; in find_in_block()
682 !memcmp(qstr->name, dentry_blk->filename[bit_pos], in find_in_block()
688 str_n_case_eq(qstr->name, dentry_blk->filename[bit_pos], in find_in_block()
692 bit_pos += get_dentry_slots(le16_to_cpu(de->namelen)); in find_in_block()
777 __u32 name_hash, unsigned int bit_pos) in update_dentry() argument
[all …]
/kernel/linux/linux-5.10/drivers/scsi/cxlflash/
Dvlun.c156 u64 bit_pos = -1; in find_free_range() local
163 bit_pos = find_first_bit(lam, num_bits); in find_free_range()
167 __func__, bit_pos, bali->lun_alloc_map[i], i); in find_free_range()
171 clear_bit(bit_pos, lam); in find_free_range()
175 return bit_pos; in find_free_range()
186 u64 bit_pos = -1; in ba_alloc() local
203 bit_pos = find_free_range(bali->free_curr_idx, in ba_alloc()
205 if (bit_pos == -1) { in ba_alloc()
206 bit_pos = find_free_range(bali->free_low_idx, in ba_alloc()
209 if (bit_pos == -1) { in ba_alloc()
[all …]
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_proc.c193 unsigned long bit_pos; in drbd_syncer_progress() local
197 bit_pos = bm_bits - device->ov_left; in drbd_syncer_progress()
201 bit_pos = device->bm_resync_fo; in drbd_syncer_progress()
206 (int)(bit_pos / (bm_bits/100+1)), in drbd_syncer_progress()
207 (unsigned long long)bit_pos * BM_SECT_PER_BIT, in drbd_syncer_progress()
/kernel/linux/linux-5.10/arch/arm64/kernel/probes/
Dsimulate-insn.c70 int bit_pos = ((opcode & (1 << 31)) >> 26) | ((opcode >> 19) & 0x1f); in check_tbz() local
72 return ((get_x_reg(regs, xn) >> bit_pos) & 0x1) == 0; in check_tbz()
78 int bit_pos = ((opcode & (1 << 31)) >> 26) | ((opcode >> 19) & 0x1f); in check_tbnz() local
80 return ((get_x_reg(regs, xn) >> bit_pos) & 0x1) != 0; in check_tbnz()
/kernel/linux/linux-5.10/arch/sh/drivers/
Dheartbeat.c37 new = (1 << hd->bit_pos[bit]); in heartbeat_toggle_bit()
110 hd->bit_pos = default_bit_pos; in heartbeat_drv_probe()
116 hd->mask |= (1 << hd->bit_pos[i]); in heartbeat_drv_probe()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dmv_udc_core.c130 u32 bit_pos; in process_ep_req() local
183 bit_pos = 1 << curr_req->ep->ep_num; in process_ep_req()
185 bit_pos = 1 << (16 + curr_req->ep->ep_num); in process_ep_req()
189 while (readl(&udc->op_regs->epstatus) & bit_pos) in process_ep_req()
255 u32 bit_pos, direction; in queue_dtd() local
263 bit_pos = 1 << (((direction == EP_DIR_OUT) ? 0 : 16) + ep->ep_num); in queue_dtd()
274 if (readl(&udc->op_regs->epprime) & bit_pos) in queue_dtd()
285 epstatus = readl(&udc->op_regs->epstatus) & bit_pos; in queue_dtd()
328 writel(bit_pos, &udc->op_regs->epprime); in queue_dtd()
441 u32 bit_pos, epctrlx, direction; in mv_ep_enable() local
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel_telemetry_debugfs.c70 (BUF)[idx] = ((EVTLOG) >> (EVTDAT)[idx].bit_pos) & \
97 u32 bit_pos; member
121 u32 bit_pos; member
147 u32 bit_pos; member
162 u32 bit_pos; member
177 u32 bit_pos; member
204 u32 bit_pos; member
365 conf->pss_idle_data[conf->pss_idle_evts - 1].bit_pos) & in telem_pss_states_show()
624 conf->pss_idle_data[idx].bit_pos) & in telem_soc_states_show()
629 conf->pss_idle_data[idx].bit_pos) & in telem_soc_states_show()
/kernel/linux/linux-5.10/drivers/regulator/
Dtps65910-regulator.c827 u8 bit_pos = (1 << pmic->ext_sleep_control[id] & 0xFF); in tps65910_set_ext_sleep_config() local
856 TPS65910_EN1_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
859 TPS65910_EN1_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
869 TPS65910_EN2_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
872 TPS65910_EN2_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
884 TPS65910_EN3_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
887 TPS65910_EN3_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
899 TPS65910_SLEEP_KEEP_LDO_ON + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
902 TPS65910_SLEEP_SET_LDO_OFF + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
947 TPS65910_SLEEP_KEEP_LDO_ON + regoffs, bit_pos); in tps65910_set_ext_sleep_config()
[all …]
/kernel/linux/linux-5.10/sound/soc/tegra/
Dtegra210_ahub.c23 unsigned int reg, i, bit_pos = 0; in tegra_ahub_get_value_enum() local
37 bit_pos = ffs(reg_val) + in tegra_ahub_get_value_enum()
45 if (bit_pos == e->values[i]) { in tegra_ahub_get_value_enum()
64 unsigned int i, bit_pos, reg_idx = 0, reg_val = 0; in tegra_ahub_put_value_enum() local
73 bit_pos = (value - 1) % (8 * cmpnt->val_bytes); in tegra_ahub_put_value_enum()
74 reg_val = BIT(bit_pos); in tegra_ahub_put_value_enum()
/kernel/linux/linux-5.10/drivers/mfd/
Dpalmas.c330 int bit_pos, ret; in palmas_ext_control_req_config() local
349 bit_pos = pmic_ddata->sleep_req_info[id].bit_pos; in palmas_ext_control_req_config()
353 reg_add, BIT(bit_pos), BIT(bit_pos)); in palmas_ext_control_req_config()
356 reg_add, BIT(bit_pos), 0); in palmas_ext_control_req_config()
/kernel/linux/linux-5.10/lib/xz/
Dxz_dec_bcj.c204 uint32_t bit_pos; in bcj_ia64() local
224 for (slot = 0, bit_pos = 5; slot < 3; ++slot, bit_pos += 41) { in bcj_ia64()
228 byte_pos = bit_pos >> 3; in bcj_ia64()
229 bit_res = bit_pos & 7; in bcj_ia64()
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dheartbeat.h11 unsigned char *bit_pos; member
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/
Dpci-keystone.c154 u32 bit_pos; in ks_pcie_msi_irq_ack() local
160 bit_pos = irq >> 3; in ks_pcie_msi_irq_ack()
163 BIT(bit_pos)); in ks_pcie_msi_irq_ack()
200 u32 bit_pos; in ks_pcie_msi_mask() local
208 bit_pos = irq >> 3; in ks_pcie_msi_mask()
211 BIT(bit_pos)); in ks_pcie_msi_mask()
224 u32 bit_pos; in ks_pcie_msi_unmask() local
232 bit_pos = irq >> 3; in ks_pcie_msi_unmask()
235 BIT(bit_pos)); in ks_pcie_msi_unmask()
/kernel/linux/linux-5.10/include/linux/
Dcper.h451 u16 bit_pos; member
471 u16 bit_pos; member
491 u16 bit_pos; member
/kernel/linux/linux-5.10/arch/sh/boards/mach-se/7751/
Dsetup.c22 .bit_pos = heartbeat_bit_pos,
/kernel/linux/linux-5.10/arch/sh/boards/mach-se/7721/
Dsetup.c20 .bit_pos = heartbeat_bit_pos,
/kernel/linux/linux-5.10/arch/sh/boards/mach-se/7206/
Dsetup.c52 .bit_pos = heartbeat_bit_pos,
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/
Ddriver.c160 unsigned long flags, bit_pos; in scmi_xfer_get() local
165 bit_pos = find_first_zero_bit(minfo->xfer_alloc_table, in scmi_xfer_get()
167 if (bit_pos == info->desc->max_msg) { in scmi_xfer_get()
171 set_bit(bit_pos, minfo->xfer_alloc_table); in scmi_xfer_get()
174 xfer_id = bit_pos; in scmi_xfer_get()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_hw.c112 int chtls_set_tcb_tflag(struct sock *sk, unsigned int bit_pos, int val) in chtls_set_tcb_tflag() argument
114 return chtls_set_tcb_field(sk, 1, 1ULL << bit_pos, in chtls_set_tcb_tflag()
115 (u64)val << bit_pos); in chtls_set_tcb_tflag()
/kernel/linux/linux-5.10/arch/sh/boards/
Dboard-polaris.c69 .bit_pos = heartbeat_bit_pos,
/kernel/linux/linux-5.10/drivers/firmware/efi/
Dcper.c251 mem->bit_pos); in cper_mem_err_location()
300 cmem->bit_pos = mem->bit_pos; in cper_mem_err_pack()
/kernel/linux/linux-5.10/arch/sh/boards/mach-se/770x/
Dsetup.c96 .bit_pos = heartbeat_bit_pos,

12