Searched refs:block (Results 226 - 250 of 1032) sorted by relevance

1234567891011>>

/linux-master/drivers/md/dm-vdo/
H A Dpacker.c37 * block.
39 * @compressed_block [in] The compressed block that was read from disk.
40 * @fragment_offset [out] The offset of the fragment within a compressed block.
47 struct compressed_block *block,
59 version = vdo_unpack_version_number(block->header.version);
67 compressed_size = __le16_to_cpu(block->header.sizes[slot]);
69 offset += __le16_to_cpu(block->header.sizes[i]);
135 * vdo_make_packer() - Make a new block packer.
189 * vdo_free_packer() - Free a block packer.
255 * @allocation: The allocation to which the compressed block wa
46 vdo_get_compressed_block_fragment(enum block_mapping_state mapping_state, struct compressed_block *block, u16 *fragment_offset, u16 *fragment_size) argument
368 initialize_compressed_block(struct compressed_block *block, u16 size) argument
390 pack_fragment(struct compression_state *compression, struct data_vio *data_vio, block_size_t offset, slot_number_t slot, struct compressed_block *block) argument
430 struct compressed_block *block; local
[all...]
/linux-master/drivers/media/cec/core/
H A Dcec-api.c122 bool block, __u16 __user *parg)
139 __cec_s_phys_addr(adap, phys_addr, block);
168 bool block, struct cec_log_addrs __user *parg)
184 err = __cec_s_log_addrs(adap, &log_addrs, block);
212 bool block, struct cec_msg __user *parg)
230 err = cec_transmit_msg_fh(adap, &msg, fh, block);
240 static int cec_receive_msg(struct cec_fh *fh, struct cec_msg *msg, bool block) argument
268 if (!block)
291 bool block, struct cec_msg __user *parg)
299 err = cec_receive_msg(fh, &msg, block);
121 cec_adap_s_phys_addr(struct cec_adapter *adap, struct cec_fh *fh, bool block, __u16 __user *parg) argument
167 cec_adap_s_log_addrs(struct cec_adapter *adap, struct cec_fh *fh, bool block, struct cec_log_addrs __user *parg) argument
211 cec_transmit(struct cec_adapter *adap, struct cec_fh *fh, bool block, struct cec_msg __user *parg) argument
290 cec_receive(struct cec_adapter *adap, struct cec_fh *fh, bool block, struct cec_msg __user *parg) argument
308 cec_dqevent(struct cec_adapter *adap, struct cec_fh *fh, bool block, struct cec_event __user *parg) argument
508 bool block = !(filp->f_flags & O_NONBLOCK); local
[all...]
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.h257 int dpaa2_switch_cls_flower_replace(struct dpaa2_switch_filter_block *block,
260 int dpaa2_switch_cls_flower_destroy(struct dpaa2_switch_filter_block *block,
263 int dpaa2_switch_cls_matchall_replace(struct dpaa2_switch_filter_block *block,
266 int dpaa2_switch_cls_matchall_destroy(struct dpaa2_switch_filter_block *block,
269 int dpaa2_switch_acl_entry_add(struct dpaa2_switch_filter_block *block,
272 int dpaa2_switch_block_offload_mirror(struct dpaa2_switch_filter_block *block,
275 int dpaa2_switch_block_unoffload_mirror(struct dpaa2_switch_filter_block *block,
/linux-master/fs/ocfs2/
H A Dbuffer_head_io.c89 int ocfs2_read_blocks_sync(struct ocfs2_super *osb, u64 block, argument
97 trace_ocfs2_read_blocks_sync((unsigned long long)block, nr);
109 bhs[i] = sb_getblk(osb->sb, block++);
138 "block %llu had the JBD bit set "
193 int ocfs2_read_blocks(struct ocfs2_caching_info *ci, u64 block, int nr, argument
204 trace_ocfs2_read_blocks_begin(ci, (unsigned long long)block, nr, flags);
236 bhs[i] = sb_getblk(sb, block++);
306 mlog(ML_ERROR, "block %llu had the JBD bit set "
396 trace_ocfs2_read_blocks_end((unsigned long long)block, nr,
404 /* Check whether the blkno is the super block o
[all...]
H A Duptodate.h20 * is the block number (i_blkno or whatnot). This is used so
63 sector_t block,
/linux-master/drivers/i2c/busses/
H A Di2c-isch.c196 len = data->block[0];
201 outb(data->block[i], SMBBLKDAT+i-1);
228 data->block[0] = inb(SMBHSTDAT0);
229 if (data->block[0] == 0 || data->block[0] > I2C_SMBUS_BLOCK_MAX)
231 for (i = 1; i <= data->block[0]; i++)
232 data->block[i] = inb(SMBBLKDAT+i-1);
/linux-master/sound/isa/sb/
H A Demu8000_patch.c158 sp->block = snd_util_mem_alloc(hdr, truesize * 2);
159 if (sp->block == NULL) {
174 dram_offset = EMU8000_DRAM_OFFSET + (sp->block->offset >> 1);
192 /* first block - write 48 samples for silence */
193 if (! sp->block->offset) {
258 * free a sample block
264 if (sp->block) {
265 snd_util_mem_free(hdr, sp->block);
266 sp->block = NULL;
/linux-master/fs/omfs/
H A Dfile.c141 /* trivially grow current extent, if next block is not taken */
157 /* TODO: add a continuation block here */
188 * Scans across the directory table for a given file block number.
189 * If block not found, return 0.
192 sector_t block, int count, int *left)
200 if (block >= searched &&
201 block < searched + numblocks) {
203 * found it at cluster + (block - searched)
204 * numblocks - (block - searched) is remainder
206 *left = numblocks - (block
191 find_block(struct inode *inode, struct omfs_extent_entry *ent, sector_t block, int count, int *left) argument
217 omfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
326 omfs_bmap(struct address_space *mapping, sector_t block) argument
[all...]
/linux-master/include/media/
H A Dcec.h340 bool block);
342 bool block);
348 bool block);
451 bool block)
515 unsigned int block; local
518 /* Sanity check: at least 2 blocks and a multiple of the block size */
526 * though more blocks are present. The first CEA-861 extension block
527 * should normally be in block 1 anyway.
532 for (block = 1; block < block
450 cec_s_phys_addr(struct cec_adapter *adap, u16 phys_addr, bool block) argument
[all...]
/linux-master/fs/udf/
H A Dnamei.c133 static int udf_expand_dir_adinicb(struct inode *inode, udf_pblk_t *block) argument
156 /* alloc block, and copy data to it */
157 *block = udf_new_block(inode->i_sb, inode,
160 if (!(*block))
162 newblock = udf_get_pblock(inode->i_sb, *block,
177 /* Drop inline data, add block instead */
181 eloc.logicalBlockNum = *block;
186 epos.block = iinfo->i_location;
201 iter.fi.descTag.tagLocation = cpu_to_le32(*block);
227 udf_pblk_t block; local
576 udf_pblk_t block; local
919 udf_nfs_get_inode(struct super_block *sb, u32 block, u16 partref, __u32 generation) argument
[all...]
H A Dialloc.c35 udf_pblk_t block; local
67 block = udf_new_block(dir->i_sb, NULL,
85 iinfo->i_location.logicalBlockNum = block;
H A Dudf_i.h8 struct kernel_lb_addr block; member in struct:extent_position
22 * blocks, preallocation, goal block information... When extents are read,
/linux-master/drivers/net/wireless/ath/wil6210/
H A Dfw_inc.c363 const struct wil_fw_data_dwrite *block = d->data; local
366 if (size % sizeof(*block)) {
368 sizeof(*block), size);
371 n = size / sizeof(*block);
375 u32 m = le32_to_cpu(block[i].mask);
376 u32 v = le32_to_cpu(block[i].value);
379 if (!wil_fw_addr_check(wil, &dst, block[i].addr, 0, "address"))
386 le32_to_cpu(block[i].addr), y, x, v, m);
420 const struct wil_fw_data_gw *block = d->data; local
428 if (size < sizeof(*d) + sizeof(*block)) {
484 const struct wil_fw_data_gw4 *block = d->data; local
[all...]
/linux-master/include/linux/
H A Dpercpu-rwsem.h17 atomic_t block; member in struct:percpu_rw_semaphore
36 .block = ATOMIC_INIT(0), \
130 return atomic_read(&sem->block);
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dsch_red_ets.sh141 install_qdisc qevent early_drop block 10
151 install_qdisc qevent early_drop block 10
161 install_qdisc ecn qevent mark block 10
/linux-master/net/sched/
H A Dcls_matchall.c74 struct tcf_block *block = tp->chain->block; local
80 tc_setup_cb_destroy(block, tp, TC_SETUP_CLSMATCHALL, &cls_mall, false,
90 struct tcf_block *block = tp->chain->block; local
111 err = tc_setup_cb_add(block, tp, TC_SETUP_CLSMATCHALL, &cls_mall,
278 struct tcf_block *block = tp->chain->block; local
301 err = tc_setup_cb_reoffload(block, tp, add, cb, TC_SETUP_CLSMATCHALL,
315 struct tcf_block *block local
[all...]
/linux-master/fs/reiserfs/
H A Dbitmap.c4 /* Reiserfs block (de)allocator, bitmap-based. */
18 /* different reiserfs block allocator options */
42 reiserfs_info(s, "block allocator option \"%s\" is set", #optname); \
49 b_blocknr_t block,
54 * It is in the bitmap block number equal to the block
55 * number divided by the number of bits in a block.
57 *bmap_nr = block >> (s->s_blocksize_bits + 3);
58 /* Within that bitmap block it is located at bit offset *offset. */
59 *offset = block
48 get_bit_address(struct super_block *s, b_blocknr_t block, unsigned int *bmap_nr, unsigned int *offset) argument
62 is_reusable(struct super_block *s, b_blocknr_t block, int bit_value) argument
416 _reiserfs_free_block(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t block, int for_unformatted) argument
467 reiserfs_free_block(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t block, int for_unformatted) argument
491 reiserfs_free_prealloc_block(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t block) argument
1418 b_blocknr_t block = (sb->s_blocksize << 3) * bitmap; local
[all...]
/linux-master/include/sound/
H A Dpcm_oss.h14 block:1, member in struct:snd_pcm_oss_setup
H A Dutil_mem.h13 * memory block
16 unsigned int size; /* size of this block */
17 unsigned int offset; /* zero-offset of this block */
28 struct list_head block; /* block linked-list header */ member in struct:snd_util_memhdr
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/dcn21/
H A Dhw_factory_dcn21.c47 #define block HPD macro
63 #define REGI(reg_name, block, id)\
64 BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
65 mm ## block ## id ## _ ## reg_name
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/dcn10/
H A Dhw_factory_dcn10.c43 #define block HPD macro
60 #define REGI(reg_name, block, id)\
61 BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
62 mm ## block ## id ## _ ## reg_name
/linux-master/drivers/mmc/core/
H A DMakefile18 mmc_block-objs := block.o queue.o
/linux-master/sound/pci/ctxfi/
H A Dctvmem.h34 unsigned int addr; /* starting logical addr of this block */
35 unsigned int size; /* size of this device virtual mem block */
53 void (*unmap)(struct ct_vm *, struct ct_vm_block *block);
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/dcn315/
H A Dhw_factory_dcn315.c53 #define block HPD macro
69 #define REGI(reg_name, block, id)\
70 BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
71 reg ## block ## id ## _ ## reg_name
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/dcn20/
H A Dhw_factory_dcn20.c49 #define block HPD macro
65 #define REGI(reg_name, block, id)\
66 BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
67 mm ## block ## id ## _ ## reg_name

Completed in 351 milliseconds

1234567891011>>