/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | dir.c | 257 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 in f2fs_has_enough_room() 626 f2fs_update_dentry(nid_t ino, umode_t mode, struct f2fs_dentry_ptr *d, const struct fscrypt_str *name, f2fs_hash_t name_hash, unsigned int bit_pos) f2fs_update_dentry() argument 651 unsigned int bit_pos; f2fs_add_regular_entry() local 849 unsigned int bit_pos; f2fs_delete_entry() local 898 unsigned int bit_pos; f2fs_empty_dir() local 935 unsigned int bit_pos; f2fs_fill_dentries() local [all...] |
H A D | inline.c | 459 unsigned long bit_pos = 0; in f2fs_add_inline_entries() local 464 while (bit_pos < d.max) { in f2fs_add_inline_entries() 470 if (!test_bit_le(bit_pos, d.bitmap)) { in f2fs_add_inline_entries() 471 bit_pos++; in f2fs_add_inline_entries() 475 de = &d.dentry[bit_pos]; in f2fs_add_inline_entries() 478 bit_pos++; in f2fs_add_inline_entries() 487 fname.disk_name.name = d.filename[bit_pos]; in f2fs_add_inline_entries() 498 bit_pos += GET_DENTRY_SLOTS(le16_to_cpu(de->name_len)); in f2fs_add_inline_entries() 612 unsigned int bit_pos; in f2fs_add_inline_entry() local 626 bit_pos in f2fs_add_inline_entry() 677 unsigned int bit_pos; f2fs_delete_inline_entry() local 704 unsigned int bit_pos = 2; f2fs_empty_inline_dir() local [all...] |
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | dir.c | 256 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() 278 d->filename[bit_pos], in f2fs_find_target_dentry() 290 bit_pos += GET_DENTRY_SLOTS(le16_to_cpu(de->name_len)); in f2fs_find_target_dentry() 646 unsigned int bit_pos; in f2fs_has_enough_room() local 651 bit_pos in f2fs_has_enough_room() 656 f2fs_update_dentry(nid_t ino, umode_t mode, struct f2fs_dentry_ptr *d, const struct fscrypt_str *name, f2fs_hash_t name_hash, unsigned int bit_pos) f2fs_update_dentry() argument 681 unsigned int bit_pos; f2fs_add_regular_entry() local 885 unsigned int bit_pos; f2fs_delete_entry() local 934 unsigned int bit_pos; f2fs_empty_dir() local 977 unsigned int bit_pos; f2fs_fill_dentries() local [all...] |
H A D | inline.c | 467 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 in f2fs_add_inline_entry() 686 unsigned int bit_pos; f2fs_delete_inline_entry() local 713 unsigned int bit_pos = 2; f2fs_empty_inline_dir() local [all...] |
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | hmdfs_dentryfile_cloud.c | 63 unsigned long bit_pos = 0; in find_in_block() local 66 while (bit_pos < DENTRY_PER_GROUP_CLOUD) { in find_in_block() 67 if (!test_bit_le(bit_pos, dentry_blk->bitmap)) { in find_in_block() 68 bit_pos++; in find_in_block() 72 de = &dentry_blk->nsl[bit_pos]; in find_in_block() 74 bit_pos++; in find_in_block() 80 !memcmp(qstr->name, dentry_blk->filename[bit_pos], in find_in_block() 86 str_n_case_eq(qstr->name, dentry_blk->filename[bit_pos], in find_in_block() 90 bit_pos += get_dentry_slots(le16_to_cpu(de->namelen)); in find_in_block()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | hmdfs_dentryfile_cloud.c | 63 unsigned long bit_pos = 0; in find_in_block() local 66 while (bit_pos < DENTRY_PER_GROUP_CLOUD) { in find_in_block() 67 if (!test_bit_le(bit_pos, dentry_blk->bitmap)) { in find_in_block() 68 bit_pos++; in find_in_block() 72 de = &dentry_blk->nsl[bit_pos]; in find_in_block() 74 bit_pos++; in find_in_block() 80 !memcmp(qstr->name, dentry_blk->filename[bit_pos], in find_in_block() 86 str_n_case_eq(qstr->name, dentry_blk->filename[bit_pos], in find_in_block() 90 bit_pos += get_dentry_slots(le16_to_cpu(de->namelen)); in find_in_block()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_dmac_flt.c | 74 int otx2_dmacflt_add(struct otx2_nic *pf, const u8 *mac, u32 bit_pos) in otx2_dmacflt_add() argument 81 dmacindex = &pf->flow_cfg->bmap_to_dmacindex[bit_pos]; in otx2_dmacflt_add() 130 u32 bit_pos) in otx2_dmacflt_remove() 132 u32 dmacindex = pf->flow_cfg->bmap_to_dmacindex[bit_pos]; in otx2_dmacflt_remove() 177 int otx2_dmacflt_update(struct otx2_nic *pf, u8 *mac, u32 bit_pos) in otx2_dmacflt_update() argument 193 req->index = pf->flow_cfg->bmap_to_dmacindex[bit_pos]; in otx2_dmacflt_update() 204 pf->flow_cfg->bmap_to_dmacindex[bit_pos] = rsp->index; in otx2_dmacflt_update() 129 otx2_dmacflt_remove(struct otx2_nic *pf, const u8 *mac, u32 bit_pos) otx2_dmacflt_remove() argument
|
/kernel/linux/linux-5.10/drivers/scsi/cxlflash/ |
H A D | vlun.c | 156 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 in ba_alloc() 239 int idx = 0, bit_pos = 0; validate_alloc() local 259 int idx = 0, bit_pos = 0; ba_free() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/cxlflash/ |
H A D | vlun.c | 156 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 in ba_alloc() 239 int idx = 0, bit_pos = 0; validate_alloc() local 259 int idx = 0, bit_pos = 0; ba_free() local [all...] |
/kernel/linux/linux-5.10/arch/sh/drivers/ |
H A D | heartbeat.c | 37 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-6.6/arch/sh/drivers/ |
H A D | heartbeat.c | 37 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/arch/arm64/kernel/probes/ |
H A D | simulate-insn.c | 70 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-6.6/arch/arm64/kernel/probes/ |
H A D | simulate-insn.c | 71 int bit_pos = ((opcode & (1 << 31)) >> 26) | ((opcode >> 19) & 0x1f); in check_tbz() local 73 return ((get_x_reg(regs, xn) >> bit_pos) & 0x1) == 0; in check_tbz() 79 int bit_pos = ((opcode & (1 << 31)) >> 26) | ((opcode >> 19) & 0x1f); in check_tbnz() local 81 return ((get_x_reg(regs, xn) >> bit_pos) & 0x1) != 0; in check_tbnz()
|
/kernel/linux/linux-5.10/drivers/block/drbd/ |
H A D | drbd_proc.c | 193 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-6.6/drivers/block/drbd/ |
H A D | drbd_proc.c | 193 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/drivers/usb/gadget/udc/ |
H A D | mv_udc_core.c | 130 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, epctrl in mv_ep_enable() local 623 u32 bit_pos, direction; mv_ep_fifo_flush() local 752 u32 bit_pos; mv_prime_ep() local 1784 u32 tmp, bit_pos; irq_process_tr_complete() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | mv_udc_core.c | 130 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, epctrl in mv_ep_enable() local 623 u32 bit_pos, direction; mv_ep_fifo_flush() local 752 u32 bit_pos; mv_prime_ep() local 1785 u32 tmp, bit_pos; irq_process_tr_complete() local [all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | intel_telemetry_debugfs.c | 70 (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() [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/intel/telemetry/ |
H A D | debugfs.c | 70 (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() [all...] |
/kernel/linux/linux-5.10/sound/soc/tegra/ |
H A D | tegra210_ahub.c | 23 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/regulator/ |
H A D | tps65910-regulator.c | 827 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-6.6/drivers/regulator/ |
H A D | tps65910-regulator.c | 826 u8 bit_pos = (1 << pmic->ext_sleep_control[id] & 0xFF); in tps65910_set_ext_sleep_config() local 855 TPS65910_EN1_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config() 858 TPS65910_EN1_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config() 868 TPS65910_EN2_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config() 871 TPS65910_EN2_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config() 883 TPS65910_EN3_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config() 886 TPS65910_EN3_LDO_ASS + regoffs, bit_pos); in tps65910_set_ext_sleep_config() 898 TPS65910_SLEEP_KEEP_LDO_ON + regoffs, bit_pos); in tps65910_set_ext_sleep_config() 901 TPS65910_SLEEP_SET_LDO_OFF + regoffs, bit_pos); in tps65910_set_ext_sleep_config() 946 TPS65910_SLEEP_KEEP_LDO_ON + regoffs, bit_pos); in tps65910_set_ext_sleep_config() [all...] |
/kernel/linux/linux-5.10/lib/xz/ |
H A D | xz_dec_bcj.c | 204 uint32_t bit_pos; in bcj_ia64() local 206 /* bit_pos split into byte and bit parts */ in bcj_ia64() 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-6.6/lib/xz/ |
H A D | xz_dec_bcj.c | 204 uint32_t bit_pos; in bcj_ia64() local 206 /* bit_pos split into byte and bit parts */ in bcj_ia64() 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/drivers/mfd/ |
H A D | palmas.c | 330 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()
|