Searched refs:block (Results 451 - 475 of 1031) sorted by relevance

<<11121314151617181920>>

/linux-master/arch/s390/kernel/
H A Dentry.S123 lg %r9,\sie_control # get control block pointer
179 * %r2 pointer to sie control block phys
180 * %r3 pointer to sie control block virt
186 stg %r2,__SF_SIE_CONTROL_PHYS(%r15) # save sie block physical..
198 lg %r14,__SF_SIE_CONTROL(%r15) # get control block pointer
202 lg %r14,__SF_SIE_CONTROL_PHYS(%r15) # get sie block phys addr
213 lg %r14,__SF_SIE_CONTROL(%r15) # get control block pointer
/linux-master/drivers/comedi/drivers/
H A Djr3_pci.c352 struct jr3_block __iomem *block = dev->mmio; local
385 lo = &block[subdev].program_lo[addr];
386 hi = &block[subdev].program_hi[addr];
608 struct jr3_block __iomem *block = dev->mmio; local
617 spriv->sensor = &block[s->index].sensor;
643 struct jr3_block __iomem *block = dev->mmio; local
644 struct jr3_sensor __iomem *sensor0 = &block[0].sensor;
661 struct jr3_block __iomem *block; local
683 if (pci_resource_len(pcidev, 0) < board->n_subdevs * sizeof(*block))
690 block
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu.h226 u16 *msix_lfmap; /* Vector to block LF mapping */
381 /* RVU block's capabilities or functionality,
428 struct rvu_block block[BLK_COUNT]; /* Block info */ member in struct:rvu_hwinfo
598 static inline void rvu_write64(struct rvu *rvu, u64 block, u64 offset, u64 val) argument
600 writeq(val, rvu->afreg_base + ((block << 28) | offset));
603 static inline u64 rvu_read64(struct rvu *rvu, u64 block, u64 offset) argument
605 return readq(rvu->afreg_base + ((block << 28) | offset));
618 static inline void rvu_bar2_sel_write64(struct rvu *rvu, u64 block, u64 offset, u64 val) argument
623 rvu_write64(rvu, block, offset, val);
624 rvu_read64(rvu, block, offse
[all...]
/linux-master/drivers/hid/
H A Dhid-mcp2221.c522 mcp->rxbuf = data->block;
528 if (!data->block[0]) {
532 ret = mcp_smbus_write(mcp, addr, command, data->block,
533 data->block[0] + 1,
545 mcp->rxbuf = data->block;
551 if (!data->block[0]) {
556 &data->block[1], data->block[0],
572 ret = mcp_smbus_write(mcp, addr, command, data->block,
573 data->block[
[all...]
/linux-master/fs/omfs/
H A Dinode.c24 struct buffer_head *omfs_bread(struct super_block *sb, sector_t block) argument
27 if (block >= sbi->s_num_blocks)
30 return sb_bread(sb, clus_to_blk(sbi, block));
328 * stored in the root block. For ReplayTV, there is no such free bitmap
340 sector_t block; local
353 block = clus_to_blk(sbi, sbi->s_bitmap_ino);
354 if (block >= sbi->s_num_blocks)
359 bh = sb_bread(sb, block++);
517 printk(KERN_ERR "omfs: block size (%d) is out of range\n",
523 * Use sys_blocksize as the fs block sinc
[all...]
/linux-master/fs/jbd2/
H A Djournal.c294 * Writes a metadata buffer to a given disk block. The actual IO is not
296 * to be written with the correct destination disk block.
305 * block. The missing word can then be restored when the block is read
674 * case we cannot block on open handles anymore. So don't warn in that
950 * Conversion of logical to physical block numbers for the journal
961 sector_t block = blocknr; local
964 err = journal->j_bmap(journal, &block);
966 *retp = block;
968 ret = bmap(journal->j_inode, &block);
1051 jbd2_journal_get_log_tail(journal_t *journal, tid_t *tid, unsigned long *block) argument
1090 __jbd2_update_log_tail(journal_t *journal, tid_t tid, unsigned long block) argument
1132 jbd2_update_log_tail(journal_t *journal, tid_t tid, unsigned long block) argument
1953 unsigned long block, log_offset; /* logical */ local
[all...]
/linux-master/drivers/mtd/
H A Dmtd_blkdevs.c3 * Interface to Linux block layer for MTD 'translation layers'.
51 unsigned long block, nsect; local
54 block = blk_rq_pos(req) << 9 >> tr->blkshift;
63 if (tr->discard(dev, block, nsect))
68 for (; nsect > 0; nsect--, block++, buf += tr->blksize) {
69 if (tr->readsect(dev, block, buf)) {
87 for (; nsect > 0; nsect--, block++, buf += tr->blksize) {
88 if (tr->writesect(dev, block, buf)) {
489 printk(KERN_WARNING "Unable to register %s block device on major %d: %d\n",
546 MODULE_DESCRIPTION("Common interface to block laye
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_alloc_btree.c77 /* Allocate the new block from the freelist. If we can't, give up. */
124 const struct xfs_btree_block *block,
139 * If this is the last leaf block and it's the last record,
142 if (ptr != xfs_btree_get_numrecs(block))
153 numrecs = xfs_btree_get_numrecs(block);
161 rrp = XFS_ALLOC_REC_ADDR(cur->bc_mp, block, numrecs);
316 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); local
321 if (!xfs_verify_magic(bp, block->bb_magic))
339 level = be16_to_cpu(block->bb_level);
622 /* Calculate number of records in an alloc btree block
122 xfs_allocbt_update_lastrec( struct xfs_btree_cur *cur, const struct xfs_btree_block *block, const union xfs_btree_rec *rec, int ptr, int reason) argument
[all...]
H A Dxfs_rmap_btree.c37 * all other block types (i.e. metadata) are inserted when an extent is
47 * The tree is ordered by [ag block, owner, offset]. This is a large key size,
48 * but it is the only way to enforce unique keys when a block can be owned by
51 * reverse lookups will be to find the owner(s) of a particular block, or to
94 /* Allocate the new block from the freelist. If we can't, give up. */
319 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); local
336 if (!xfs_verify_magic(bp, block->bb_magic))
345 level = be16_to_cpu(block->bb_level);
559 * Validate an in-memory rmap btree block. Callers are allowed to generate an
566 struct xfs_btree_block *block local
[all...]
/linux-master/sound/ppc/
H A Dtumbler.c200 unsigned char block[6]; local
223 block[0] = (left_vol >> 16) & 0xff;
224 block[1] = (left_vol >> 8) & 0xff;
225 block[2] = (left_vol >> 0) & 0xff;
227 block[3] = (right_vol >> 16) & 0xff;
228 block[4] = (right_vol >> 8) & 0xff;
229 block[5] = (right_vol >> 0) & 0xff;
232 block) < 0) {
491 unsigned char block[4]; local
503 block[
630 unsigned char block[9]; local
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c121 #define SRI(reg_name, block, id)\
122 .reg_name = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
123 mm ## block ## id ## _ ## reg_name
125 #define SRI2(reg_name, block, id)\
129 #define SRIR(var_name, reg_name, block, id)\
130 .var_name = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
131 mm ## block ## id ## _ ## reg_name
133 #define SRII(reg_name, block, id)\
134 .reg_name[id] = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
135 mm ## block ## i
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn31/
H A Ddcn31_resource.c133 #define SRI(reg_name, block, id)\
134 .reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
135 reg ## block ## id ## _ ## reg_name
137 #define SRI2(reg_name, block, id)\
141 #define SRIR(var_name, reg_name, block, id)\
142 .var_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
143 reg ## block ## id ## _ ## reg_name
145 #define SRII(reg_name, block, id)\
146 .reg_name[id] = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
147 reg ## block ## i
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c232 static int verify_block_sig(struct mlx5_cmd_prot_block *block) argument
235 int xor_len = sizeof(*block) - sizeof(block->data) - 1;
237 if (xor8_buf(block, rsvd0_off, xor_len) != 0xff)
240 if (xor8_buf(block, 0, sizeof(*block)) != 0xff)
246 static void calc_block_sig(struct mlx5_cmd_prot_block *block) argument
248 int ctrl_xor_len = sizeof(*block) - sizeof(block->data) - 2;
251 block
1285 struct mlx5_cmd_prot_block *block; local
1318 struct mlx5_cmd_prot_block *block; local
1382 struct mlx5_cmd_prot_block *block; local
[all...]
/linux-master/crypto/
H A Dwp512.c785 u64 block[8]; /* mu(buffer) */ local
791 block[i] = be64_to_cpu(buffer[i]);
793 state[0] = block[0] ^ (K[0] = wctx->hash[0]);
794 state[1] = block[1] ^ (K[1] = wctx->hash[1]);
795 state[2] = block[2] ^ (K[2] = wctx->hash[2]);
796 state[3] = block[3] ^ (K[3] = wctx->hash[3]);
797 state[4] = block[4] ^ (K[4] = wctx->hash[4]);
798 state[5] = block[5] ^ (K[5] = wctx->hash[5]);
799 state[6] = block[6] ^ (K[6] = wctx->hash[6]);
800 state[7] = block[
[all...]
/linux-master/drivers/md/persistent-data/
H A Ddm-btree.c343 static int btree_lookup_raw(struct ro_spine *s, dm_block_t block, uint64_t key, argument
351 r = ro_step(s, block);
363 block = value64(ro_node(s), i);
853 /* create & init the left block */
868 /* create & init the right block */
977 struct dm_block *block; local
980 r = bn_read_lock(info, b, &block);
984 node = dm_block_data(block);
988 unlock_block(info, block);
1241 dm_block_t block local
1340 find_key(struct ro_spine *s, dm_block_t block, bool find_highest, uint64_t *result_key, dm_block_t *next_block) argument
1421 walk_node(struct dm_btree_info *info, dm_block_t block, int (*fn)(void *context, uint64_t *keys, void *leaf), void *context) argument
[all...]
/linux-master/drivers/usb/storage/
H A Dshuttle_usbat.c441 * Read block data from the data register
473 * Write block data via the data register
753 /* Multiple block read setup command */
795 /* Multiple block write setup command */
1338 * Since we only read in one block at a time, we have to create
1684 unsigned long block, blocks; local
1729 block = ((u32)(srb->cmnd[2]) << 24) | ((u32)(srb->cmnd[3]) << 16) |
1734 usb_stor_dbg(us, "READ_10: read block 0x%04lx count %ld\n",
1735 block, blocks);
1736 return usbat_flash_read_data(us, info, block, block
[all...]
/linux-master/drivers/media/i2c/
H A Dds90ub953.c224 static int ub953_select_ind_reg_block(struct ub953_data *priv, u8 block) argument
229 if (priv->current_indirect_target == block)
232 ret = regmap_write(priv->regmap, UB953_REG_IND_ACC_CTL, block << 2);
235 __func__, block, ret);
239 priv->current_indirect_target = block;
245 static int ub953_read_ind(struct ub953_data *priv, u8 block, u8 reg, u8 *val) argument
252 ret = ub953_select_ind_reg_block(priv, block);
260 block, reg, ret);
268 block, reg, ret);
281 static int ub953_write_ind(struct ub953_data *priv, u8 block, u argument
[all...]
/linux-master/fs/reiserfs/
H A Dreiserfs.h73 /* first unused block of a sequence of unused blocks */
184 * If the journal block count is smaller than n transactions, you lose speed.
215 * One of these for every block in every transaction
219 * hnext and hprev are used by journal_list_hash. If a block is in more
228 /* block number of real buffer head, == 0 when buffer on disk */
257 * hit the disk, and to make sure every real block in a transaction is on
296 /* newest journal block */
299 /* oldest journal block. start here for traverse */
304 /* first block on s_dev of reserved area journal */
514 /* reiserfs union of in-core super block dat
3273 sector_t block; /* file offset, in blocks */ member in struct:__reiserfs_blocknr_hint
3349 reiserfs_new_unf_blocknrs(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t * new_blocknrs, struct treepath *path, sector_t block) argument
3367 reiserfs_new_unf_blocknrs2(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t * new_blocknrs, struct treepath *path, sector_t block) argument
[all...]
/linux-master/fs/btrfs/
H A Drelocation.c24 #include "block-group.h"
45 * The objective of relocation is to relocate all extents of the target block
46 * group to other block groups.
58 * 1. Mark the target block group read-only
59 * New extents won't be allocated from the target block group.
61 * 2.1 Record each extent in the target block group
67 * There will be only one data reloc tree for one data block group.
71 * Each tree referring to a tree block in target block group will get its
78 * As old extents in the target block grou
2105 struct tree_block *block; local
2641 get_tree_block_key(struct btrfs_fs_info *fs_info, struct tree_block *block) argument
2777 struct tree_block *block; local
3235 struct tree_block *block; local
[all...]
/linux-master/drivers/media/cec/core/
H A Dcec-adap.c770 struct cec_fh *fh, bool block)
808 !block ? ", nb" : "");
811 __func__, msg->len, msg->msg, !block ? " (nb)" : "");
915 data->blocking = block;
930 /* All done if we don't need to block waiting for completion */
931 if (!block)
963 bool block)
968 ret = cec_transmit_msg_fh(adap, msg, NULL, block);
1576 static void cec_claim_log_addrs(struct cec_adapter *adap, bool block) argument
1590 } else if (block) {
769 cec_transmit_msg_fh(struct cec_adapter *adap, struct cec_msg *msg, struct cec_fh *fh, bool block) argument
962 cec_transmit_msg(struct cec_adapter *adap, struct cec_msg *msg, bool block) argument
1660 __cec_s_phys_addr(struct cec_adapter *adap, u16 phys_addr, bool block) argument
1695 cec_s_phys_addr(struct cec_adapter *adap, u16 phys_addr, bool block) argument
1747 __cec_s_log_addrs(struct cec_adapter *adap, struct cec_log_addrs *log_addrs, bool block) argument
1910 cec_s_log_addrs(struct cec_adapter *adap, struct cec_log_addrs *log_addrs, bool block) argument
[all...]
/linux-master/drivers/md/
H A Ddm-thin.c42 * The block size of the device holding pool data must be
64 * When we get a write in we decide if it's to a shared data block using
67 * Let's say we write to a shared block in what was the origin. The
70 * i) plug io further to this physical block. (see bio_prison code).
72 * ii) quiesce any read io to that shared data block. Obviously
73 * including all devices that share this block. (see dm_deferred_set code)
75 * iii) copy the data block to a newly allocate block. This step can be
76 * missed out if the io covers the block. (schedule_copy).
82 * devices that share the block neve
720 remap(struct thin_c *tc, struct bio *bio, dm_block_t block) argument
792 remap_and_issue(struct thin_c *tc, struct bio *bio, dm_block_t block) argument
933 inc_remap_and_issue_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell, dm_block_t block) argument
1807 break_sharing(struct thin_c *tc, struct bio *bio, dm_block_t block, struct dm_cell_key *key, struct dm_thin_lookup_result *lookup_result, struct dm_bio_prison_cell *cell) argument
1855 remap_and_issue_shared_cell(struct thin_c *tc, struct dm_bio_prison_cell *cell, dm_block_t block) argument
1876 process_shared_bio(struct thin_c *tc, struct bio *bio, dm_block_t block, struct dm_thin_lookup_result *lookup_result, struct dm_bio_prison_cell *virt_cell) argument
1910 provision_block(struct thin_c *tc, struct bio *bio, dm_block_t block, struct dm_bio_prison_cell *cell) argument
1964 dm_block_t block = get_bio_block(tc, bio); local
2017 dm_block_t block = get_bio_block(tc, bio); local
2037 dm_block_t block = get_bio_block(tc, bio); local
2731 dm_block_t block = get_bio_block(tc, bio); local
[all...]
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dsch_red_core.sh677 tc filter add block 10 pref 1234 handle 102 matchall skip_sw \
683 tc filter del block 10 pref 1234 handle 102 matchall
725 tc filter add block 10 pref 1234 handle 102 matchall skip_sw \
731 tc filter del block 10 pref 1234 handle 102 matchall
753 tc filter add block 10 pref 1234 handle 102 matchall skip_sw \
759 tc filter del block 10 pref 1234 handle 102 matchall
/linux-master/drivers/i2c/busses/
H A Di2c-xgene-slimpro.c83 * Encode for upper address for block data
386 &data->block[0]);
392 data->block[0] + 1,
393 &data->block[0]);
404 &data->block[1]);
409 data->block[0],
410 &data->block[1]);
/linux-master/fs/xfs/
H A Dxfs_sysfs.c408 int block; local
413 block = log->l_curr_block;
416 return sysfs_emit(buf, "%d:%d\n", cycle, block);
426 int block; local
429 xlog_crack_atomic_lsn(&log->l_tail_lsn, &cycle, &block);
430 return sysfs_emit(buf, "%d:%d\n", cycle, block);
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Dmm.c240 nvkm_mm_init(struct nvkm_mm *mm, u8 heap, u32 offset, u32 length, u32 block) argument
257 BUG_ON(block != mm->block_size);
261 mm->block_size = block;

Completed in 314 milliseconds

<<11121314151617181920>>