/linux-4.1.27/sound/pci/ctxfi/ |
D | cthardware.h | 90 int (*src_rsc_put_ctrl_blk)(void *blk); 91 int (*src_set_state)(void *blk, unsigned int state); 92 int (*src_set_bm)(void *blk, unsigned int bm); 93 int (*src_set_rsr)(void *blk, unsigned int rsr); 94 int (*src_set_sf)(void *blk, unsigned int sf); 95 int (*src_set_wr)(void *blk, unsigned int wr); 96 int (*src_set_pm)(void *blk, unsigned int pm); 97 int (*src_set_rom)(void *blk, unsigned int rom); 98 int (*src_set_vo)(void *blk, unsigned int vo); 99 int (*src_set_st)(void *blk, unsigned int st); [all …]
|
D | cthw20k2.c | 167 struct src_rsc_ctrl_blk *blk; in src_get_rsc_ctrl_blk() local 170 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in src_get_rsc_ctrl_blk() 171 if (!blk) in src_get_rsc_ctrl_blk() 174 *rblk = blk; in src_get_rsc_ctrl_blk() 179 static int src_put_rsc_ctrl_blk(void *blk) in src_put_rsc_ctrl_blk() argument 181 kfree(blk); in src_put_rsc_ctrl_blk() 186 static int src_set_state(void *blk, unsigned int state) in src_set_state() argument 188 struct src_rsc_ctrl_blk *ctl = blk; in src_set_state() 195 static int src_set_bm(void *blk, unsigned int bm) in src_set_bm() argument 197 struct src_rsc_ctrl_blk *ctl = blk; in src_set_bm() [all …]
|
D | cthw20k1.c | 167 struct src_rsc_ctrl_blk *blk; in src_get_rsc_ctrl_blk() local 170 blk = kzalloc(sizeof(*blk), GFP_KERNEL); in src_get_rsc_ctrl_blk() 171 if (!blk) in src_get_rsc_ctrl_blk() 174 *rblk = blk; in src_get_rsc_ctrl_blk() 179 static int src_put_rsc_ctrl_blk(void *blk) in src_put_rsc_ctrl_blk() argument 181 kfree((struct src_rsc_ctrl_blk *)blk); in src_put_rsc_ctrl_blk() 186 static int src_set_state(void *blk, unsigned int state) in src_set_state() argument 188 struct src_rsc_ctrl_blk *ctl = blk; in src_set_state() 195 static int src_set_bm(void *blk, unsigned int bm) in src_set_bm() argument 197 struct src_rsc_ctrl_blk *ctl = blk; in src_set_bm() [all …]
|
/linux-4.1.27/arch/powerpc/lib/ |
D | rheap.c | 47 rh_block_t *block, *blk; in grow() local 73 for (i = 0, blk = block; i < info->max_blocks; i++, blk++) in grow() 74 fixup(blks, blke, delta, &blk->list); in grow() 91 blk = block + info->max_blocks - new_blocks; in grow() 92 for (i = 0; i < new_blocks; i++, blk++) in grow() 93 list_add(&blk->list, &info->empty_list); in grow() 123 rh_block_t *blk; in get_slot() local 133 blk = list_entry(info->empty_list.next, rh_block_t, list); in get_slot() 134 list_del_init(&blk->list); in get_slot() 138 blk->start = 0; in get_slot() [all …]
|
/linux-4.1.27/sound/pci/emu10k1/ |
D | memory.c | 77 static int synth_alloc_pages(struct snd_emu10k1 *hw, struct snd_emu10k1_memblk *blk); 78 static int synth_free_pages(struct snd_emu10k1 *hw, struct snd_emu10k1_memblk *blk); 84 static void emu10k1_memblk_init(struct snd_emu10k1_memblk *blk) in emu10k1_memblk_init() argument 86 blk->mapped_page = -1; in emu10k1_memblk_init() 87 INIT_LIST_HEAD(&blk->mapped_link); in emu10k1_memblk_init() 88 INIT_LIST_HEAD(&blk->mapped_order_link); in emu10k1_memblk_init() 89 blk->map_locked = 0; in emu10k1_memblk_init() 91 blk->first_page = get_aligned_page(blk->mem.offset); in emu10k1_memblk_init() 92 blk->last_page = get_aligned_page(blk->mem.offset + blk->mem.size - 1); in emu10k1_memblk_init() 93 blk->pages = blk->last_page - blk->first_page + 1; in emu10k1_memblk_init() [all …]
|
/linux-4.1.27/block/ |
D | Makefile | 5 obj-$(CONFIG_BLOCK) := bio.o elevator.o blk-core.o blk-tag.o blk-sysfs.o \ 6 blk-flush.o blk-settings.o blk-ioc.o blk-map.o \ 7 blk-exec.o blk-merge.o blk-softirq.o blk-timeout.o \ 8 blk-iopoll.o blk-lib.o blk-mq.o blk-mq-tag.o \ 9 blk-mq-sysfs.o blk-mq-cpu.o blk-mq-cpumap.o ioctl.o \ 16 obj-$(CONFIG_BLK_CGROUP) += blk-cgroup.o 17 obj-$(CONFIG_BLK_DEV_THROTTLING) += blk-throttle.o 24 obj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o blk-integrity.o t10-pi.o
|
/linux-4.1.27/sound/synth/ |
D | util_mem.c | 75 struct snd_util_memblk *blk; in __snd_util_mem_alloc() local 92 blk = get_memblk(p); in __snd_util_mem_alloc() 93 if (blk->offset - prev_offset >= units) in __snd_util_mem_alloc() 95 prev_offset = blk->offset + blk->size; in __snd_util_mem_alloc() 113 struct snd_util_memblk *blk; in __snd_util_memblk_new() local 115 blk = kmalloc(sizeof(struct snd_util_memblk) + hdr->block_extra_size, in __snd_util_memblk_new() 117 if (blk == NULL) in __snd_util_memblk_new() 121 blk->offset = 0; in __snd_util_memblk_new() 124 blk->offset = p->offset + p->size; in __snd_util_memblk_new() 126 blk->size = units; in __snd_util_memblk_new() [all …]
|
/linux-4.1.27/fs/quota/ |
D | quota_tree.c | 52 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in read_blk() argument 58 info->dqi_usable_bs, blk << info->dqi_blocksize_bits); in read_blk() 61 static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in write_blk() argument 67 info->dqi_usable_bs, blk << info->dqi_blocksize_bits); in write_blk() 81 int ret, blk; in get_free_dqblk() local 86 blk = info->dqi_free_blk; in get_free_dqblk() 87 ret = read_blk(info, blk, buf); in get_free_dqblk() 98 blk = info->dqi_blocks++; in get_free_dqblk() 101 ret = blk; in get_free_dqblk() 108 static int put_free_dqblk(struct qtree_mem_dqinfo *info, char *buf, uint blk) in put_free_dqblk() argument [all …]
|
/linux-4.1.27/sound/pci/trident/ |
D | trident_memory.c | 133 #define firstpg(blk) (((struct snd_trident_memblk_arg *)snd_util_memblk_argptr(blk))->first_page) argument 134 #define lastpg(blk) (((struct snd_trident_memblk_arg *)snd_util_memblk_argptr(blk))->last_page) argument 142 struct snd_util_memblk *blk; in search_empty() local 149 blk = list_entry(p, struct snd_util_memblk, list); in search_empty() 150 if (page + psize <= firstpg(blk)) in search_empty() 152 page = lastpg(blk) + 1; in search_empty() 159 blk = __snd_util_memblk_new(hdr, psize * ALIGN_PAGE_SIZE, p->prev); in search_empty() 160 if (blk == NULL) in search_empty() 162 blk->offset = aligned_page_offset(page); /* set aligned offset */ in search_empty() 163 firstpg(blk) = page; in search_empty() [all …]
|
D | trident.h | 438 int snd_trident_free_pages(struct snd_trident *trident, struct snd_util_memblk *blk); 440 int snd_trident_synth_free(struct snd_trident *trident, struct snd_util_memblk *blk); 441 int snd_trident_synth_copy_from_user(struct snd_trident *trident, struct snd_util_memblk *blk,
|
/linux-4.1.27/drivers/net/wireless/orinoco/ |
D | hermes_dld.c | 96 dblock_addr(const struct dblock *blk) in dblock_addr() argument 98 return le32_to_cpu(blk->addr); in dblock_addr() 102 dblock_len(const struct dblock *blk) in dblock_len() argument 104 return le16_to_cpu(blk->len); in dblock_len() 256 const struct dblock *blk = (const struct dblock *) first_block; in hermes_blocks_length() local 260 end -= sizeof(*blk); in hermes_blocks_length() 264 while (((void *) blk <= end) && in hermes_blocks_length() 265 (dblock_addr(blk) != BLOCK_END)) { in hermes_blocks_length() 266 len = dblock_len(blk); in hermes_blocks_length() 267 total_len += sizeof(*blk) + len; in hermes_blocks_length() [all …]
|
/linux-4.1.27/block/partitions/ |
D | amiga.c | 34 int start_sect, nr_sects, blk, part, res = 0; in amiga_partition() local 39 for (blk = 0; ; blk++, put_dev_sector(sect)) { in amiga_partition() 40 if (blk == RDB_ALLOCATION_LIMIT) in amiga_partition() 42 data = read_part_sector(state, blk, §); in amiga_partition() 46 bdevname(state->bdev, b), blk); in amiga_partition() 63 blk); in amiga_partition() 68 bdevname(state->bdev, b), blk); in amiga_partition() 81 blk = be32_to_cpu(rdb->rdb_PartitionList); in amiga_partition() 83 for (part = 1; blk>0 && part<=16; part++, put_dev_sector(sect)) { in amiga_partition() 84 blk *= blksize; /* Read in terms partition table understands */ in amiga_partition() [all …]
|
D | ibm.c | 138 sector_t blk; in find_vol1_partitions() local 154 blk = cchhb2blk(&label->vol.vtoc, geo) + 1; in find_vol1_partitions() 156 data = read_part_sector(state, blk * secperblk, §); in find_vol1_partitions() 165 blk++; in find_vol1_partitions() 166 data = read_part_sector(state, blk * secperblk, §); in find_vol1_partitions() 183 blk++; in find_vol1_partitions() 184 data = read_part_sector(state, blk * secperblk, §); in find_vol1_partitions()
|
/linux-4.1.27/fs/xfs/libxfs/ |
D | xfs_attr.c | 880 xfs_da_state_blk_t *blk; in xfs_attr_node_addname() local 904 blk = &state->path.blk[ state->path.active-1 ]; in xfs_attr_node_addname() 905 ASSERT(blk->magic == XFS_ATTR_LEAF_MAGIC); in xfs_attr_node_addname() 932 retval = xfs_attr3_leaf_add(blk->bp, state->args); in xfs_attr_node_addname() 1081 blk = &state->path.blk[ state->path.active-1 ]; in xfs_attr_node_addname() 1082 ASSERT(blk->magic == XFS_ATTR_LEAF_MAGIC); in xfs_attr_node_addname() 1083 error = xfs_attr3_leaf_remove(blk->bp, args); in xfs_attr_node_addname() 1149 xfs_da_state_blk_t *blk; in xfs_attr_node_removename() local 1179 blk = &state->path.blk[ state->path.active-1 ]; in xfs_attr_node_removename() 1180 ASSERT(blk->bp != NULL); in xfs_attr_node_removename() [all …]
|
D | xfs_da_btree.c | 113 state->altpath.blk[i].bp = NULL; in xfs_da_state_kill_altpath() 369 ASSERT(state->path.blk[max].magic == XFS_ATTR_LEAF_MAGIC || in xfs_da3_split() 370 state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC); in xfs_da3_split() 372 addblk = &state->path.blk[max]; /* initial dummy value */ in xfs_da3_split() 374 oldblk = &state->path.blk[i]; in xfs_da3_split() 375 newblk = &state->altpath.blk[i]; in xfs_da3_split() 446 oldblk = &state->path.blk[0]; in xfs_da3_split() 940 drop_blk = &state->path.blk[ state->path.active-1 ]; in xfs_da3_join() 941 save_blk = &state->altpath.blk[ state->path.active-1 ]; in xfs_da3_join() 942 ASSERT(state->path.blk[0].magic == XFS_DA_NODE_MAGIC); in xfs_da3_join() [all …]
|
D | xfs_dir2_node.c | 1378 xfs_da_state_blk_t *blk; /* leaf block */ in xfs_dir2_leafn_toosmall() local 1397 blk = &state->path.blk[state->path.active - 1]; in xfs_dir2_leafn_toosmall() 1398 leaf = blk->bp->b_addr; in xfs_dir2_leafn_toosmall() 1401 xfs_dir3_leaf_check(dp, blk->bp); in xfs_dir2_leafn_toosmall() 1487 if (blkno < blk->blkno) in xfs_dir2_leafn_toosmall() 1570 xfs_da_state_blk_t *blk; /* leaf block for insert */ in xfs_dir2_node_addname() local 1602 blk = &state->path.blk[state->path.active - 1]; in xfs_dir2_node_addname() 1603 ASSERT(blk->magic == XFS_DIR2_LEAFN_MAGIC); in xfs_dir2_node_addname() 1607 rval = xfs_dir2_leafn_add(blk->bp, args, blk->index); in xfs_dir2_node_addname() 2046 xfs_trans_brelse(args->trans, state->path.blk[i].bp); in xfs_dir2_node_lookup() [all …]
|
D | xfs_da_btree.h | 125 xfs_da_state_blk_t blk[XFS_DA_NODE_MAXDEPTH]; member
|
D | xfs_attr_leaf.c | 1746 struct xfs_da_state_blk *blk; in xfs_attr3_leaf_toosmall() local 1763 blk = &state->path.blk[ state->path.active-1 ]; in xfs_attr3_leaf_toosmall() 1764 leaf = blk->bp->b_addr; in xfs_attr3_leaf_toosmall() 1844 if (blkno < blk->blkno) { in xfs_attr3_leaf_toosmall()
|
D | xfs_dir2_leaf.c | 1737 lbp = state->path.blk[0].bp; in xfs_dir2_node_to_leaf() 1817 state->path.blk[0].bp = NULL; in xfs_dir2_node_to_leaf()
|
/linux-4.1.27/fs/affs/ |
D | bitmap.c | 43 u32 blk, bmap, bit, mask, tmp; in affs_free_block() local 51 blk = block - sbi->s_reserved; in affs_free_block() 52 bmap = blk / sbi->s_bmap_bits; in affs_free_block() 53 bit = blk % sbi->s_bmap_bits; in affs_free_block() 121 u32 blk, bmap, bit, mask, mask2, tmp; in affs_alloc_block() local 143 blk = goal - sbi->s_reserved; in affs_alloc_block() 144 bmap = blk / sbi->s_bmap_bits; in affs_alloc_block() 166 blk = bmap * sbi->s_bmap_bits; in affs_alloc_block() 181 bit = blk % sbi->s_bmap_bits; in affs_alloc_block() 185 blk &= ~31UL; in affs_alloc_block() [all …]
|
D | file.c | 838 u32 last_blk, blkcnt, blk; in affs_truncate() local 895 blk = last_blk; in affs_truncate() 898 blk++; in affs_truncate() 903 if (size > blkcnt - blk + i) in affs_truncate() 904 size = blkcnt - blk + i; in affs_truncate() 905 for (; i < size; i++, blk++) { in affs_truncate() 941 if (size > blkcnt - blk) in affs_truncate() 942 size = blkcnt - blk; in affs_truncate() 943 for (i = 0; i < size; i++, blk++) in affs_truncate()
|
D | affs.h | 18 #define AFFS_BLOCK(sb, bh, blk) (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hashsize-1-(blk)]) argument
|
/linux-4.1.27/arch/x86/mm/ |
D | numa.c | 150 mi->blk[mi->nr_blks].start = start; in numa_add_memblk_to() 151 mi->blk[mi->nr_blks].end = end; in numa_add_memblk_to() 152 mi->blk[mi->nr_blks].nid = nid; in numa_add_memblk_to() 168 memmove(&mi->blk[idx], &mi->blk[idx + 1], in numa_remove_memblk_from() 169 (mi->nr_blks - idx) * sizeof(mi->blk[0])); in numa_remove_memblk_from() 243 struct numa_memblk *bi = &mi->blk[i]; in numa_cleanup_meminfo() 256 struct numa_memblk *bi = &mi->blk[i]; in numa_cleanup_meminfo() 259 struct numa_memblk *bj = &mi->blk[j]; in numa_cleanup_meminfo() 289 struct numa_memblk *bk = &mi->blk[k]; in numa_cleanup_meminfo() 308 for (i = mi->nr_blks; i < ARRAY_SIZE(mi->blk); i++) { in numa_cleanup_meminfo() [all …]
|
D | numa_emulation.c | 26 if (mi->blk[i].nid == nid) in emu_find_memblk_by_nid() 49 struct numa_memblk *eb = &ei->blk[ei->nr_blks]; in emu_setup_memblk() 50 struct numa_memblk *pb = &pi->blk[phys_blk]; in emu_setup_memblk() 120 node_set(pi->blk[i].nid, physnode_mask); in split_nodes_interleave() 137 start = pi->blk[phys_blk].start; in split_nodes_interleave() 138 limit = pi->blk[phys_blk].end; in split_nodes_interleave() 235 node_set(pi->blk[i].nid, physnode_mask); in split_nodes_size_interleave() 252 start = pi->blk[phys_blk].start; in split_nodes_size_interleave() 253 limit = pi->blk[phys_blk].end; in split_nodes_size_interleave()
|
D | numa_internal.h | 15 struct numa_memblk blk[NR_NODE_MEMBLKS]; member
|
/linux-4.1.27/Documentation/DocBook/ |
D | .kernel-api.xml.cmd | 2 …blk-core.c block/blk-core.c block/blk-map.c block/blk-sysfs.c block/blk-settings.c block/blk-exec.…
|
/linux-4.1.27/drivers/media/platform/vivid/ |
D | vivid-radio-tx.c | 40 unsigned blk; in vivid_radio_tx_write() local 62 blk = ts.tv_sec * 100 + ts.tv_nsec / 10000000; in vivid_radio_tx_write() 63 blk = (blk * VIVID_RDS_GEN_BLOCKS) / 500; in vivid_radio_tx_write() 64 if (blk - VIVID_RDS_GEN_BLOCKS >= dev->radio_tx_rds_last_block) in vivid_radio_tx_write() 65 dev->radio_tx_rds_last_block = blk - VIVID_RDS_GEN_BLOCKS + 1; in vivid_radio_tx_write() 73 if (blk == dev->radio_tx_rds_last_block || in vivid_radio_tx_write() 85 for (i = 0; i < size && blk > dev->radio_tx_rds_last_block; in vivid_radio_tx_write()
|
D | vivid-radio-rx.c | 42 unsigned blk; in vivid_radio_rx_read() local 74 blk = ts.tv_sec * 100 + ts.tv_nsec / 10000000; in vivid_radio_rx_read() 75 blk = (blk * VIVID_RDS_GEN_BLOCKS) / 500; in vivid_radio_rx_read() 76 if (blk >= dev->radio_rx_rds_last_block + VIVID_RDS_GEN_BLOCKS) in vivid_radio_rx_read() 77 dev->radio_rx_rds_last_block = blk - VIVID_RDS_GEN_BLOCKS + 1; in vivid_radio_rx_read() 85 if (blk == dev->radio_rx_rds_last_block || !dev->radio_rx_rds_enabled || in vivid_radio_rx_read() 101 for (i = 0; i < size && blk > dev->radio_rx_rds_last_block; in vivid_radio_rx_read()
|
/linux-4.1.27/fs/gfs2/ |
D | recovery.h | 17 static inline void gfs2_replay_incr_blk(struct gfs2_sbd *sdp, unsigned int *blk) in gfs2_replay_incr_blk() argument 19 if (++*blk == sdp->sd_jdesc->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 | 32 int gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk, in gfs2_replay_read_block() argument 42 error = gfs2_extent_map(&ip->i_inode, blk, &new, &dblock, &extlen); in gfs2_replay_read_block() 150 static int get_log_header(struct gfs2_jdesc *jd, unsigned int blk, in get_log_header() argument 159 error = gfs2_replay_read_block(jd, blk, &bh); in get_log_header() 170 if (error || lh.lh_blkno != blk || lh.lh_hash != hash) in get_log_header() 191 static int find_good_lh(struct gfs2_jdesc *jd, unsigned int *blk, in find_good_lh() argument 194 unsigned int orig_blk = *blk; in find_good_lh() 198 error = get_log_header(jd, *blk, head); in find_good_lh() 202 if (++*blk == jd->jd_blocks) in find_good_lh() 203 *blk = 0; in find_good_lh() [all …]
|
D | dir.c | 1885 u64 blk, nblk; in leaf_dealloc() local 1911 for (blk = leaf_no; blk; blk = nblk) { in leaf_dealloc() 1912 if (blk != leaf_no) { in leaf_dealloc() 1913 error = get_leaf(dip, blk, &bh); in leaf_dealloc() 1919 if (blk != leaf_no) in leaf_dealloc() 1922 gfs2_rlist_add(dip, &rlist, blk); in leaf_dealloc() 1946 for (blk = leaf_no; blk; blk = nblk) { in leaf_dealloc() 1947 if (blk != leaf_no) { in leaf_dealloc() 1948 error = get_leaf(dip, blk, &bh); in leaf_dealloc() 1954 if (blk != leaf_no) in leaf_dealloc() [all …]
|
D | rgrp.c | 186 static inline int rs_cmp(u64 blk, u32 len, struct gfs2_blkreserv *rs) in rs_cmp() argument 190 if (blk >= startblk + rs->rs_free) in rs_cmp() 192 if (blk + len - 1 < startblk) in rs_cmp() 503 struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk, bool exact) in gfs2_blk2rgrpd() argument 513 if (blk < cur->rd_addr) in gfs2_blk2rgrpd() 515 else if (blk >= cur->rd_data0 + cur->rd_data) in gfs2_blk2rgrpd() 520 if (blk < cur->rd_addr) in gfs2_blk2rgrpd() 522 if (blk >= cur->rd_data0 + cur->rd_data) in gfs2_blk2rgrpd() 1272 u64 blk; in gfs2_rgrp_send_discards() local 1293 blk = offset + ((bi->bi_start + x) * GFS2_NBBY); in gfs2_rgrp_send_discards() [all …]
|
D | rgrp.h | 31 extern struct gfs2_rgrpd *gfs2_blk2rgrpd(struct gfs2_sbd *sdp, u64 blk, bool exact);
|
D | xattr.c | 1004 u64 blk; in ea_set_block() local 1006 error = gfs2_alloc_blocks(ip, &blk, &n, 0, NULL); in ea_set_block() 1009 gfs2_trans_add_unrevoke(sdp, blk, 1); in ea_set_block() 1010 indbh = gfs2_meta_new(ip->i_gl, blk); in ea_set_block() 1017 ip->i_eattr = blk; in ea_set_block()
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | ppc4xx_ocm.c | 87 struct ocm_block *blk, *tmp; in ocm_free_region() local 93 list_for_each_entry_safe(blk, tmp, &ocm_reg->list, list) { in ocm_free_region() 94 if (blk->addr == addr) { in ocm_free_region() 96 ocm_reg->memfree += blk->size; in ocm_free_region() 98 list_del(&blk->list); in ocm_free_region() 99 kfree(blk); in ocm_free_region() 235 struct ocm_block *blk, *tmp; in ocm_debugfs_show() local 257 list_for_each_entry_safe(blk, tmp, &ocm->nc.list, list) { in ocm_debugfs_show() 259 blk->size, blk->owner); in ocm_debugfs_show() 269 list_for_each_entry_safe(blk, tmp, &ocm->c.list, list) { in ocm_debugfs_show() [all …]
|
/linux-4.1.27/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 1879 int snd_emu10k1_free_pages(struct snd_emu10k1 *emu, struct snd_util_memblk *blk); 1881 int snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *blk); 1882 int snd_emu10k1_synth_bzero(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offset, int s… 1883 int snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offs… 1884 int snd_emu10k1_memblk_map(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk);
|
/linux-4.1.27/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.1.27/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_smp.c | 143 int blk = find_first_zero_bit(smp->state, cnt); in smp_request_block() local 144 set_bit(blk, ps->pending); in smp_request_block() 145 set_bit(blk, smp->state); in smp_request_block() 150 int blk = find_first_bit(ps->pending, cnt); in smp_request_block() local 151 clear_bit(blk, ps->pending); in smp_request_block() 238 u32 blk, val; in update_smp_state() local 240 for_each_set_bit(blk, *assigned, cnt) { in update_smp_state() 241 int idx = blk / 3; in update_smp_state() 242 int fld = blk % 3; in update_smp_state()
|
/linux-4.1.27/drivers/edac/ |
D | edac_device.c | 78 struct edac_device_block *dev_blk, *blk_p, *blk; in edac_device_alloc_ctl_info() local 176 blk = &blk_p[block]; in edac_device_alloc_ctl_info() 177 blk->instance = inst; in edac_device_alloc_ctl_info() 178 snprintf(blk->name, sizeof(blk->name), in edac_device_alloc_ctl_info() 182 instance, inst, block, blk, blk->name); in edac_device_alloc_ctl_info() 191 blk->nr_attribs = nr_attrib; in edac_device_alloc_ctl_info() 193 blk->block_attributes = attrib_p; in edac_device_alloc_ctl_info() 196 blk->block_attributes); in edac_device_alloc_ctl_info() 213 attrib->block = blk; /* up link */ in edac_device_alloc_ctl_info()
|
/linux-4.1.27/arch/arm64/crypto/ |
D | Makefile | 26 obj-$(CONFIG_CRYPTO_AES_ARM64_CE_BLK) += aes-ce-blk.o 27 aes-ce-blk-y := aes-glue-ce.o aes-ce.o 29 obj-$(CONFIG_CRYPTO_AES_ARM64_NEON_BLK) += aes-neon-blk.o 30 aes-neon-blk-y := aes-glue-neon.o aes-neon.o
|
/linux-4.1.27/fs/ext4/ |
D | block_validity.c | 227 unsigned int blk; in ext4_check_blockref() local 230 blk = le32_to_cpu(*bref++); in ext4_check_blockref() 231 if (blk && in ext4_check_blockref() 233 blk, 1))) { in ext4_check_blockref() 234 es->s_last_error_block = cpu_to_le64(blk); in ext4_check_blockref() 235 ext4_error_inode(inode, function, line, blk, in ext4_check_blockref()
|
D | balloc.c | 322 ext4_fsblk_t blk; in ext4_valid_block_bitmap() local 337 blk = ext4_block_bitmap(sb, desc); in ext4_valid_block_bitmap() 338 offset = blk - group_first_block; in ext4_valid_block_bitmap() 341 return blk; in ext4_valid_block_bitmap() 344 blk = ext4_inode_bitmap(sb, desc); in ext4_valid_block_bitmap() 345 offset = blk - group_first_block; in ext4_valid_block_bitmap() 348 return blk; in ext4_valid_block_bitmap() 351 blk = ext4_inode_table(sb, desc); in ext4_valid_block_bitmap() 352 offset = blk - group_first_block; in ext4_valid_block_bitmap() 359 return blk; in ext4_valid_block_bitmap() [all …]
|
D | resize.c | 355 ext4_fsblk_t blk) in bclean() argument 360 bh = sb_getblk(sb, blk); in bclean() 714 const ext4_fsblk_t blk = primary->b_blocknr; in verify_reserved_gdb() local 724 grp * EXT4_BLOCKS_PER_GROUP(sb) + blk){ in verify_reserved_gdb() 727 blk, grp, in verify_reserved_gdb() 730 blk); in verify_reserved_gdb() 941 ext4_fsblk_t blk; in reserve_backup_gdb() local 958 blk = EXT4_SB(sb)->s_sbh->b_blocknr + 1 + EXT4_SB(sb)->s_gdb_count; in reserve_backup_gdb() 964 for (res = 0; res < reserved_gdb; res++, blk++) { in reserve_backup_gdb() 965 if (le32_to_cpu(*data) != blk) { in reserve_backup_gdb() [all …]
|
D | ext4.h | 256 #define EXT4_B2C(sbi, blk) ((blk) >> (sbi)->s_cluster_bits) argument 2498 struct ext4_group_desc *bg, ext4_fsblk_t blk); 2500 struct ext4_group_desc *bg, ext4_fsblk_t blk); 2502 struct ext4_group_desc *bg, ext4_fsblk_t blk); 2553 ext4_fsblk_t blk) in ext4_blocks_count_set() argument 2555 es->s_blocks_count_lo = cpu_to_le32((u32)blk); in ext4_blocks_count_set() 2556 es->s_blocks_count_hi = cpu_to_le32(blk >> 32); in ext4_blocks_count_set() 2560 ext4_fsblk_t blk) in ext4_free_blocks_count_set() argument 2562 es->s_free_blocks_count_lo = cpu_to_le32((u32)blk); in ext4_free_blocks_count_set() 2563 es->s_free_blocks_count_hi = cpu_to_le32(blk >> 32); in ext4_free_blocks_count_set() [all …]
|
D | migrate.c | 624 ext4_fsblk_t blk; in ext4_ind_migrate() local 662 blk = len = start = end = 0; in ext4_ind_migrate() 665 blk = ext4_ext_pblock(ex); in ext4_ind_migrate() 677 ei->i_data[i] = cpu_to_le32(blk++); in ext4_ind_migrate()
|
D | super.c | 235 struct ext4_group_desc *bg, ext4_fsblk_t blk) in ext4_block_bitmap_set() argument 237 bg->bg_block_bitmap_lo = cpu_to_le32((u32)blk); in ext4_block_bitmap_set() 239 bg->bg_block_bitmap_hi = cpu_to_le32(blk >> 32); in ext4_block_bitmap_set() 243 struct ext4_group_desc *bg, ext4_fsblk_t blk) in ext4_inode_bitmap_set() argument 245 bg->bg_inode_bitmap_lo = cpu_to_le32((u32)blk); in ext4_inode_bitmap_set() 247 bg->bg_inode_bitmap_hi = cpu_to_le32(blk >> 32); in ext4_inode_bitmap_set() 251 struct ext4_group_desc *bg, ext4_fsblk_t blk) in ext4_inode_table_set() argument 253 bg->bg_inode_table_lo = cpu_to_le32((u32)blk); in ext4_inode_table_set() 255 bg->bg_inode_table_hi = cpu_to_le32(blk >> 32); in ext4_inode_table_set() 5428 ext4_lblk_t blk = off >> EXT4_BLOCK_SIZE_BITS(sb); in ext4_quota_read() local [all …]
|
D | indirect.c | 545 ext4_fsblk_t blk; in ext4_ind_map_blocks() local 547 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext4_ind_map_blocks() 549 if (blk == first_block + count) in ext4_ind_map_blocks()
|
D | ialloc.c | 1262 ext4_fsblk_t blk; in ext4_init_inode_table() local 1309 blk = ext4_inode_table(sb, gdp) + used_blks; in ext4_init_inode_table() 1328 ret = sb_issue_zeroout(sb, blk, num, GFP_NOFS); in ext4_init_inode_table()
|
D | extents.c | 1806 ext4_fsblk_t blk; in ext4_ext_try_to_merge_up() local 1824 blk = ext4_idx_pblock(path[0].p_idx); in ext4_ext_try_to_merge_up() 1837 ext4_free_blocks(handle, inode, NULL, blk, 1, in ext4_ext_try_to_merge_up()
|
/linux-4.1.27/arch/arm/mach-ixp4xx/ |
D | ixp4xx_npe.c | 515 } *blk; in npe_load_firmware() local 619 for (i = 0, blk = image->blocks; i < blocks; i++, blk++) { in npe_load_firmware() 620 if (blk->offset > image->size - sizeof(struct dl_codeblock) / 4 in npe_load_firmware() 621 || blk->offset < table_end) { in npe_load_firmware() 623 "firmware block #%i\n", blk->offset, i); in npe_load_firmware() 627 cb = (struct dl_codeblock*)&image->data[blk->offset]; in npe_load_firmware() 628 if (blk->type == FW_BLOCK_TYPE_INSTR) { in npe_load_firmware() 632 } else if (blk->type == FW_BLOCK_TYPE_DATA) { in npe_load_firmware() 638 "type 0x%X\n", i, blk->type); in npe_load_firmware() 641 if (blk->offset + sizeof(*cb) / 4 + cb->size > image->size) { in npe_load_firmware() [all …]
|
/linux-4.1.27/drivers/mtd/ |
D | ftl.c | 729 uint32_t blk; in find_free() local 764 for (blk = 0; blk < part->BlocksPerUnit; blk++) in find_free() 765 if (BLOCK_FREE(le32_to_cpu(part->bam_cache[blk]))) break; in find_free() 766 if (blk == part->BlocksPerUnit) { in find_free() 775 pr_debug("ftl_cs: found free block at %d in %d\n", blk, eun); in find_free() 776 return blk; in find_free() 836 uint32_t bsize, blk, le_virt_addr; in set_bam_entry() local 848 blk = (log_addr % bsize) / SECTOR_SIZE; in set_bam_entry() 849 offset = (part->EUNInfo[eun].Offset + blk * sizeof(uint32_t) + in set_bam_entry() 876 if (le32_to_cpu(part->bam_cache[blk]) != old_addr) { in set_bam_entry() [all …]
|
/linux-4.1.27/drivers/crypto/ |
D | geode-aes.c | 171 op->fallback.blk->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in geode_setkey_blk() 172 op->fallback.blk->base.crt_flags |= (tfm->crt_flags & CRYPTO_TFM_REQ_MASK); in geode_setkey_blk() 174 ret = crypto_blkcipher_setkey(op->fallback.blk, key, len); in geode_setkey_blk() 177 tfm->crt_flags |= (op->fallback.blk->base.crt_flags & CRYPTO_TFM_RES_MASK); in geode_setkey_blk() 191 desc->tfm = op->fallback.blk; in fallback_blk_dec() 207 desc->tfm = op->fallback.blk; in fallback_blk_enc() 371 op->fallback.blk = crypto_alloc_blkcipher(name, 0, in fallback_init_blk() 374 if (IS_ERR(op->fallback.blk)) { in fallback_init_blk() 376 return PTR_ERR(op->fallback.blk); in fallback_init_blk() 386 crypto_free_blkcipher(op->fallback.blk); in fallback_exit_blk() [all …]
|
D | geode-aes.h | 67 struct crypto_blkcipher *blk; member
|
D | mxs-dcp.c | 487 struct crypto_ablkcipher *blk; in mxs_dcp_aes_fallback_init() local 489 blk = crypto_alloc_ablkcipher(name, 0, flags); in mxs_dcp_aes_fallback_init() 490 if (IS_ERR(blk)) in mxs_dcp_aes_fallback_init() 491 return PTR_ERR(blk); in mxs_dcp_aes_fallback_init() 493 actx->fallback = blk; in mxs_dcp_aes_fallback_init()
|
/linux-4.1.27/drivers/lguest/ |
D | interrupts_and_traps.c | 200 DECLARE_BITMAP(blk, LGUEST_IRQS); in interrupt_pending() 210 if (copy_from_user(&blk, cpu->lg->lguest_data->blocked_interrupts, in interrupt_pending() 211 sizeof(blk))) in interrupt_pending() 213 bitmap_andnot(blk, cpu->irqs_pending, blk, LGUEST_IRQS); in interrupt_pending() 216 irq = find_first_bit(blk, LGUEST_IRQS); in interrupt_pending() 217 *more = find_next_bit(blk, LGUEST_IRQS, irq+1); in interrupt_pending()
|
/linux-4.1.27/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 57 u64 start = le64_to_cpu(msblk->inode_lookup_table[blk]); in squashfs_inode_lookup()
|
/linux-4.1.27/fs/ext3/ |
D | resize.c | 113 ext3_fsblk_t blk) in bclean() argument 118 bh = sb_getblk(sb, blk); in bclean() 389 const ext3_fsblk_t blk = primary->b_blocknr; in verify_reserved_gdb() local 399 if (le32_to_cpu(*p++) != grp * EXT3_BLOCKS_PER_GROUP(sb) + blk){ in verify_reserved_gdb() 403 blk, grp, in verify_reserved_gdb() 404 grp * EXT3_BLOCKS_PER_GROUP(sb) + blk); in verify_reserved_gdb() 587 ext3_fsblk_t blk; in reserve_backup_gdb() local 604 blk = EXT3_SB(sb)->s_sbh->b_blocknr + 1 + EXT3_SB(sb)->s_gdb_count; in reserve_backup_gdb() 610 for (res = 0; res < reserved_gdb; res++, blk++) { in reserve_backup_gdb() 611 if (le32_to_cpu(*data) != blk) { in reserve_backup_gdb() [all …]
|
D | dir.c | 116 unsigned long blk = ctx->pos >> EXT3_BLOCK_SIZE_BITS(sb); in ext3_readdir() local 121 err = ext3_get_blocks_handle(NULL, inode, blk, 1, &map_bh, 0); in ext3_readdir() 131 bh = ext3_bread(NULL, inode, blk, 0, &err); in ext3_readdir()
|
D | super.c | 3020 sector_t blk = off >> EXT3_BLOCK_SIZE_BITS(sb); in ext3_quota_read() local 3036 bh = ext3_bread(NULL, inode, blk, 0, &err); in ext3_quota_read() 3047 blk++; in ext3_quota_read() 3058 sector_t blk = off >> EXT3_BLOCK_SIZE_BITS(sb); in ext3_quota_write() local 3083 bh = ext3_bread(handle, inode, blk, 1, &err); in ext3_quota_write()
|
D | inode.c | 891 ext3_fsblk_t blk; in ext3_get_blocks_handle() local 905 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext3_get_blocks_handle() 907 if (blk == first_block + count) in ext3_get_blocks_handle()
|
/linux-4.1.27/drivers/md/persistent-data/ |
D | dm-space-map-common.c | 282 struct dm_block *blk; in sm_ll_lookup_bitmap() local 290 &dm_sm_bitmap_validator, &blk); in sm_ll_lookup_bitmap() 294 *result = sm_lookup_bitmap(dm_bitmap_data(blk), b); in sm_ll_lookup_bitmap() 296 return dm_tm_unlock(ll->tm, blk); in sm_ll_lookup_bitmap() 342 struct dm_block *blk; in sm_ll_find_free_block() local 354 &dm_sm_bitmap_validator, &blk); in sm_ll_find_free_block() 360 r = sm_find_free(dm_bitmap_data(blk), in sm_ll_find_free_block() 368 dm_tm_unlock(ll->tm, blk); in sm_ll_find_free_block() 372 dm_tm_unlock(ll->tm, blk); in sm_ll_find_free_block() 376 r = dm_tm_unlock(ll->tm, blk); in sm_ll_find_free_block()
|
D | dm-transaction-manager.c | 330 struct dm_block **blk) in dm_tm_read_lock() argument 333 int r = dm_bm_read_try_lock(tm->real->bm, b, v, blk); in dm_tm_read_lock() 341 return dm_bm_read_lock(tm->bm, b, v, blk); in dm_tm_read_lock()
|
/linux-4.1.27/sound/soc/codecs/ |
D | wm_adsp.c | 1179 struct wmfw_coeff_item *blk; in wm_adsp_load_coeff() local 1235 pos - firmware->size > sizeof(*blk)) { in wm_adsp_load_coeff() 1236 blk = (void*)(&firmware->data[pos]); in wm_adsp_load_coeff() 1238 type = le16_to_cpu(blk->type); in wm_adsp_load_coeff() 1239 offset = le16_to_cpu(blk->offset); in wm_adsp_load_coeff() 1242 file, blocks, le32_to_cpu(blk->id), in wm_adsp_load_coeff() 1243 (le32_to_cpu(blk->ver) >> 16) & 0xff, in wm_adsp_load_coeff() 1244 (le32_to_cpu(blk->ver) >> 8) & 0xff, in wm_adsp_load_coeff() 1245 le32_to_cpu(blk->ver) & 0xff); in wm_adsp_load_coeff() 1247 file, blocks, le32_to_cpu(blk->len), offset, type); in wm_adsp_load_coeff() [all …]
|
/linux-4.1.27/arch/mips/alchemy/common/ |
D | vss.c | 17 #define VSS_ADDR(blk) (KSEG1ADDR(AU1300_VSS_PHYS_ADDR) + (blk * 0x0c)) argument
|
/linux-4.1.27/drivers/base/regmap/ |
D | regcache-rbtree.c | 287 u8 *blk; in regcache_rbtree_insert_to_block() local 293 blk = krealloc(rbnode->block, in regcache_rbtree_insert_to_block() 296 if (!blk) in regcache_rbtree_insert_to_block() 304 kfree(blk); in regcache_rbtree_insert_to_block() 317 memmove(blk + offset * map->cache_word_size, in regcache_rbtree_insert_to_block() 318 blk, rbnode->blklen * map->cache_word_size); in regcache_rbtree_insert_to_block() 323 rbnode->block = blk; in regcache_rbtree_insert_to_block()
|
/linux-4.1.27/arch/s390/crypto/ |
D | aes_s390.c | 45 struct crypto_blkcipher *blk; member 238 sctx->fallback.blk->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in setkey_fallback_blk() 239 sctx->fallback.blk->base.crt_flags |= (tfm->crt_flags & in setkey_fallback_blk() 242 ret = crypto_blkcipher_setkey(sctx->fallback.blk, key, len); in setkey_fallback_blk() 245 tfm->crt_flags |= (sctx->fallback.blk->base.crt_flags & in setkey_fallback_blk() 260 desc->tfm = sctx->fallback.blk; in fallback_blk_dec() 277 desc->tfm = sctx->fallback.blk; in fallback_blk_enc() 371 sctx->fallback.blk = crypto_alloc_blkcipher(name, 0, in fallback_init_blk() 374 if (IS_ERR(sctx->fallback.blk)) { in fallback_init_blk() 377 return PTR_ERR(sctx->fallback.blk); in fallback_init_blk() [all …]
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
D | isph3a_aewb.c | 34 u32 blk; in h3a_aewb_setup_regs() local 58 blk = conf->blk_ver_win_start << ISPH3A_AEWINBLK_WINSV_SHIFT; in h3a_aewb_setup_regs() 59 blk |= ((conf->blk_win_height >> 1) - 1) << ISPH3A_AEWINBLK_WINH_SHIFT; in h3a_aewb_setup_regs() 69 isp_reg_writel(aewb->isp, blk, OMAP3_ISP_IOMEM_H3A, ISPH3A_AEWINBLK); in h3a_aewb_setup_regs()
|
/linux-4.1.27/fs/ufs/ |
D | util.h | 342 u64 blk) in ubh_get_data_ptr() argument 345 return ubh_get_addr64(ubh, blk); in ubh_get_data_ptr() 347 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()
|
D | ufs_fs.h | 256 #define ufs_lblktosize(blk) ((blk) << uspi->s_bshift) argument
|
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/ |
D | brw_test.c | 363 srpc_bulk_t *blk = rpc->srpc_bulk; in brw_server_rpc_done() local 365 if (blk == NULL) in brw_server_rpc_done() 370 blk->bk_sink ? "from" : "to", in brw_server_rpc_done() 374 blk->bk_niov, blk->bk_sink ? "from" : "to", in brw_server_rpc_done()
|
/linux-4.1.27/drivers/staging/ft1000/ft1000-pcmcia/ |
D | ft1000_hw.c | 1609 struct pseudo_hdr blk; in ft1000_copy_down_pkt() member 1637 pseudo.blk.length = len; in ft1000_copy_down_pkt() 1639 pseudo.blk.length = ntohs(len); in ft1000_copy_down_pkt() 1641 pseudo.blk.source = DSPID; /* Need to swap to get in correct in ft1000_copy_down_pkt() 1643 pseudo.blk.destination = HOSTID; in ft1000_copy_down_pkt() 1644 pseudo.blk.portdest = NETWORKID; /* Need to swap to get in in ft1000_copy_down_pkt() 1646 pseudo.blk.portsrc = DSPAIRID; in ft1000_copy_down_pkt() 1647 pseudo.blk.sh_str_id = 0; in ft1000_copy_down_pkt() 1648 pseudo.blk.control = 0; in ft1000_copy_down_pkt() 1649 pseudo.blk.rsvd1 = 0; in ft1000_copy_down_pkt() [all …]
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-block-dm | 45 Description: Request-based Device-mapper blk-mq I/O path mode. 46 Contains the value 1 if the device is using blk-mq.
|
/linux-4.1.27/drivers/usb/storage/ |
D | ene_ub6250.c | 1203 u16 blk, index = 0; in ms_lib_check_disableblock() local 1215 blk = be16_to_cpu(PageBuf[index]); in ms_lib_check_disableblock() 1216 if (blk == MS_LB_NOT_USED) in ms_lib_check_disableblock() 1218 if (blk == info->MS_Lib.Log2PhyMap[0]) { in ms_lib_check_disableblock() 1373 u16 blk; in ms_libsearch_block_from_physical() local 1381 for (blk = phyblk + 1; blk != phyblk; blk++) { in ms_libsearch_block_from_physical() 1382 if ((blk & MS_PHYSICAL_BLOCKS_PER_SEGMENT_MASK) == 0) in ms_libsearch_block_from_physical() 1383 blk -= MS_PHYSICAL_BLOCKS_PER_SEGMENT; in ms_libsearch_block_from_physical() 1385 Newblk = info->MS_Lib.Phy2LogMap[blk]; in ms_libsearch_block_from_physical() 1386 if (info->MS_Lib.Phy2LogMap[blk] == MS_LB_NOT_USED_ERASED) { in ms_libsearch_block_from_physical() [all …]
|
/linux-4.1.27/fs/f2fs/ |
D | data.c | 262 map_bh(bh_result, sb, ei->blk + pgofs - ei->fofs); in f2fs_map_bh() 284 start_blkaddr = fi->ext.blk; in lookup_extent_info() 308 start_blkaddr = fi->ext.blk; in update_extent_info() 309 end_blkaddr = fi->ext.blk + fi->ext.len - 1; in update_extent_info() 319 fi->ext.blk = blkaddr; in update_extent_info() 328 fi->ext.blk--; in update_extent_info() 346 fi->ext.blk = start_blkaddr + fofs - start_fofs + 1; in update_extent_info() 479 en->ei.blk = prev->ei.blk; in __try_back_merge() 522 en->ei.blk = ei->blk; in __insert_extent_tree() 591 le32_to_cpu(i_ext->blk), le32_to_cpu(i_ext->len)); in f2fs_init_extent_tree() [all …]
|
D | f2fs.h | 298 u32 blk; /* start block address of the extent */ member 355 ext->blk = le32_to_cpu(i_ext.blk); in get_extent_info() 363 i_ext->blk = cpu_to_le32(ext->blk); in set_raw_extent() 368 u32 blk, unsigned int len) in set_extent_info() argument 371 ei->blk = blk; in set_extent_info() 378 return (ei1->fofs == ei2->fofs && ei1->blk == ei2->blk && in __is_extent_same() 386 back->blk + back->len == front->blk); in __is_extent_mergeable()
|
/linux-4.1.27/drivers/media/platform/s5p-tv/ |
D | mixer_video.c | 264 unsigned long mxr_get_plane_size(const struct mxr_block *blk, in mxr_get_plane_size() argument 267 unsigned int bl_width = divup(width, blk->width); in mxr_get_plane_size() 268 unsigned int bl_height = divup(height, blk->height); in mxr_get_plane_size() 270 return bl_width * bl_height * blk->size; in mxr_get_plane_size() 286 const struct mxr_block *blk = &fmt->plane[i]; in mxr_mplane_fill() local 287 u32 bl_width = divup(width, blk->width); in mxr_mplane_fill() 288 u32 bl_height = divup(height, blk->height); in mxr_mplane_fill() 289 u32 sizeimage = bl_width * bl_height * blk->size; in mxr_mplane_fill() 290 u32 bytesperline = bl_width * blk->size / blk->height; in mxr_mplane_fill()
|
D | mixer.h | 311 unsigned long mxr_get_plane_size(const struct mxr_block *blk,
|
/linux-4.1.27/drivers/scsi/megaraid/ |
D | megaraid_sas_fp.c | 326 u64 blk, debugBlk; in MR_GetSpanBlock() local 327 blk = mega_div64_32((row-le64_to_cpu(quad->logStart)), le32_to_cpu(quad->diff)); in MR_GetSpanBlock() 328 debugBlk = blk; in MR_GetSpanBlock() 330 blk = (blk + le64_to_cpu(quad->offsetInSpan)) << raid->stripeShift; in MR_GetSpanBlock() 331 *span_blk = blk; in MR_GetSpanBlock() 475 u64 blk; in mr_spanset_get_span_block() local 476 blk = mega_div64_32 in mr_spanset_get_span_block() 479 blk = (blk + le64_to_cpu(quad->offsetInSpan)) in mr_spanset_get_span_block() 481 *span_blk = blk; in mr_spanset_get_span_block()
|
/linux-4.1.27/include/linux/ |
D | f2fs_fs.h | 30 #define F2FS_BLK_TO_BYTES(blk) ((blk) << F2FS_BLKSIZE_BITS) argument 156 __le32 blk; /* start block address of the extent */ member
|
/linux-4.1.27/drivers/block/ |
D | ida_ioctl.h | 55 __u32 blk; member
|
D | cpqarray.c | 158 unsigned int blk, 929 c->req.hdr.blk = blk_rq_pos(creq); in do_ida_request() 1019 cmd->req.hdr.blk, cmd->req.hdr.blk_cnt, in complete_command() 1250 c->req.hdr.blk = io->blk; in ida_ctlr_ioctl() 1263 c->req.hdr.blk = pci_map_single(h->pci_dev, &(io->c), in ida_ctlr_ioctl() 1327 pci_unmap_single(h->pci_dev, c->req.hdr.blk, in ida_ctlr_ioctl() 1412 unsigned int blk, in sendcmd() argument 1443 c->req.hdr.blk = blk; in sendcmd()
|
D | ida_cmd.h | 64 __u32 blk; member
|
/linux-4.1.27/fs/jfs/ |
D | super.c | 745 sector_t blk = off >> sb->s_blocksize_bits; in jfs_quota_read() local 765 err = jfs_get_block(inode, blk, &tmp_bh, 0); in jfs_quota_read() 780 blk++; in jfs_quota_read() 790 sector_t blk = off >> sb->s_blocksize_bits; in jfs_quota_write() local 805 err = jfs_get_block(inode, blk, &tmp_bh, 1); in jfs_quota_write() 826 blk++; in jfs_quota_write()
|
/linux-4.1.27/fs/xfs/ |
D | xfs_log_recover.c | 1837 void *blk = bp->b_addr; in xlog_recover_get_buf_lsn() local 1845 magic32 = be32_to_cpu(*(__be32 *)blk); in xlog_recover_get_buf_lsn() 1853 struct xfs_btree_block *btb = blk; in xlog_recover_get_buf_lsn() 1861 struct xfs_btree_block *btb = blk; in xlog_recover_get_buf_lsn() 1868 lsn = be64_to_cpu(((struct xfs_agf *)blk)->agf_lsn); in xlog_recover_get_buf_lsn() 1869 uuid = &((struct xfs_agf *)blk)->agf_uuid; in xlog_recover_get_buf_lsn() 1872 lsn = be64_to_cpu(((struct xfs_agfl *)blk)->agfl_lsn); in xlog_recover_get_buf_lsn() 1873 uuid = &((struct xfs_agfl *)blk)->agfl_uuid; in xlog_recover_get_buf_lsn() 1876 lsn = be64_to_cpu(((struct xfs_agi *)blk)->agi_lsn); in xlog_recover_get_buf_lsn() 1877 uuid = &((struct xfs_agi *)blk)->agi_uuid; in xlog_recover_get_buf_lsn() [all …]
|
/linux-4.1.27/drivers/accessibility/braille/ |
D | braille_console.c | 156 static int keyboard_notifier_call(struct notifier_block *blk, in keyboard_notifier_call() argument 275 static int vt_notifier_call(struct notifier_block *blk, in vt_notifier_call() argument
|
/linux-4.1.27/include/trace/events/ |
D | ext3.h | 321 TP_PROTO(struct super_block *sb, unsigned long blk, 324 TP_ARGS(sb, blk, count), 328 __field( unsigned long, blk ) 335 __entry->blk = blk; 341 __entry->blk, __entry->count)
|
D | f2fs.h | 1108 __field(u32, blk) 1117 __entry->blk = en->ei.blk; 1126 __entry->blk, 1140 __field(u32, blk) 1147 __entry->blk = blkaddr; 1153 __entry->blk)
|
D | ext4.h | 587 TP_PROTO(struct super_block *sb, unsigned long long blk, 590 TP_ARGS(sb, blk, count), 594 __field( __u64, blk ) 601 __entry->blk = blk; 607 __entry->blk, __entry->count)
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/ |
D | vsc7326_reg.h | 13 #define CRA(blk,sub,adr) ((((blk) & 0x7) << 13) | (((sub) & 0xf) << 9) | (((adr) & 0xff) << 1)) argument
|
/linux-4.1.27/drivers/media/platform/ti-vpe/ |
D | vpdma.c | 481 struct vpdma_buf *blk, u32 dest_offset) in vpdma_add_cfd_block() argument 484 int len = blk->size; in vpdma_add_cfd_block() 486 WARN_ON(blk->dma_addr & VPDMA_DESC_ALIGN); in vpdma_add_cfd_block() 493 cfd->payload_addr = (u32) blk->dma_addr; in vpdma_add_cfd_block()
|
D | vpdma.h | 184 struct vpdma_buf *blk, u32 dest_offset);
|
/linux-4.1.27/fs/ubifs/ |
D | journal.c | 1155 unsigned int blk; in ubifs_jnl_truncate() local 1180 blk = new_size >> UBIFS_BLOCK_SHIFT; in ubifs_jnl_truncate() 1181 data_key_init(c, &key, inum, blk); in ubifs_jnl_truncate() 1244 blk = (new_size >> UBIFS_BLOCK_SHIFT) + (bit ? 1 : 0); in ubifs_jnl_truncate() 1245 data_key_init(c, &key, inum, blk); in ubifs_jnl_truncate() 1248 blk = (old_size >> UBIFS_BLOCK_SHIFT) - (bit ? 0 : 1); in ubifs_jnl_truncate() 1249 data_key_init(c, &to_key, inum, blk); in ubifs_jnl_truncate()
|
/linux-4.1.27/fs/ocfs2/ |
D | quota_global.c | 172 sector_t blk = off >> sb->s_blocksize_bits; in ocfs2_quota_read() local 186 err = ocfs2_extent_map_get_blocks(gqinode, blk, &pblock, in ocfs2_quota_read() 207 blk++; in ocfs2_quota_read() 221 sector_t blk = off >> sb->s_blocksize_bits; in ocfs2_quota_write() local 250 err = ocfs2_extent_map_get_blocks(gqinode, blk, &pblock, &pcount, NULL); in ocfs2_quota_write()
|
D | dir.c | 1840 unsigned long offset, blk, last_ra_blk = 0; in ocfs2_dir_foreach_blk_el() local 1853 blk = ctx->pos >> sb->s_blocksize_bits; in ocfs2_dir_foreach_blk_el() 1854 if (ocfs2_read_dir_block(inode, blk, &bh, 0)) { in ocfs2_dir_foreach_blk_el() 1866 || (((last_ra_blk - blk) << 9) <= (ra_sectors / 2))) { in ocfs2_dir_foreach_blk_el() 1870 if (!ocfs2_read_dir_block(inode, ++blk, &tmp, in ocfs2_dir_foreach_blk_el() 1874 last_ra_blk = blk; in ocfs2_dir_foreach_blk_el() 4363 u64 blk; in ocfs2_dx_dir_remove_index() local 4408 blk = le64_to_cpu(dx_root->dr_blkno); in ocfs2_dx_dir_remove_index() 4413 bg_blkno = ocfs2_which_suballoc_group(blk, bit); in ocfs2_dx_dir_remove_index()
|
D | ocfs2_trace.h | 692 TP_PROTO(struct super_block *sb, unsigned long long blk, 694 TP_ARGS(sb, blk, count), 698 __field(unsigned long long, blk) 704 __entry->blk = blk; 709 __entry->blk, __entry->count)
|
D | xattr.c | 2481 u64 blk, bg_blkno; in ocfs2_xattr_free_block() local 2497 blk = le64_to_cpu(xb->xb_blkno); in ocfs2_xattr_free_block() 2502 bg_blkno = ocfs2_which_suballoc_group(blk, bit); in ocfs2_xattr_free_block() 4621 u64 blk, in ocfs2_divide_xattr_bucket() argument 4633 trace_ocfs2_divide_xattr_bucket_begin((unsigned long long)blk, in ocfs2_divide_xattr_bucket() 4644 ret = ocfs2_read_xattr_bucket(s_bucket, blk); in ocfs2_divide_xattr_bucket()
|
D | refcounttree.c | 777 u64 blk = 0, bg_blkno = 0, ref_blkno = le64_to_cpu(di->i_refcount_loc); in ocfs2_remove_refcount_tree() local 797 blk = le64_to_cpu(rb->rf_blkno); in ocfs2_remove_refcount_tree() 802 bg_blkno = ocfs2_which_suballoc_group(blk, bit); in ocfs2_remove_refcount_tree()
|
D | suballoc.c | 2537 u64 blk = le64_to_cpu(di->i_blkno); in ocfs2_free_dinode() local 2539 u64 bg_blkno = ocfs2_which_suballoc_group(blk, bit); in ocfs2_free_dinode()
|
/linux-4.1.27/drivers/usb/wusbcore/ |
D | devconnect.c | 141 cack_ie->blk[cnt].CDID = dev_itr->cdid; in wusbhc_fill_cack_ie() 142 cack_ie->blk[cnt].bDeviceAddress = dev_itr->addr; in wusbhc_fill_cack_ie() 147 + cnt * sizeof(cack_ie->blk[0]); in wusbhc_fill_cack_ie()
|
/linux-4.1.27/fs/ext2/ |
D | super.c | 1446 sector_t blk = off >> EXT2_BLOCK_SIZE_BITS(sb); in ext2_quota_read() local 1466 err = ext2_get_block(inode, blk, &tmp_bh, 0); in ext2_quota_read() 1481 blk++; in ext2_quota_read() 1491 sector_t blk = off >> EXT2_BLOCK_SIZE_BITS(sb); in ext2_quota_write() local 1505 err = ext2_get_block(inode, blk, &tmp_bh, 1); in ext2_quota_write() 1526 blk++; in ext2_quota_write()
|
D | inode.c | 649 ext2_fsblk_t blk; in ext2_get_blocks() local 662 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext2_get_blocks() 663 if (blk == first_block + count) in ext2_get_blocks()
|
/linux-4.1.27/scripts/ |
D | checkpatch.pl | 1011 my $blk = ''; 1038 $blk .= $lines[$line] . "\n"; 1039 $len = length($blk); 1048 if ($level == 0 && substr($blk, $off) =~ /^.\s*#\s*define/) { 1054 $c = substr($blk, $off, 1); 1055 $remainder = substr($blk, $off); 1108 if (substr($blk, $off + 1, 1) eq ';') { 1130 my $statement = substr($blk, $soff, $off - $soff + 1); 1131 my $condition = substr($blk, $soff, $coff - $soff + 1); 1218 my $blk = ''; [all …]
|
/linux-4.1.27/fs/ |
D | ioctl.c | 225 static inline loff_t blk_to_logical(struct inode *inode, sector_t blk) in blk_to_logical() argument 227 return (blk << inode->i_blkbits); in blk_to_logical()
|
/linux-4.1.27/include/linux/usb/ |
D | wusb.h | 111 } blk[WUIE_ELT_MAX]; member
|
/linux-4.1.27/fs/reiserfs/ |
D | super.c | 2407 unsigned long blk = off >> sb->s_blocksize_bits; in reiserfs_quota_read() local 2428 err = reiserfs_get_block(inode, blk, &tmp_bh, 0); in reiserfs_quota_read() 2444 blk++; in reiserfs_quota_read() 2457 unsigned long blk = off >> sb->s_blocksize_bits; in reiserfs_quota_write() local 2473 err = reiserfs_get_block(inode, blk, &tmp_bh, GET_BLOCK_CREATE); in reiserfs_quota_write() 2500 blk++; in reiserfs_quota_write()
|
/linux-4.1.27/drivers/cdrom/ |
D | cdrom.c | 3062 struct cdrom_blk blk; in mmc_ioctl_cdrom_play_blk() local 3064 if (copy_from_user(&blk, (struct cdrom_blk __user *)arg, sizeof(blk))) in mmc_ioctl_cdrom_play_blk() 3067 cgc->cmd[2] = (blk.from >> 24) & 0xff; in mmc_ioctl_cdrom_play_blk() 3068 cgc->cmd[3] = (blk.from >> 16) & 0xff; in mmc_ioctl_cdrom_play_blk() 3069 cgc->cmd[4] = (blk.from >> 8) & 0xff; in mmc_ioctl_cdrom_play_blk() 3070 cgc->cmd[5] = blk.from & 0xff; in mmc_ioctl_cdrom_play_blk() 3071 cgc->cmd[7] = (blk.len >> 8) & 0xff; in mmc_ioctl_cdrom_play_blk() 3072 cgc->cmd[8] = blk.len & 0xff; in mmc_ioctl_cdrom_play_blk()
|
/linux-4.1.27/drivers/gpu/drm/i2c/ |
D | tda998x_drv.c | 1039 static int read_edid_block(void *data, u8 *buf, unsigned int blk, size_t length) in read_edid_block() argument 1045 offset = (blk & 1) ? 128 : 0; in read_edid_block() 1046 segptr = blk / 2; in read_edid_block() 1088 blk, ret); in read_edid_block()
|
/linux-4.1.27/drivers/mtd/onenand/ |
D | onenand_base.c | 275 unsigned boundary, blk, die = 0; in flexonenand_block() local 284 blk = addr >> (this->erase_shift - 1); in flexonenand_block() 285 if (blk > boundary) in flexonenand_block() 286 blk = (blk + boundary + 1) >> 1; in flexonenand_block() 288 blk += die ? this->density_mask : 0; in flexonenand_block() 289 return blk; in flexonenand_block()
|
/linux-4.1.27/Documentation/scsi/ |
D | scsi_eh.txt | 70 scmd is requeued to blk queue. 140 scmd to be issued from blk queue to the host; eventually, all scmds on 188 anyway after it reaches blk queue.)
|
/linux-4.1.27/drivers/scsi/ |
D | st.c | 3110 unsigned int blk; in set_location() local 3130 if (get_location(STp, &blk, &p, 1)) in set_location() 3134 STps->last_block_visited = blk; in set_location() 3137 blk, STp->partition); in set_location() 3353 unsigned int blk; in st_ioctl() local 3660 if ((i = get_location(STp, &blk, &bt, 0)) < 0) { in st_ioctl() 3664 mt_pos.mt_blkno = blk; in st_ioctl()
|
D | osst.c | 4941 int i, cmd_nr, cmd_type, blk, retval = 0; in osst_ioctl() local 5248 blk = osst_get_frame_position(STp, &SRpnt); in osst_ioctl() 5250 blk = osst_get_sector(STp, &SRpnt); in osst_ioctl() 5251 if (blk < 0) { in osst_ioctl() 5252 retval = blk; in osst_ioctl() 5255 mt_pos.mt_blkno = blk; in osst_ioctl()
|
D | Kconfig | 49 bool "SCSI: use blk-mq I/O path by default" 52 This option enables the new blk-mq based I/O path for SCSI
|
/linux-4.1.27/Documentation/ioctl/ |
D | cdrom.txt | 553 struct cdrom_blk blk; 554 ioctl(fd, CDROMPLAYBLK, &blk);
|
/linux-4.1.27/drivers/md/ |
D | Kconfig | 216 bool "request-based DM: use blk-mq I/O path by default" 219 This option enables the blk-mq based I/O path for request-based
|
/linux-4.1.27/drivers/net/ethernet/neterion/ |
D | s2io.c | 2665 static void free_rxd_blk(struct s2io_nic *sp, int ring_no, int blk) in free_rxd_blk() argument 2679 rx_blocks[blk].rxds[j].virt_addr; in free_rxd_blk() 2726 int i, blk = 0, buf_cnt = 0; in free_rx_buffers() local 2733 for (blk = 0; blk < rx_ring_sz[i]; blk++) in free_rx_buffers() 2734 free_rxd_blk(sp, i, blk); in free_rx_buffers()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | cnic.c | 1649 int blk = (cid - ethdev->starting_cid) / cp->cids_per_blk; in cnic_get_bnx2x_ctx() local 1658 if (cp->ctx_arr[blk].mapping & mask) in cnic_get_bnx2x_ctx() 1660 (cp->ctx_arr[blk].mapping & mask); in cnic_get_bnx2x_ctx() 1662 ctx_map = cp->ctx_arr[blk].mapping + align_off + in cnic_get_bnx2x_ctx() 1664 ctx = cp->ctx_arr[blk].ctx + align_off + in cnic_get_bnx2x_ctx()
|
/linux-4.1.27/kernel/trace/ |
D | Kconfig | 395 echo blk > /sys/kernel/debug/tracing/current_tracer
|
/linux-4.1.27/Documentation/cgroups/ |
D | unified-hierarchy.txt | 313 - blk-throttle becomes properly hierarchical.
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 4549 static void _print_next_block(int idx, const char *blk) in _print_next_block() argument 4551 pr_cont("%s%s", idx ? ", " : "", blk); in _print_next_block()
|