/linux-master/drivers/iio/buffer/ |
H A D | industrialio-buffer-dmaengine.c | 51 struct iio_dma_buffer_block *block = data; local 54 spin_lock_irqsave(&block->queue->list_lock, flags); 55 list_del(&block->head); 56 spin_unlock_irqrestore(&block->queue->list_lock, flags); 57 block->bytes_used -= result->residue; 58 iio_dma_buffer_block_done(block); 62 struct iio_dma_buffer_block *block) 69 block->bytes_used = min(block->size, dmaengine_buffer->max_size); 70 block 61 iio_dmaengine_buffer_submit_block(struct iio_dma_buffer_queue *queue, struct iio_dma_buffer_block *block) argument [all...] |
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npa.c | 15 static int npa_aq_enqueue_wait(struct rvu *rvu, struct rvu_block *block, argument 18 struct admin_queue *aq = block->aq; 26 reg = rvu_read64(rvu, block->addr, NPA_AF_AQ_STATUS); 36 rvu_write64(rvu, block->addr, NPA_AF_AQ_DOOR, 1); 68 struct rvu_block *block; local 82 block = &hw->block[blkaddr]; 83 aq = block->aq; 89 npalf = rvu_get_lf(rvu, block, pcifunc, 0); 158 rc = npa_aq_enqueue_wait(rvu, block, 334 struct rvu_block *block; local 440 struct rvu_block *block; local 467 npa_aq_init(struct rvu *rvu, struct rvu_block *block) argument 530 struct rvu_block *block; local [all...] |
H A D | rvu_cpt.c | 42 struct rvu_block *block = ptr; local 43 struct rvu *rvu = block->rvu; 44 int blkaddr = block->addr; 75 block->cpt_flt_eng_map[vec] |= BIT_ULL(i); 79 block->cpt_rcvrd_eng_map[vec] |= BIT_ULL(i); 104 struct rvu_block *block = ptr; local 105 struct rvu *rvu = block->rvu; 106 int blkaddr = block->addr; 118 struct rvu_block *block = ptr; local 119 struct rvu *rvu = block 130 rvu_cpt_do_register_interrupt(struct rvu_block *block, int irq_offs, irq_handler_t handler, const char *name) argument 149 cpt_10k_unregister_interrupts(struct rvu_block *block, int off) argument 173 struct rvu_block *block; local 207 cpt_10k_register_interrupts(struct rvu_block *block, int off) argument 261 struct rvu_block *block; local 389 struct rvu_block *block; local 458 struct rvu_block *block; local 604 struct rvu_block *block; local 639 struct rvu_block *block; local 881 struct rvu_block *block; local 913 struct rvu_block *block; local [all...] |
/linux-master/drivers/mtd/ |
H A D | inftlcore.c | 29 * Maximum number of loops while examining next block, to have a 216 /* Scan for a free block */ 242 int block, silly; local 263 * 512-byte block within the Chain. 267 for (block = 0; block < inftl->EraseSize/SECTORSIZE; block ++) { 268 if ((BlockMap[block] != BLOCK_NIL) || 269 BlockDeleted[block]) 273 + (block * SECTORSIZ 460 INFTL_findwriteunit(struct INFTLrecord *inftl, unsigned block) argument 631 int block, silly; local 745 INFTL_deleteblock(struct INFTLrecord *inftl, unsigned block) argument 804 inftl_writeblock(struct mtd_blktrans_dev *mbd, unsigned long block, char *buffer) argument 852 inftl_readblock(struct mtd_blktrans_dev *mbd, unsigned long block, char *buffer) argument [all...] |
/linux-master/include/linux/ |
H A D | buffer_head.h | 51 * Historically, a buffer_head was used to map a single block 53 * filesystem and block layers. Nowadays the basic I/O unit 54 * is the bio, and buffer_heads are used for extracting block 67 sector_t b_blocknr; /* start block number */ 215 void clean_bdev_aliases(struct block_device *bdev, sector_t block, 225 struct buffer_head *__find_get_block(struct block_device *bdev, sector_t block, 227 struct buffer_head *bdev_getblk(struct block_device *bdev, sector_t block, 231 void __breadahead(struct block_device *, sector_t block, unsigned int size); 233 sector_t block, unsigned size, gfp_t gfp); 319 sb_bread(struct super_block *sb, sector_t block) argument 325 sb_bread_unmovable(struct super_block *sb, sector_t block) argument 331 sb_breadahead(struct super_block *sb, sector_t block) argument 336 getblk_unmovable(struct block_device *bdev, sector_t block, unsigned size) argument 347 __getblk(struct block_device *bdev, sector_t block, unsigned size) argument 358 sb_getblk(struct super_block *sb, sector_t block) argument 364 sb_getblk_gfp(struct super_block *sb, sector_t block, gfp_t gfp) argument 371 sb_find_get_block(struct super_block *sb, sector_t block) argument 377 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) argument 450 __bread(struct block_device *bdev, sector_t block, unsigned size) argument [all...] |
/linux-master/fs/efs/ |
H A D | inode.c | 22 static sector_t _efs_bmap(struct address_space *mapping, sector_t block) argument 24 return generic_block_bmap(mapping,block,efs_get_block); 58 efs_block_t block, offset; local 76 ** work out the inode block index, (considering initially that the 77 ** inodes are stored as consecutive blocks). then work out the block 79 ** offset of the inode within that block. 85 block = sb->fs_start + sb->first_block + 93 bh = sb_bread(inode->i_sb, block); 95 pr_warn("%s() failed at block %d\n", __func__, block); 180 efs_extent_check(efs_extent *ptr, efs_block_t block, struct efs_sb_info *sb) argument 200 efs_map_block(struct inode *inode, efs_block_t block) argument [all...] |
H A D | namei.c | 25 efs_block_t block; local 31 for(block = 0; block < inode->i_blocks; block++) { 33 bh = sb_bread(inode->i_sb, efs_bmap(inode, block)); 35 pr_err("%s(): failed to read dir block %d\n", 36 __func__, block); 43 pr_err("%s(): invalid directory block\n", __func__);
|
/linux-master/drivers/md/persistent-data/ |
H A D | dm-array.c | 36 * block location into the header (paranoia about ssds remapping areas by 93 * Returns a pointer to a value within an array block. 95 * index - The index into _this_ specific block. 109 * in an array block. 120 * Increment every value in an array block. 131 * Decrement every value in an array block. 142 * Each array block can hold this many values. 150 * Allocate a new array block. The caller will need to unlock block. 154 struct dm_block **block, struc 152 alloc_ablock(struct dm_array_info *info, size_t size_of_block, uint32_t max_entries, struct dm_block **block, struct array_block **ab) argument 218 get_ablock(struct dm_array_info *info, dm_block_t b, struct dm_block **block, struct array_block **ab) argument 234 unlock_ablock(struct dm_array_info *info, struct dm_block *block) argument 251 lookup_ablock(struct dm_array_info *info, dm_block_t root, unsigned int index, struct dm_block **block, struct array_block **ab) argument 269 insert_ablock(struct dm_array_info *info, uint64_t index, struct dm_block *block, dm_block_t *root) argument 280 __shadow_ablock(struct dm_array_info *info, dm_block_t b, struct dm_block **block, struct array_block **ab) argument 300 __reinsert_ablock(struct dm_array_info *info, unsigned int index, struct dm_block *block, dm_block_t b, dm_block_t *root) argument 325 shadow_ablock(struct dm_array_info *info, dm_block_t *root, unsigned int index, struct dm_block **block, struct array_block **ab) argument 355 struct dm_block *block; local 468 struct dm_block *block; local 507 struct dm_block *block; local 591 struct dm_block *block; local 735 struct dm_block *block; local 782 struct dm_block *block; local 810 struct dm_block *block; local 873 struct dm_block *block; local [all...] |
/linux-master/drivers/s390/block/ |
H A D | dasd_diag.c | 4 * Based on.......: linux/drivers/s390/block/mdisk.c 62 /* Perform DIAG250 call with block I/O parameter list iob (input and output) 94 /* Initialize block I/O to DIAG device using the specified blocksize and 95 * block offset. On success, return zero and set end_block to contain the 121 /* Remove block I/O environment for device. Return zero on success, non-zero 144 rc = mdsk_init_io(device, device->block->bp_block, 0, NULL); 220 mdsk_init_io(device, device->block->bp_block, 0, NULL); 316 struct dasd_block *block; local 333 block = dasd_alloc_block(); 334 if (IS_ERR(block)) { 479 dasd_diag_fill_geometry(struct dasd_block *block, struct hd_geometry *geo) argument 503 dasd_diag_build_cp(struct dasd_device *memdev, struct dasd_block *block, struct request *req) argument 620 dasd_diag_max_sectors(struct dasd_block *block) argument [all...] |
H A D | dasd.c | 91 /* Get two pages for normal block device operations. */ 149 struct dasd_block *block; local 151 block = kzalloc(sizeof(*block), GFP_ATOMIC); 152 if (!block) 155 atomic_set(&block->open_count, -1); 157 atomic_set(&block->tasklet_scheduled, 0); 158 tasklet_init(&block->tasklet, dasd_block_tasklet, 159 (unsigned long) block); 160 INIT_LIST_HEAD(&block 174 dasd_free_block(struct dasd_block *block) argument 226 struct dasd_block *block = device->block; local 310 struct dasd_block *block = device->block; local 388 struct dasd_block *block = device->block; local 654 dasd_profile_start(struct dasd_block *block, struct dasd_ccw_req *cqr, struct request *req) argument 766 dasd_profile_end(struct dasd_block *block, struct dasd_ccw_req *cqr, struct request *req) argument 1587 dasd_ese_needs_format(struct dasd_block *block, struct irb *irb) argument 1938 struct dasd_block *block; local 2667 struct dasd_block *block; local 2681 dasd_block_set_timer(struct dasd_block *block, int expires) argument 2693 dasd_block_clear_timer(struct dasd_block *block) argument 2778 __dasd_process_block_ccw_queue(struct dasd_block *block, struct list_head *final_queue) argument 2845 __dasd_block_start_head(struct dasd_block *block) argument 2896 struct dasd_block *block = (struct dasd_block *) data; local 2956 _dasd_requests_to_flushqueue(struct dasd_block *block, struct list_head *flush_queue) argument 2994 dasd_flush_block_queue(struct dasd_block *block) argument 3030 dasd_schedule_block_bh(struct dasd_block *block) argument 3053 struct dasd_block *block = hctx->queue->queuedata; local 3144 struct dasd_block *block = req->q->queuedata; local 3445 struct dasd_block *block; local 3563 struct dasd_block *block; local 3881 struct dasd_block *block = device->block; local [all...] |
/linux-master/fs/ocfs2/ |
H A D | uptodate.c | 208 sector_t block) 216 if (block < item->c_block) 218 else if (block > item->c_block) 253 * the block is stored in our inode metadata cache. 267 * block at the same time. */ 288 sector_t block) 294 (unsigned long long)block, ci->ci_num_cached); 296 ci->ci_cache.ci_array[ci->ci_num_cached] = block; 306 sector_t block = new->c_block; local 313 (unsigned long long)block, c 207 ocfs2_search_cache_tree(struct ocfs2_caching_info *ci, sector_t block) argument 287 ocfs2_append_cache_array(struct ocfs2_caching_info *ci, sector_t block) argument 384 __ocfs2_set_buffer_uptodate(struct ocfs2_caching_info *ci, sector_t block, int expand_tree) argument 555 ocfs2_remove_block_from_cache(struct ocfs2_caching_info *ci, sector_t block) argument 590 sector_t block = bh->b_blocknr; local 596 ocfs2_remove_xattr_clusters_from_cache(struct ocfs2_caching_info *ci, sector_t block, u32 c_len) argument [all...] |
H A D | buffer_head_io.h | 18 int ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block, 28 int ocfs2_read_blocks(struct ocfs2_caching_info *ci, u64 block, int nr,
|
/linux-master/fs/qnx4/ |
H A D | namei.c | 53 unsigned long block, offset, blkofs; local 58 block = offset = blkofs = 0; 61 block = qnx4_block_map(dir, blkofs); 62 if (block) 63 bh = sb_bread(dir->i_sb, block); 71 *ino = block * QNX4_INODES_PER_BLOCK +
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_ttm_vram_mgr.c | 27 struct drm_buddy_block *block; local 30 block = xe_ttm_vram_mgr_first_block(head); 31 if (!block) 34 while (head != block->link.next) { 35 start = drm_buddy_block_offset(block); 36 size = drm_buddy_block_size(mm, block); 38 block = list_entry(block->link.next, struct drm_buddy_block, 40 if (start + size != drm_buddy_block_offset(block)) 160 struct drm_buddy_block *block; local 186 struct drm_buddy_block *block = list_first_entry(&vres->blocks, local 254 struct drm_buddy_block *block; local 284 struct drm_buddy_block *block; local [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | paging.c | 23 "Paging: block %d already freed, continue to next page\n", 43 struct page *block; local 61 "Paging: allocating mem for %d paging blocks, each block holds 8 pages, last block holds %d pages\n", 72 block = alloc_pages(GFP_KERNEL, order); 73 if (!block) { 79 fwrt->fw_paging_db[blk_idx].fw_paging_block = block; 82 phys = dma_map_page(fwrt->trans->dev, block, 0, 142 /* copy the CSS block to the dram */ 147 IWL_ERR(fwrt, "CSS block i 173 struct iwl_fw_paging *block = &fwrt->fw_paging_db[idx]; local [all...] |
/linux-master/Documentation/admin-guide/aoe/ |
H A D | status.sh | 16 test ! -d "$sysd/block" && { 21 for d in `ls -d $sysd/block/etherd* 2>/dev/null | grep -v p` end; do
|
/linux-master/fs/ext4/ |
H A D | ext4_extents.h | 52 * covers all valid ext4 block sizes. Therefore, this tail structure can be 53 * crammed into the end of the block without having to rebalance the tree. 64 __le32 ee_block; /* first logical block extent covers */ 66 __le16 ee_start_hi; /* high 16 bits of physical block */ 67 __le32 ee_start_lo; /* low 32 bits of physical block */ 75 __le32 ei_block; /* index covers logical blocks from 'block' */ 76 __le32 ei_leaf_lo; /* pointer to the physical block of the next * 78 __le16 ei_leaf_hi; /* high 16 bits of physical block */ 83 * Each block (leaves and indexes), even inode-stored has header. 131 ext4_lblk_t lblk; /* logical block numbe 228 ext4_fsblk_t block; local 241 ext4_fsblk_t block; local [all...] |
/linux-master/drivers/misc/ |
H A D | sram.h | 47 int sram_check_protect_exec(struct sram_dev *sram, struct sram_reserve *block, 52 struct sram_reserve *block, 51 sram_check_protect_exec(struct sram_dev *sram, struct sram_reserve *block, struct sram_partition *part) argument
|
/linux-master/fs/ufs/ |
H A D | util.h | 313 * Extract the bits for a block from a map inside ufs_buffer_head 458 #define ubh_isblockclear(ubh,begin,block) (!_ubh_isblockset_(uspi,ubh,begin,block)) 460 #define ubh_isblockset(ubh,begin,block) _ubh_isblockset_(uspi,ubh,begin,block) 462 struct ufs_buffer_head * ubh, unsigned begin, unsigned block) 467 return (*ubh_get_addr (ubh, begin + block) == 0xff); 469 mask = 0x0f << ((block & 0x01) << 2); 470 return (*ubh_get_addr (ubh, begin + (block >> 1)) & mask) == mask; 472 mask = 0x03 << ((block 461 _ubh_isblockset_(struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned block) argument 482 _ubh_clrblock_(struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned block) argument 502 _ubh_setblock_(struct ufs_sb_private_info * uspi, struct ufs_buffer_head * ubh, unsigned begin, unsigned block) argument [all...] |
/linux-master/sound/soc/intel/atom/sst/ |
H A D | sst_loader.c | 169 * Create the memcpy list as the number of block to be copied 175 struct fw_block_info *block; local 185 block = (void *)module + sizeof(*module); 188 if (block->size <= 0) { 189 dev_err(sst_drv_ctx->dev, "block size invalid\n"); 192 switch (block->type) { 203 block = (void *)block + sizeof(*block) + block 395 struct sst_block *block; local [all...] |
/linux-master/scripts/mod/ |
H A D | sumversion.c | 42 uint32_t block[MD4_BLOCK_WORDS]; member in struct:md4_ctx 156 le32_to_cpu_array(ctx->block, ARRAY_SIZE(ctx->block)); 157 md4_transform(ctx->hash, ctx->block); 172 const uint32_t avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); 177 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail), 182 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail), 189 while (len >= sizeof(mctx->block)) { [all...] |
/linux-master/fs/ubifs/ |
H A D | crypto.c | 33 * @block: logical block number of the block 39 unsigned int in_len, unsigned int *out_len, int block) 49 /* pad to full block cipher length */ 54 offset_in_page(p), block, GFP_NOFS); 65 unsigned int *out_len, int block) 80 block); 38 ubifs_encrypt(const struct inode *inode, struct ubifs_data_node *dn, unsigned int in_len, unsigned int *out_len, int block) argument 64 ubifs_decrypt(const struct inode *inode, struct ubifs_data_node *dn, unsigned int *out_len, int block) argument
|
/linux-master/fs/squashfs/ |
H A D | fragment.c | 39 int block, offset, size; local 45 block = SQUASHFS_FRAGMENT_INDEX(fragment); 48 start_block = le64_to_cpu(msblk->fragment_index[block]); 80 * table[0] points to the first fragment table metadata block, this
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | mca_v3_0.c | 41 enum amdgpu_ras_block block, uint32_t sub_block_index) 46 if ((block_obj->ras_comm.block == block) && 40 mca_v3_0_ras_block_match(struct amdgpu_ras_block_object *block_obj, enum amdgpu_ras_block block, uint32_t sub_block_index) argument
|
/linux-master/drivers/media/cec/core/ |
H A D | cec-priv.h | 51 void __cec_s_phys_addr(struct cec_adapter *adap, u16 phys_addr, bool block); 53 struct cec_log_addrs *log_addrs, bool block); 55 struct cec_fh *fh, bool block);
|