/linux-master/fs/xfs/libxfs/ |
H A D | xfs_ialloc_btree.h | 19 * Btree block header size depends on a superblock flag. 30 #define XFS_INOBT_REC_ADDR(mp, block, index) \ 32 ((char *)(block) + \ 36 #define XFS_INOBT_KEY_ADDR(mp, block, index) \ 38 ((char *)(block) + \ 42 #define XFS_INOBT_PTR_ADDR(mp, block, index, maxrecs) \ 44 ((char *)(block) + \
|
H A D | xfs_refcount_btree.h | 20 * Btree block header size 29 #define XFS_REFCOUNT_REC_ADDR(block, index) \ 31 ((char *)(block) + \ 35 #define XFS_REFCOUNT_KEY_ADDR(block, index) \ 37 ((char *)(block) + \ 41 #define XFS_REFCOUNT_PTR_ADDR(block, index, maxrecs) \ 43 ((char *)(block) + \
|
H A D | xfs_alloc_btree.h | 20 * Btree block header size depends on a superblock flag. 31 #define XFS_ALLOC_REC_ADDR(mp, block, index) \ 33 ((char *)(block) + \ 37 #define XFS_ALLOC_KEY_ADDR(mp, block, index) \ 39 ((char *)(block) + \ 43 #define XFS_ALLOC_PTR_ADDR(mp, block, index, maxrecs) \ 45 ((char *)(block) + \
|
/linux-master/fs/xfs/scrub/ |
H A D | rcbag_btree.h | 38 #define RCBAG_REC_ADDR(block, index) \ 40 ((char *)(block) + RCBAG_BLOCK_LEN + \ 43 #define RCBAG_KEY_ADDR(block, index) \ 45 ((char *)(block) + RCBAG_BLOCK_LEN + \ 48 #define RCBAG_PTR_ADDR(block, index, maxrecs) \ 50 ((char *)(block) + RCBAG_BLOCK_LEN + \
|
/linux-master/crypto/ |
H A D | cast6_generic.c | 153 static inline void Q(u32 *block, const u8 *Kr, const u32 *Km) argument 156 block[2] ^= F1(block[3], Kr[0], Km[0]); 157 block[1] ^= F2(block[2], Kr[1], Km[1]); 158 block[0] ^= F3(block[1], Kr[2], Km[2]); 159 block[3] ^= F1(block[0], Kr[3], Km[3]); 163 static inline void QBAR(u32 *block, cons argument 175 u32 block[4]; local 212 u32 block[4]; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_matchall.c | 14 mlxsw_sp_mall_entry_find(struct mlxsw_sp_flow_block *block, unsigned long cookie) argument 18 list_for_each_entry(mall_entry, &block->mall.list, list) 184 static void mlxsw_sp_mall_prio_update(struct mlxsw_sp_flow_block *block) argument 188 if (list_empty(&block->mall.list)) 190 block->mall.min_prio = UINT_MAX; 191 block->mall.max_prio = 0; 192 list_for_each_entry(mall_entry, &block->mall.list, list) { 193 if (mall_entry->priority < block->mall.min_prio) 194 block->mall.min_prio = mall_entry->priority; 195 if (mall_entry->priority > block 200 mlxsw_sp_mall_replace(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_flow_block *block, struct tc_cls_matchall_offload *f) argument 310 mlxsw_sp_mall_destroy(struct mlxsw_sp_flow_block *block, struct tc_cls_matchall_offload *f) argument 334 mlxsw_sp_mall_port_bind(struct mlxsw_sp_flow_block *block, struct mlxsw_sp_port *mlxsw_sp_port, struct netlink_ext_ack *extack) argument 356 mlxsw_sp_mall_port_unbind(struct mlxsw_sp_flow_block *block, struct mlxsw_sp_port *mlxsw_sp_port) argument 365 mlxsw_sp_mall_prio_get(struct mlxsw_sp_flow_block *block, u32 chain_index, unsigned int *p_min_prio, unsigned int *p_max_prio) argument [all...] |
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_res_cursor.h | 85 struct drm_buddy_block *block; local 91 block = list_first_entry_or_null(head, 94 if (!block) 97 while (start >= drm_buddy_block_size(mm, block)) { 98 start -= drm_buddy_block_size(mm, block); 100 next = block->link.next; 102 block = list_entry(next, struct drm_buddy_block, 107 cur->start = drm_buddy_block_offset(block) + start; 108 cur->size = min(drm_buddy_block_size(mm, block) - start, 111 cur->node = block; 181 struct drm_buddy_block *block; local [all...] |
/linux-master/drivers/crypto/hisilicon/ |
H A D | sgl.c | 62 struct mem_block *block; local 73 * the pool may allocate a block of memory of size PAGE_SIZE * 2^MAX_PAGE_ORDER, 74 * block size may exceed 2^31 on ia64, so the max of block size is 2^31 89 block = pool->mem_block; 92 block[i].sgl = dma_alloc_coherent(dev, block_size, 93 &block[i].sgl_dma, 95 if (!block[i].sgl) { 100 block[i].size = block_size; 104 block[ 142 struct mem_block *block; local 161 struct mem_block *block; local [all...] |
/linux-master/drivers/md/ |
H A D | dm-log-writes.c | 135 struct pending_block *block; member in struct:per_bio_data 175 DMERR("Error writing log block, error=%d", bio->bi_status); 196 * associated with the block. 199 struct pending_block *block) 203 for (i = 0; i < block->vec_cnt; i++) { 204 if (block->vecs[i].bv_page) 205 __free_page(block->vecs[i].bv_page); 207 kfree(block->data); 208 kfree(block); 245 DMERR("Couldn't add page to the log block"); 198 free_pending_block(struct log_writes_c *lc, struct pending_block *block) argument 318 log_one_block(struct log_writes_c *lc, struct pending_block *block, sector_t sector) argument 438 struct pending_block *block = NULL; local 586 struct pending_block *block; local 647 struct pending_block *block; local 773 struct pending_block *block = pb->block; local [all...] |
/linux-master/fs/isofs/ |
H A D | isofs.h | 30 * iso9660 super-block data in memory 125 unsigned long block, 130 unsigned long block, 133 return __isofs_iget(sb, block, offset, 0); 137 unsigned long block, 140 return __isofs_iget(sb, block, offset, 1); 147 static inline unsigned long isofs_get_ino(unsigned long block, argument 151 return (block << (bufbits - 5)) | (offset >> 5); 165 * block and offset by always making them point to the "." directory. 181 * You should pass the directory entry in "de". On return, "block" 129 isofs_iget(struct super_block *sb, unsigned long block, unsigned long offset) argument 136 isofs_iget_reloc(struct super_block *sb, unsigned long block, unsigned long offset) argument 186 isofs_normalize_block_and_offset(struct iso_directory_record* de, unsigned long *block, unsigned long *offset) argument [all...] |
/linux-master/drivers/s390/block/ |
H A D | dasd_proc.c | 34 struct dasd_block *block; local 40 if (device->block) 41 block = device->block; 54 if (block->gdp) 56 MAJOR(disk_devt(block->gdp)), 57 MINOR(disk_devt(block->gdp))); 61 if (block->gdp) 62 seq_printf(m, " is %-8s", block->gdp->disk_name); 85 if (dasd_check_blocksize(block [all...] |
/linux-master/mm/ |
H A D | dmapool.c | 95 static void pool_check_block(struct dma_pool *pool, struct dma_block *block, argument 98 u8 *data = (void *)block; 105 pool->name, block); 117 memset(block, POOL_POISON_ALLOCATED, pool->size); 135 struct dma_block *block = pool->next_block; local 145 while (block) { 146 if (block != vaddr) { 147 block = block->next_block; 164 static void pool_check_block(struct dma_pool *pool, struct dma_block *block, argument 183 struct dma_block *block = pool->next_block; local 192 pool_block_push(struct dma_pool *pool, struct dma_block *block, dma_addr_t dma) argument 303 struct dma_block *block, *first = NULL, *last = NULL; local 407 struct dma_block *block; local 452 struct dma_block *block = vaddr; local [all...] |
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch-flower.c | 160 dpaa2_switch_acl_entry_remove(struct dpaa2_switch_filter_block *block, argument 165 struct ethsw_core *ethsw = block->ethsw; 186 block->acl_id, acl_entry_cfg); 202 dpaa2_switch_acl_entry_add_to_list(struct dpaa2_switch_filter_block *block, argument 209 if (list_empty(&block->acl_entries)) { 210 list_add(&entry->list, &block->acl_entries); 214 list_for_each_safe(pos, n, &block->acl_entries) { 225 dpaa2_switch_acl_entry_get_by_index(struct dpaa2_switch_filter_block *block, argument 231 list_for_each_entry(tmp, &block->acl_entries, list) { 241 dpaa2_switch_acl_entry_set_precedence(struct dpaa2_switch_filter_block *block, argument 256 dpaa2_switch_acl_tbl_add_entry(struct dpaa2_switch_filter_block *block, struct dpaa2_switch_acl_entry *entry) argument 289 dpaa2_switch_acl_tbl_find_entry_by_cookie(struct dpaa2_switch_filter_block *block, unsigned long cookie) argument 302 dpaa2_switch_acl_entry_get_index(struct dpaa2_switch_filter_block *block, struct dpaa2_switch_acl_entry *entry) argument 317 dpaa2_switch_mirror_find_entry_by_cookie(struct dpaa2_switch_filter_block *block, unsigned long cookie) argument 330 dpaa2_switch_acl_tbl_remove_entry(struct dpaa2_switch_filter_block *block, struct dpaa2_switch_acl_entry *entry) argument 401 dpaa2_switch_block_add_mirror(struct dpaa2_switch_filter_block *block, struct dpaa2_switch_mirror_entry *entry, u16 to, struct netlink_ext_ack *extack) argument 466 dpaa2_switch_block_remove_mirror(struct dpaa2_switch_filter_block *block, struct dpaa2_switch_mirror_entry *entry) argument 493 dpaa2_switch_cls_flower_replace_acl(struct dpaa2_switch_filter_block *block, struct flow_cls_offload *cls) argument 583 dpaa2_switch_cls_flower_replace_mirror(struct dpaa2_switch_filter_block *block, struct flow_cls_offload *cls) argument 648 dpaa2_switch_cls_flower_replace(struct dpaa2_switch_filter_block *block, struct flow_cls_offload *cls) argument 674 dpaa2_switch_cls_flower_destroy(struct dpaa2_switch_filter_block *block, struct flow_cls_offload *cls) argument 697 dpaa2_switch_cls_matchall_replace_acl(struct dpaa2_switch_filter_block *block, struct tc_cls_matchall_offload *cls) argument 737 dpaa2_switch_cls_matchall_replace_mirror(struct dpaa2_switch_filter_block *block, struct tc_cls_matchall_offload *cls) argument 794 dpaa2_switch_cls_matchall_replace(struct dpaa2_switch_filter_block *block, struct tc_cls_matchall_offload *cls) argument 819 dpaa2_switch_block_offload_mirror(struct dpaa2_switch_filter_block *block, struct ethsw_port_priv *port_priv) argument 845 dpaa2_switch_block_unoffload_mirror(struct dpaa2_switch_filter_block *block, struct ethsw_port_priv *port_priv) argument 870 dpaa2_switch_cls_matchall_destroy(struct dpaa2_switch_filter_block *block, struct tc_cls_matchall_offload *cls) argument [all...] |
/linux-master/sound/soc/intel/atom/sst/ |
H A D | sst_pvt.c | 76 * @block: Driver block to wait on 79 * given block event 82 struct sst_block *block) 87 block->condition)) { 89 if (block->ret_code < 0) { 91 "stream failed %d\n", block->ret_code); 109 * @block: Driver block to wait on 112 * given block even 81 sst_wait_interruptible(struct intel_sst_drv *sst_drv_ctx, struct sst_block *block) argument 114 sst_wait_timeout(struct intel_sst_drv *sst_drv_ctx, struct sst_block *block) argument 186 sst_create_block_and_ipc_msg(struct ipc_post **arg, bool large, struct intel_sst_drv *sst_drv_ctx, struct sst_block **block, u32 msg_id, u32 drv_id) argument 225 struct sst_block *block = NULL; local [all...] |
/linux-master/fs/udf/ |
H A D | partition.c | 25 uint32_t udf_get_pblock(struct super_block *sb, uint32_t block, argument 31 udf_debug("block=%u, partition=%u, offset=%u: invalid partition\n", 32 block, partition, offset); 37 return map->s_partition_func(sb, block, partition, offset); 39 return map->s_partition_root + block + offset; 42 uint32_t udf_get_pblock_virt15(struct super_block *sb, uint32_t block, argument 58 if (block > vdata->s_num_entries) { 59 udf_debug("Trying to access block beyond end of VAT (%u max %u)\n", 60 block, vdata->s_num_entries); 66 vdata->s_start_offset))[block]); 101 udf_get_pblock_virt20(struct super_block *sb, uint32_t block, uint16_t partition, uint32_t offset) argument 107 udf_get_pblock_spar15(struct super_block *sb, uint32_t block, uint16_t partition, uint32_t offset) argument 275 udf_try_read_meta(struct inode *inode, uint32_t block, uint16_t partition, uint32_t offset) argument 301 udf_get_pblock_meta25(struct super_block *sb, uint32_t block, uint16_t partition, uint32_t offset) argument [all...] |
/linux-master/fs/sysv/ |
H A D | balloc.c | 41 /* NOTE NOTE NOTE: nr is a block number _as_ _stored_ _on_ _disk_ */ 49 unsigned block = fs32_to_cpu(sbi, nr); local 59 if (block < sbi->s_firstdatazone || block >= sbi->s_nzones) { 60 printk("sysv_free_block: trying to free block not in datazone\n"); 72 /* If the free list head in super-block is full, it is copied 73 * into this block being freed, ditto if it's completely empty 77 block += sbi->s_block_base; 78 bh = sb_getblk(sb, block); 103 unsigned int block; local 166 unsigned block; local [all...] |
/linux-master/drivers/mtd/ |
H A D | rfd_ftl.c | 57 struct block { struct 80 int reserved_block; /* block next up for reclaim */ 81 int current_block; /* block to write to */ 88 struct block *blocks; 95 struct block *block = &part->blocks[block_no]; local 98 block->offset = part->block_size * block_no; 101 block->state = BLOCK_UNUSED; 105 block->state = BLOCK_OK; 116 block 268 erase_block(struct partition *part, int block) argument 409 int block, best_block, score, old_sector_block; local 481 int block, stop; local 505 int rc, block; local 547 int block, offset, rc; local 582 find_free_sector(const struct partition *part, const struct block *block) argument 604 struct block *block; local [all...] |
H A D | nftlcore.c | 28 /* maximum number of loops while examining next block, to have a 192 /* For a given Virtual Unit Chain: find or create a free block and 205 /* Scan for a free block */ 238 int block; local 257 512-byte block within the Chain. 265 for (block = 0; block < nftl->EraseSize / 512; block ++) { 267 (block * 512), 16 , &retlen, 269 if (block 522 NFTL_findwriteunit(struct NFTLrecord *nftl, unsigned block) argument 673 nftl_writeblock(struct mtd_blktrans_dev *mbd, unsigned long block, char *buffer) argument 700 nftl_readblock(struct mtd_blktrans_dev *mbd, unsigned long block, char *buffer) argument [all...] |
/linux-master/drivers/md/dm-vdo/ |
H A D | errors.c | 96 /* Get the error info for an error number. Also returns the name of the error block, if known. */ 99 struct error_block *block; local 106 for (block = registered_errors.blocks; 107 block < registered_errors.blocks + registered_errors.count; 108 block++) { 109 if ((errnum >= block->base) && (errnum < block->last)) { 110 *info_ptr = block->infos + (errnum - block->base); 111 return block 275 struct error_block *block; local [all...] |
/linux-master/drivers/net/dsa/ |
H A D | vitesse-vsc73xx.h | 46 int (*read)(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, 48 int (*write)(struct vsc73xx *vsc, u8 block, u8 subblock, u8 reg, 52 int vsc73xx_is_addr_valid(u8 block, u8 subblock);
|
/linux-master/sound/pci/emu10k1/ |
H A D | emu10k1_patch.c | 22 * allocate a sample block and copy data from userspace 97 /* try to allocate a memory block */ 99 sp->block = snd_emu10k1_synth_alloc(emu, blocksize); 100 if (sp->block == NULL) { 112 snd_emu10k1_synth_memset(emu, sp->block, offset, size, fill); 118 if (snd_emu10k1_synth_copy_from_user(emu, sp->block, offset, data, size, xor)) 125 if (snd_emu10k1_synth_copy_from_user(emu, sp->block, offset, data, size, xor)) 134 if (snd_emu10k1_synth_copy_from_user(emu, sp->block, offset, data, size, xor)) 140 snd_emu10k1_synth_memset(emu, sp->block, offset, blocksize - offset, fill); 145 snd_emu10k1_synth_free(emu, sp->block); [all...] |
/linux-master/fs/omfs/ |
H A D | omfs.h | 29 /* convert a cluster number to a scaled block number */ 30 static inline sector_t clus_to_blk(struct omfs_sb_info *sbi, sector_t block) argument 32 return block << sbi->s_block_shift; 42 extern int omfs_allocate_block(struct super_block *sb, u64 block); 45 extern int omfs_clear_range(struct super_block *sb, u64 block, int count); 62 extern struct buffer_head *omfs_bread(struct super_block *sb, sector_t block); 65 extern int omfs_reserve_block(struct super_block *sb, sector_t block);
|
/linux-master/drivers/net/ethernet/google/gve/ |
H A D | gve_dqo.h | 39 bool gve_tx_poll_dqo(struct gve_notify_block *block, bool do_clean); 40 int gve_rx_poll_dqo(struct gve_notify_block *block, int budget); 92 const struct gve_notify_block *block, u32 val) 94 u32 index = be32_to_cpu(*block->irq_db_index); 104 struct gve_notify_block *block, 107 gve_write_irq_doorbell_dqo(priv, block, 91 gve_write_irq_doorbell_dqo(const struct gve_priv *priv, const struct gve_notify_block *block, u32 val) argument 103 gve_set_itr_coalesce_usecs_dqo(struct gve_priv *priv, struct gve_notify_block *block, u32 usecs) argument
|
/linux-master/sound/soc/sof/ |
H A D | ipc3-loader.c | 235 struct snd_sof_blk_hdr *block; local 243 block = (struct snd_sof_blk_hdr *)((u8 *)module + sizeof(*module)); 249 if (remaining < sizeof(*block)) { 254 /* minus header size of block */ 255 remaining -= sizeof(*block); 257 if (block->size == 0) { 259 "warning: block %d size zero\n", count); 261 block->type, block->offset); 265 switch (block [all...] |
/linux-master/Documentation/admin-guide/aoe/ |
H A D | autoload.sh | 14 echo alias block-major-152 aoe >> $f
|