Searched refs:block (Results 351 - 375 of 1031) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/i2c/busses/
H A Di2c-pasemi-core.c240 len = min_t(u8, data->block[0], I2C_SMBUS_BLOCK_MAX);
243 TXFIFO_WR(smbus, data->block[i]);
244 TXFIFO_WR(smbus, data->block[len] | MTXFIFO_STOP);
257 len = min_t(u8, data->block[0], I2C_SMBUS_BLOCK_MAX - 1);
263 TXFIFO_WR(smbus, data->block[i]);
311 data->block[0] = len;
318 data->block[i] = rd & MRXFIFO_DATA_M;
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_restrictions.sh42 # shared block with a drop rule.
45 check_err $? "Failed to create clsact with ingress block"
47 tc filter add block 22 protocol ip pref 1 handle 101 flower \
49 check_err $? "Failed to add drop rule to ingress bound block"
52 check_err $? "Failed to create another clsact with ingress shared block"
57 check_fail $? "Incorrect success to create another clsact with egress shared block"
59 tc filter del block 22 protocol ip pref 1 handle 101 flower
62 check_err $? "Failed to create another clsact with egress shared block after blocker drop rule removed"
64 tc filter add block 22 protocol ip pref 1 handle 101 flower \
66 check_fail $? "Incorrect success to add drop rule to mixed bound block"
[all...]
/linux-master/fs/hfsplus/
H A Dextents.c42 u32 block, u8 type)
46 key->ext.start_block = cpu_to_be32(block);
158 u32 cnid, u32 block, u8 type)
162 hfsplus_ext_build_key(fd->search_key, cnid, block, type);
178 struct inode *inode, u32 block)
192 block, HFSPLUS_IS_RSRC(inode) ?
206 static int hfsplus_ext_read_extent(struct inode *inode, u32 block) argument
212 if (block >= hip->cached_start &&
213 block < hip->cached_start + hip->cached_blocks)
218 res = __hfsplus_ext_cache_extent(&fd, inode, block);
41 hfsplus_ext_build_key(hfsplus_btree_key *key, u32 cnid, u32 block, u8 type) argument
156 __hfsplus_ext_read_extent(struct hfs_find_data *fd, struct hfsplus_extent *extent, u32 cnid, u32 block, u8 type) argument
177 __hfsplus_ext_cache_extent(struct hfs_find_data *fd, struct inode *inode, u32 block) argument
[all...]
/linux-master/sound/isa/sb/
H A Demu8000_pcm.c44 struct snd_util_memblk *block; member in struct:snd_emu8k_pcm
436 /* copy one channel block */
450 /* make a channel block silence */
519 * allocate a memory block
526 if (rec->block) {
527 /* reallocation - release the old block */
528 snd_util_mem_free(rec->emu->memhdr, rec->block);
529 rec->block = NULL;
533 rec->block = snd_util_mem_alloc(rec->emu->memhdr, rec->allocated_bytes);
534 if (! rec->block)
[all...]
/linux-master/drivers/base/regmap/
H A Dregcache-rbtree.c22 /* block of adjacent registers */
23 void *block; member in struct:regcache_rbtree_node
26 /* base register handled by this block */
28 /* number of registers available in the block */
30 /* the actual rbtree node holding this block */
51 return regcache_get_val(map, rbnode->block, idx);
59 regcache_set_val(map, rbnode->block, idx, val);
231 kfree(rbtree_node->block);
278 blk = krealloc(rbnode->block,
284 rbnode->block
[all...]
/linux-master/fs/gfs2/
H A Drgrp.c59 * to keep track of block allocation. Each block is represented by two
89 * @new_state: the new state of the block
116 fs_warn(sdp, "bi_offset=0x%x bi_bytes=0x%x block=0x%llx\n",
140 * Returns: The two bit block state of the requested bit
195 * rs_cmp - multi-block reservation range compare
200 * returns: 1 if the block range is beyond the reach of the reservation
201 * -1 if the block range is before the start of the reservation
202 * 0 if the block range overlaps with the reservation
215 * a block i
277 gfs2_rbm_from_block(struct gfs2_rbm *rbm, u64 block) argument
382 u64 block; local
1624 gfs2_next_unreserved_block(struct gfs2_rgrpd *rgd, u64 block, u32 length, struct gfs2_blkreserv *ignore_rs) argument
1680 u64 block = gfs2_rbm_to_block(rbm); local
1844 u64 block; local
2234 u64 block; local
2424 u64 block; /* block, within the file system scope */ local
2660 gfs2_rlist_add(struct gfs2_inode *ip, struct gfs2_rgrp_list *rlist, u64 block) argument
[all...]
/linux-master/fs/qnx6/
H A Dinode.c64 static unsigned qnx6_get_devblock(struct super_block *sb, __fs32 block) argument
67 return fs32_to_cpu(sbi, block) + sbi->s_blks_off;
82 /* logical block is before EOF */
108 * returns the block number for the no-th element in the tree
109 * inodebits requred as there are multiple inodes in one inode block
116 unsigned block = 0; local
130 pr_err("Requested file block number (%u) too big.", no);
134 block = qnx6_get_devblock(s, ei->di_block_ptr[levelptr]);
137 bh = sb_bread(s, block);
139 pr_err("Error reading block (
492 qnx6_bmap(struct address_space *mapping, sector_t block) argument
[all...]
/linux-master/net/sched/
H A Dact_mirred.c170 "Must specify device or block");
332 struct tcf_block *block, int m_eaction,
343 xa_for_each(&block->ports, index, dev) {
366 struct tcf_block *block, int m_eaction,
372 xa_for_each(&block->ports, index, dev) {
389 struct tcf_block *block; local
396 /* we are already under rcu protection, so can call block lookup
399 block = tcf_block_lookup(dev_net(skb->dev), blockid);
400 if (!block || xa_empty(&block
331 tcf_blockcast_redir(struct sk_buff *skb, struct tcf_mirred *m, struct tcf_block *block, int m_eaction, const u32 exception_ifindex, int retval) argument
365 tcf_blockcast_mirror(struct sk_buff *skb, struct tcf_mirred *m, struct tcf_block *block, int m_eaction, const u32 exception_ifindex, int retval) argument
[all...]
H A Dsch_ingress.c19 struct tcf_block *block; member in struct:ingress_sched_data
53 return q->block;
103 err = tcf_block_get_ext(&q->block, sch, &q->block_info, extack);
107 mini_qdisc_pair_block_init(&q->miniqp, q->block);
121 tcf_block_put_ext(q->block, sch, &q->block_info);
/linux-master/fs/udf/
H A Dinode.c21 * block boundaries (which is not actually allowed)
67 static int udf_get_block_wb(struct inode *inode, sector_t block,
315 static sector_t udf_bmap(struct address_space *mapping, sector_t block) argument
321 return generic_block_bmap(mapping, block, udf_get_block);
338 * Expand file stored in ICB to a normal one-block-file
449 static int __udf_get_block(struct inode *inode, sector_t block, argument
454 .lblk = block,
469 int udf_get_block(struct inode *inode, sector_t block, argument
482 return __udf_get_block(inode, block, bh_result, flags);
491 static int udf_get_block_wb(struct inode *inode, sector_t block, argument
1207 udf_bread(struct inode *inode, udf_pblk_t block, int create, int *err) argument
1929 unsigned long block = udf_get_lb_pblock(sb, ino, 0); local
1955 udf_setup_indirect_aext(struct inode *inode, udf_pblk_t block, struct extent_position *epos) argument
2179 udf_pblk_t block; local
2362 inode_bmap(struct inode *inode, sector_t block, struct extent_position *pos, struct kernel_lb_addr *eloc, uint32_t *elen, sector_t *offset) argument
[all...]
/linux-master/fs/affs/
H A Dfile.c160 /* inline the simplest case: same extended block as last time */
181 /* read the next extended block from the current one */
194 /* we seek back to the file header block */
202 /* allocate a new extended block */
205 /* get previous extended block */
275 /* finally read the right extended block */
283 /* release old cached extended block and store the new one */
297 affs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
304 (unsigned long long)block);
306 BUG_ON(block > (sector_
452 _affs_bmap(struct address_space *mapping, sector_t block) argument
470 affs_bread_ino(struct inode *inode, int block, int create) argument
489 affs_getzeroblk_ino(struct inode *inode, int block) argument
508 affs_getemptyblk_ino(struct inode *inode, int block) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_flex_keys.c104 char *block)
109 memcpy(output_indexed, block, MLXSW_SP1_AFK_KEY_BLOCK_SIZE);
238 /* A block in Spectrum-2 is of the following form:
246 MLXSW_ITEM64(sp2_afk, block, value, 0x00, 0, MLXSW_SP2_AFK_BITS_PER_BLOCK);
248 /* The key / mask block layout in Spectrum-2 is of the following form:
303 char *block)
305 u64 block_value = mlxsw_sp2_afk_block_value_get(block);
103 mlxsw_sp1_afk_encode_block(char *output, int block_index, char *block) argument
302 mlxsw_sp2_afk_encode_block(char *output, int block_index, char *block) argument
/linux-master/fs/xfs/libxfs/
H A Dxfs_rtbitmap.h13 struct xfs_buf *rbmbp; /* bitmap block buffer */
14 struct xfs_buf *sumbp; /* summary block buffer */
16 xfs_fileoff_t rbmoff; /* bitmap block number */
17 xfs_fileoff_t sumoff; /* summary block number */
65 /* Convert an rt block number into an rt extent number. */
77 /* Return the offset of an rt block number within an rt extent. */
90 * Crack an rt block number into an rt extent number and an offset within that
108 * Convert an rt block number into an rt extent number, rounding up to the next
109 * rt extent if the rt block is not aligned to an rt extent boundary.
145 /* Convert an rt extent number to a file block offse
301 xfs_rtbitmap_read_buf( struct xfs_rtalloc_args *args, xfs_fileoff_t block) argument
309 xfs_rtsummary_read_buf( struct xfs_rtalloc_args *args, xfs_fileoff_t block) argument
[all...]
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_int_process_v11.c194 enum amdgpu_ras_block block = 0; local
214 block = AMDGPU_RAS_BLOCK__GFX;
218 block = AMDGPU_RAS_BLOCK__GFX;
227 amdgpu_amdkfd_ras_poison_consumption_handler(dev->adev, block, false);
229 amdgpu_amdkfd_ras_poison_consumption_handler(dev->adev, block, true);
H A Dkfd_int_process_v10.c135 enum amdgpu_ras_block block = 0; local
155 block = AMDGPU_RAS_BLOCK__GFX;
162 block = AMDGPU_RAS_BLOCK__SDMA;
177 amdgpu_amdkfd_ras_poison_consumption_handler(dev->adev, block, false);
182 amdgpu_amdkfd_ras_poison_consumption_handler(dev->adev, block, true);
/linux-master/include/net/netfilter/
H A Dnf_flow_table.h228 struct flow_block *block = &flow_table->flow_block; local
233 block_cb = flow_block_cb_lookup(block, cb, cb_priv);
245 list_add_tail(&block_cb->list, &block->cb_list);
261 struct flow_block *block = &flow_table->flow_block; local
265 block_cb = flow_block_cb_lookup(block, cb, cb_priv);
/linux-master/drivers/dma/xilinx/
H A Dxdma.c45 * struct xdma_desc_block - Descriptor block
46 * @virt_addr: Virtual address of block start
47 * @dma_addr: DMA address of block start
145 /* Get the last desc in a desc block */
146 static inline void *xdma_blk_last_desc(struct xdma_desc_block *block) argument
148 return block->virt_addr + (XDMA_DESC_ADJACENT - 1) * XDMA_DESC_SIZE;
157 struct xdma_desc_block *block; local
164 block = &sw_desc->desc_blocks[i - 1];
165 desc = xdma_blk_last_desc(block);
172 desc->next_desc = cpu_to_le64(block[
195 struct xdma_desc_block *block; local
329 struct xdma_desc_block *block; local
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn314/
H A Ddcn314_resource.c149 #define SRI(reg_name, block, id)\
150 .reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
151 reg ## block ## id ## _ ## reg_name
153 #define SRI2(reg_name, block, id)\
157 #define SRIR(var_name, reg_name, block, id)\
158 .var_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
159 reg ## block ## id ## _ ## reg_name
161 #define SRII(reg_name, block, id)\
162 .reg_name[id] = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
163 reg ## block ## i
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn301/
H A Ddcn301_resource.c120 #define SRI(reg_name, block, id)\
121 .reg_name = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
122 mm ## block ## id ## _ ## reg_name
124 #define SRI2(reg_name, block, id)\
128 #define SRIR(var_name, reg_name, block, id)\
129 .var_name = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
130 mm ## block ## id ## _ ## reg_name
132 #define SRII(reg_name, block, id)\
133 .reg_name[id] = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
134 mm ## block ## i
[all...]
/linux-master/fs/minix/
H A Dinode.c162 * s_max_size must not exceed the block mapping limitation. This check
179 unsigned long i, block; local
264 block=2;
266 if (!(sbi->s_imap[i]=sb_bread(s, block)))
268 block++;
271 if (!(sbi->s_zmap[i]=sb_bread(s, block)))
273 block++;
283 block = minix_blocks_needed(sbi->s_ninodes, s->s_blocksize);
284 if (sbi->s_imap_blocks < block) {
290 block
392 minix_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
440 minix_bmap(struct address_space *mapping, sector_t block) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn35/
H A Ddcn35_resource.c141 #define SRI(reg_name, block, id)\
142 REG_STRUCT.reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
143 reg ## block ## id ## _ ## reg_name
145 #define SRI_ARR(reg_name, block, id)\
146 REG_STRUCT[id].reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
147 reg ## block ## id ## _ ## reg_name
152 #define SRI_ARR_I2C(reg_name, block, id)\
153 REG_STRUCT[id-1].reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
154 reg ## block ## id ## _ ## reg_name
156 #define SRI_ARR_ALPHABET(reg_name, block, inde
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource.c125 #define SRI(reg_name, block, id)\
126 REG_STRUCT.reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
127 reg ## block ## id ## _ ## reg_name
129 #define SRI_ARR(reg_name, block, id)\
130 REG_STRUCT[id].reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
131 reg ## block ## id ## _ ## reg_name
136 #define SRI_ARR_I2C(reg_name, block, id)\
137 REG_STRUCT[id-1].reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
138 reg ## block ## id ## _ ## reg_name
140 #define SRI_ARR_ALPHABET(reg_name, block, inde
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn321/
H A Ddcn321_resource.c126 #define SRI(reg_name, block, id)\
127 REG_STRUCT.reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
128 reg ## block ## id ## _ ## reg_name
130 #define SRI_ARR(reg_name, block, id)\
131 REG_STRUCT[id].reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
132 reg ## block ## id ## _ ## reg_name
137 #define SRI_ARR_I2C(reg_name, block, id)\
138 REG_STRUCT[id-1].reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
139 reg ## block ## id ## _ ## reg_name
141 #define SRI_ARR_ALPHABET(reg_name, block, inde
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn351/
H A Ddcn351_resource.c121 #define SRI(reg_name, block, id)\
122 REG_STRUCT.reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
123 reg ## block ## id ## _ ## reg_name
125 #define SRI_ARR(reg_name, block, id)\
126 REG_STRUCT[id].reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
127 reg ## block ## id ## _ ## reg_name
132 #define SRI_ARR_I2C(reg_name, block, id)\
133 REG_STRUCT[id-1].reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
134 reg ## block ## id ## _ ## reg_name
136 #define SRI_ARR_ALPHABET(reg_name, block, inde
[all...]
/linux-master/drivers/s390/char/
H A Dtape_34xx.c39 unsigned int block : 22; member in struct:tape_34xx_block_id
43 * A list of block ID's is used to faster seek blocks.
298 * cu detected incorrect block-id sequence on tape.
300 dev_warn (&device->cdev->dev, "The block ID sequence on the "
458 "incorrect block ID sequence\n");
663 /* No locate block was issued. */
726 * Maximum block size exceeded. This indicates, that
727 * the block to be written is larger than allowed for
730 dev_warn (&device->cdev->dev, "The maximum block size"
850 * A unit exception occurs on skipping over a tapemark block
[all...]

Completed in 315 milliseconds

<<11121314151617181920>>