/linux-4.19.296/block/ |
D | Makefile | 6 obj-$(CONFIG_BLOCK) := bio.o elevator.o blk-core.o blk-tag.o blk-sysfs.o \ 7 blk-flush.o blk-settings.o blk-ioc.o blk-map.o \ 8 blk-exec.o blk-merge.o blk-softirq.o blk-timeout.o \ 9 blk-lib.o blk-mq.o blk-mq-tag.o blk-stat.o \ 10 blk-mq-sysfs.o blk-mq-cpumap.o blk-mq-sched.o ioctl.o \ 12 badblocks.o partitions/ blk-rq-qos.o 18 obj-$(CONFIG_BLK_CGROUP) += blk-cgroup.o 19 obj-$(CONFIG_BLK_DEV_THROTTLING) += blk-throttle.o 20 obj-$(CONFIG_BLK_CGROUP_IOLATENCY) += blk-iolatency.o 31 obj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o blk-integrity.o t10-pi.o [all …]
|
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-qup.c | 246 struct qup_i2c_block blk; member 288 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_interrupt() local 339 blk->tx_fifo_free += qup->out_blk_sz; in qup_i2c_interrupt() 350 if (!blk->is_rx_blk_mode) { in qup_i2c_interrupt() 351 blk->fifo_available += qup->in_fifo_sz; in qup_i2c_interrupt() 354 blk->fifo_available += qup->in_blk_sz; in qup_i2c_interrupt() 360 if (!blk->rx_bytes_read) in qup_i2c_interrupt() 370 if (blk->is_tx_blk_mode && !(opflags & QUP_MX_OUTPUT_DONE)) in qup_i2c_interrupt() 463 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_write_tx_fifo_v1() local 473 blk->tx_fifo_free--; in qup_i2c_write_tx_fifo_v1() [all …]
|
/linux-4.19.296/fs/xfs/scrub/ |
D | dabtree.c | 62 ds->state->path.blk[level].blkno), in xchk_da_process_error() 84 ds->state->path.blk[level].blkno), in xchk_da_set_corrupt() 96 struct xfs_da_state_blk *blk; in xchk_da_btree_entry() local 100 blk = &ds->state->path.blk[level]; in xchk_da_btree_entry() 101 baddr = blk->bp->b_addr; in xchk_da_btree_entry() 102 switch (blk->magic) { in xchk_da_btree_entry() 146 blks = ds->state->path.blk; in xchk_da_btree_hash() 282 if (ds->state->altpath.blk[level].bp) in xchk_da_btree_block_check_sibling() 284 ds->state->altpath.blk[level].bp); in xchk_da_btree_block_check_sibling() 287 if (ds->state->altpath.blk[level].blkno != sibling) in xchk_da_btree_block_check_sibling() [all …]
|
D | attr.c | 253 struct xfs_da_state_blk *blk = &ds->state->path.blk[level]; in xchk_xattr_block() local 254 struct xfs_buf *bp = blk->bp; in xchk_xattr_block() 267 if (*last_checked == blk->blkno) in xchk_xattr_block() 269 *last_checked = blk->blkno; in xchk_xattr_block() 341 struct xfs_da_state_blk *blk; in xchk_xattr_rec() local 352 blk = &ds->state->path.blk[level]; in xchk_xattr_rec() 367 bp = blk->bp; in xchk_xattr_rec()
|
/linux-4.19.296/fs/quota/ |
D | quota_tree.c | 58 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in read_blk() argument 64 info->dqi_usable_bs, (loff_t)blk << info->dqi_blocksize_bits); in read_blk() 67 static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in write_blk() argument 73 info->dqi_usable_bs, (loff_t)blk << info->dqi_blocksize_bits); in write_blk() 116 int ret, blk; in get_free_dqblk() local 121 blk = info->dqi_free_blk; in get_free_dqblk() 122 ret = read_blk(info, blk, buf); in get_free_dqblk() 136 blk = info->dqi_blocks++; in get_free_dqblk() 139 ret = blk; in get_free_dqblk() 146 static int put_free_dqblk(struct qtree_mem_dqinfo *info, char *buf, uint blk) in put_free_dqblk() argument [all …]
|
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_attr.c | 822 struct xfs_da_state_blk *blk; in xfs_attr_node_addname() local 846 blk = &state->path.blk[ state->path.active-1 ]; in xfs_attr_node_addname() 847 ASSERT(blk->magic == XFS_ATTR_LEAF_MAGIC); in xfs_attr_node_addname() 874 retval = xfs_attr3_leaf_add(blk->bp, state->args); in xfs_attr_node_addname() 995 blk = &state->path.blk[ state->path.active-1 ]; in xfs_attr_node_addname() 996 ASSERT(blk->magic == XFS_ATTR_LEAF_MAGIC); in xfs_attr_node_addname() 997 error = xfs_attr3_leaf_remove(blk->bp, args); in xfs_attr_node_addname() 1049 struct xfs_da_state_blk *blk; in xfs_attr_node_removename() local 1079 blk = &state->path.blk[ state->path.active-1 ]; in xfs_attr_node_removename() 1080 ASSERT(blk->bp != NULL); in xfs_attr_node_removename() [all …]
|
D | xfs_da_btree.c | 102 state->altpath.blk[i].bp = NULL; in xfs_da_state_kill_altpath() 388 ASSERT(state->path.blk[max].magic == XFS_ATTR_LEAF_MAGIC || in xfs_da3_split() 389 state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC); in xfs_da3_split() 391 addblk = &state->path.blk[max]; /* initial dummy value */ in xfs_da3_split() 393 oldblk = &state->path.blk[i]; in xfs_da3_split() 394 newblk = &state->altpath.blk[i]; in xfs_da3_split() 469 state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC); in xfs_da3_split() 475 oldblk = &state->path.blk[0]; in xfs_da3_split() 959 drop_blk = &state->path.blk[ state->path.active-1 ]; in xfs_da3_join() 960 save_blk = &state->altpath.blk[ state->path.active-1 ]; in xfs_da3_join() [all …]
|
D | xfs_dir2_node.c | 1432 xfs_da_state_blk_t *blk; /* leaf block */ in xfs_dir2_leafn_toosmall() local 1451 blk = &state->path.blk[state->path.active - 1]; in xfs_dir2_leafn_toosmall() 1452 leaf = blk->bp->b_addr; in xfs_dir2_leafn_toosmall() 1455 xfs_dir3_leaf_check(dp, blk->bp); in xfs_dir2_leafn_toosmall() 1541 if (blkno < blk->blkno) in xfs_dir2_leafn_toosmall() 1624 xfs_da_state_blk_t *blk; /* leaf block for insert */ in xfs_dir2_node_addname() local 1656 blk = &state->path.blk[state->path.active - 1]; in xfs_dir2_node_addname() 1657 ASSERT(blk->magic == XFS_DIR2_LEAFN_MAGIC); in xfs_dir2_node_addname() 1661 rval = xfs_dir2_leafn_add(blk->bp, args, blk->index); in xfs_dir2_node_addname() 2104 xfs_trans_brelse(args->trans, state->path.blk[i].bp); in xfs_dir2_node_lookup() [all …]
|
/linux-4.19.296/block/partitions/ |
D | amiga.c | 36 int blk, part, res = 0; in amiga_partition() local 41 for (blk = 0; ; blk++, put_dev_sector(sect)) { in amiga_partition() 42 if (blk == RDB_ALLOCATION_LIMIT) in amiga_partition() 44 data = read_part_sector(state, blk, §); in amiga_partition() 48 bdevname(state->bdev, b), blk); in amiga_partition() 65 blk); in amiga_partition() 70 bdevname(state->bdev, b), blk); in amiga_partition() 83 blk = be32_to_cpu(rdb->rdb_PartitionList); in amiga_partition() 85 for (part = 1; blk>0 && part<=16; part++, put_dev_sector(sect)) { in amiga_partition() 86 blk *= blksize; /* Read in terms partition table understands */ in amiga_partition() [all …]
|
D | ibm.c | 139 sector_t blk; in find_vol1_partitions() local 155 blk = cchhb2blk(&label->vol.vtoc, geo) + 1; in find_vol1_partitions() 157 data = read_part_sector(state, blk * secperblk, §); in find_vol1_partitions() 166 blk++; in find_vol1_partitions() 167 data = read_part_sector(state, blk * secperblk, §); in find_vol1_partitions() 184 blk++; in find_vol1_partitions() 185 data = read_part_sector(state, blk * secperblk, §); in find_vol1_partitions()
|
/linux-4.19.296/fs/affs/ |
D | bitmap.c | 44 u32 blk, bmap, bit, mask, tmp; in affs_free_block() local 52 blk = block - sbi->s_reserved; in affs_free_block() 53 bmap = blk / sbi->s_bmap_bits; in affs_free_block() 54 bit = blk % sbi->s_bmap_bits; in affs_free_block() 122 u32 blk, bmap, bit, mask, mask2, tmp; in affs_alloc_block() local 144 blk = goal - sbi->s_reserved; in affs_alloc_block() 145 bmap = blk / sbi->s_bmap_bits; in affs_alloc_block() 167 blk = bmap * sbi->s_bmap_bits; in affs_alloc_block() 182 bit = blk % sbi->s_bmap_bits; in affs_alloc_block() 186 blk &= ~31UL; in affs_alloc_block() [all …]
|
/linux-4.19.296/fs/gfs2/ |
D | recovery.h | 17 static inline void gfs2_replay_incr_blk(struct gfs2_jdesc *jd, unsigned int *blk) in gfs2_replay_incr_blk() argument 19 if (++*blk == jd->jd_blocks) in gfs2_replay_incr_blk() 20 *blk = 0; in gfs2_replay_incr_blk() 23 extern int gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk,
|
D | recovery.c | 35 int gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk, in gfs2_replay_read_block() argument 45 error = gfs2_extent_map(&ip->i_inode, blk, &new, &dblock, &extlen); in gfs2_replay_read_block() 137 static int get_log_header(struct gfs2_jdesc *jd, unsigned int blk, in get_log_header() argument 145 error = gfs2_replay_read_block(jd, blk, &bh); in get_log_header() 158 be32_to_cpu(lh->lh_blkno) != blk || in get_log_header() 186 static int find_good_lh(struct gfs2_jdesc *jd, unsigned int *blk, in find_good_lh() argument 189 unsigned int orig_blk = *blk; in find_good_lh() 193 error = get_log_header(jd, *blk, head); in find_good_lh() 197 if (++*blk == jd->jd_blocks) in find_good_lh() 198 *blk = 0; in find_good_lh() [all …]
|
/linux-4.19.296/include/sound/ |
D | util_mem.h | 34 #define snd_util_memblk_argptr(blk) (void*)((char*)(blk) + sizeof(struct snd_util_memblk)) argument 54 int snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk); 59 void __snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk);
|
D | emu10k1.h | 1571 #define snd_emu10k1_memblk_offset(blk) (((blk)->mapped_page << PAGE_SHIFT) | ((blk)->mem.offset & (… argument 1880 int snd_emu10k1_free_pages(struct snd_emu10k1 *emu, struct snd_util_memblk *blk); 1884 int snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *blk); 1885 int snd_emu10k1_synth_bzero(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offset, int s… 1886 int snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offs… 1887 int snd_emu10k1_memblk_map(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk);
|
/linux-4.19.296/fs/adfs/ |
D | dir_fplus.c | 21 unsigned int blk, size; in adfs_fplus_read() local 74 for (blk = 1; blk < size; blk++) { in adfs_fplus_read() 75 block = __adfs_block_map(sb, id, blk); in adfs_fplus_read() 77 adfs_error(sb, "dir object %X has a hole at offset %d", id, blk); in adfs_fplus_read() 81 dir->bh_fplus[blk] = sb_bread(sb, block); in adfs_fplus_read() 82 if (!dir->bh_fplus[blk]) { in adfs_fplus_read() 84 id, blk, block); in adfs_fplus_read()
|
D | dir_f.c | 147 int blk = 0; in adfs_dir_read() local 161 for (blk = 0; blk < size; blk++) { in adfs_dir_read() 164 phys = __adfs_block_map(sb, object_id, blk); in adfs_dir_read() 167 object_id, blk); in adfs_dir_read() 171 dir->bh[blk] = sb_bread(sb, phys); in adfs_dir_read() 172 if (!dir->bh[blk]) in adfs_dir_read() 190 dir->nr_buffers = blk; in adfs_dir_read() 198 for (blk -= 1; blk >= 0; blk -= 1) in adfs_dir_read() 199 brelse(dir->bh[blk]); in adfs_dir_read()
|
/linux-4.19.296/fs/ext4/ |
D | balloc.c | 335 ext4_fsblk_t blk; in ext4_valid_block_bitmap() local 350 blk = ext4_block_bitmap(sb, desc); in ext4_valid_block_bitmap() 351 offset = blk - group_first_block; in ext4_valid_block_bitmap() 355 return blk; in ext4_valid_block_bitmap() 358 blk = ext4_inode_bitmap(sb, desc); in ext4_valid_block_bitmap() 359 offset = blk - group_first_block; in ext4_valid_block_bitmap() 363 return blk; in ext4_valid_block_bitmap() 366 blk = ext4_inode_table(sb, desc); in ext4_valid_block_bitmap() 367 offset = blk - group_first_block; in ext4_valid_block_bitmap() 370 return blk; in ext4_valid_block_bitmap() [all …]
|
D | block_validity.c | 351 unsigned int blk; in ext4_check_blockref() local 359 blk = le32_to_cpu(*bref++); in ext4_check_blockref() 360 if (blk && in ext4_check_blockref() 361 unlikely(!ext4_inode_block_valid(inode, blk, 1))) { in ext4_check_blockref() 362 es->s_last_error_block = cpu_to_le64(blk); in ext4_check_blockref() 363 ext4_error_inode(inode, function, line, blk, in ext4_check_blockref()
|
/linux-4.19.296/drivers/edac/ |
D | edac_device.c | 63 struct edac_device_block *dev_blk, *blk_p, *blk; in edac_device_alloc_ctl_info() local 161 blk = &blk_p[block]; in edac_device_alloc_ctl_info() 162 blk->instance = inst; in edac_device_alloc_ctl_info() 163 snprintf(blk->name, sizeof(blk->name), in edac_device_alloc_ctl_info() 167 instance, inst, block, blk, blk->name); in edac_device_alloc_ctl_info() 176 blk->nr_attribs = nr_attrib; in edac_device_alloc_ctl_info() 178 blk->block_attributes = attrib_p; in edac_device_alloc_ctl_info() 181 blk->block_attributes); in edac_device_alloc_ctl_info() 198 attrib->block = blk; /* up link */ in edac_device_alloc_ctl_info()
|
/linux-4.19.296/fs/squashfs/ |
D | namei.c | 213 unsigned int blk, off, ino_num; in squashfs_lookup() local 215 blk = le32_to_cpu(dirh.start_block); in squashfs_lookup() 219 ino = SQUASHFS_MKINODE(blk, off); in squashfs_lookup() 223 blk, off, ino_num); in squashfs_lookup()
|
D | export.c | 55 int blk = SQUASHFS_LOOKUP_BLOCK(ino_num - 1); in squashfs_inode_lookup() local 66 start = le64_to_cpu(msblk->inode_lookup_table[blk]); in squashfs_inode_lookup()
|
/linux-4.19.296/fs/freevxfs/ |
D | vxfs_super.c | 156 unsigned blk, __fs32 magic) in vxfs_try_sb_magic() argument 163 bp = sb_bread(sbp, blk); in vxfs_try_sb_magic() 169 blk); in vxfs_try_sb_magic() 180 rsbp->vs_magic, blk); in vxfs_try_sb_magic()
|
/linux-4.19.296/drivers/base/regmap/ |
D | regcache-rbtree.c | 286 u8 *blk; in regcache_rbtree_insert_to_block() local 292 blk = krealloc(rbnode->block, in regcache_rbtree_insert_to_block() 295 if (!blk) in regcache_rbtree_insert_to_block() 298 rbnode->block = blk; in regcache_rbtree_insert_to_block() 316 memmove(blk + offset * map->cache_word_size, in regcache_rbtree_insert_to_block() 317 blk, rbnode->blklen * map->cache_word_size); in regcache_rbtree_insert_to_block()
|
/linux-4.19.296/fs/ufs/ |
D | util.h | 343 u64 blk) in ubh_get_data_ptr() argument 346 return ubh_get_addr64(ubh, blk); in ubh_get_data_ptr() 348 return ubh_get_addr32(ubh, blk); in ubh_get_data_ptr() 553 unsigned blk) in ufs_get_direct_data_ptr() argument 555 BUG_ON(blk > UFS_TIND_BLOCK); in ufs_get_direct_data_ptr() 557 (void *)&ufsi->i_u1.u2_i_data[blk] : in ufs_get_direct_data_ptr() 558 (void *)&ufsi->i_u1.i_data[blk]; in ufs_get_direct_data_ptr()
|