Searched refs:block (Results 301 - 325 of 1031) sorted by relevance

<<11121314151617181920>>

/linux-master/arch/x86/boot/
H A Dheader.S414 # 1 bit (last block flag)
415 # 2 bits (block type)
417 # 1 block occurs every 32K -1 bytes or when there 50% compression
418 # has been achieved. The smallest block type encoding is always used.
444 # The worst case at the block level is a growth of the compressed data
447 # The worst case internal to a compressed block is very hard to figure.
453 # to be safe. To avoid problems at the block level allocating 5 extra bytes
455 # block adding an extra 32767 bytes (the worst case uncompressed block size)
457 # block wil
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_edid.c1578 /*** DDC fetch and block validation ***/
1630 /* EDID block count indicated in EDID, may exceed allocated size */
1654 /* EDID block count, limited by allocated size */
1662 /* EDID extension block count, limited by allocated size */
1698 * EDID base and extension block iterator.
1701 * const u8 *block;
1704 * drm_edid_iter_for_each(block, &iter) {
1705 * // do stuff with block
1712 /* Current block index. */
1726 const void *block local
1783 const u8 *block = _block; local
1797 const struct edid *block = _block; local
1804 const u8 *block = _block; local
1860 const struct edid *block = _block; local
1901 edid_block_valid(const void *block, bool base) argument
1907 edid_block_status_print(enum edid_block_status status, const struct edid *block, int block_num) argument
1954 edid_block_dump(const char *level, const void *block, int block_num) argument
1986 struct edid *block = (struct edid *)_block; local
2047 void *block = (void *)edid_block_data(edid, i); local
2077 const void *block = drm_edid_block_data(drm_edid, i); local
2140 drm_do_probe_ddc_edid(void *data, u8 *buf, unsigned int block, size_t len) argument
2330 edid_block_read(void *block, unsigned int block_num, read_block_fn read_block, void *context) argument
2419 void *block = (void *)edid_block_data(edid, i); local
4151 const struct displayid_block *block; local
5046 const struct displayid_block *block; local
6397 drm_parse_vesa_mso_data(struct drm_connector *connector, const struct displayid_block *block) argument
6460 const struct displayid_block *block; local
6516 const struct displayid_block *block; local
6696 add_displayid_detailed_1_modes(struct drm_connector *connector, const struct displayid_block *block) argument
6726 const struct displayid_block *block; local
7269 drm_parse_tiled_block(struct drm_connector *connector, const struct displayid_block *block) argument
7324 displayid_is_tiled_block(const struct displayid_iter *iter, const struct displayid_block *block) argument
7336 const struct displayid_block *block; local
[all...]
/linux-master/fs/affs/
H A Dbitmap.c8 * block allocation, deallocation, calculation of free space.
39 affs_free_block(struct super_block *sb, u32 block) argument
47 pr_debug("%s(%u)\n", __func__, block);
49 if (block > sbi->s_partition_size)
52 blk = block - sbi->s_reserved;
72 /* mark block free */
90 affs_warning(sb,"affs_free_block","Trying to free block %u which is already free", block);
95 affs_error(sb,"affs_free_block","Cannot read bitmap block %u", bm->bm_key);
102 affs_error(sb, "affs_free_block","Block %u outside partition", block);
[all...]
/linux-master/fs/befs/
H A Ddatastream.c54 befs_blocknr_t block; /* block coresponding to pos */ local
57 block = pos >> BEFS_SB(sb)->block_shift;
59 *off = pos - (block << BEFS_SB(sb)->block_shift);
61 if (befs_fblock2brun(sb, ds, block, &run) != BEFS_OK) {
62 befs_error(sb, "BeFS: Error finding disk addr of block %lu",
63 (unsigned long)block);
69 befs_error(sb, "BeFS: Error reading block %lu from datastream",
70 (unsigned long)block);
80 * befs_fblock2brun - give back block ru
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Dsch_red.sh374 tc filter add block 10 pref 1234 handle 102 matchall skip_hw \
389 tc filter del block 10 pref 1234 handle 102 matchall
415 tc filter add block 10 pref 1234 handle 102 matchall skip_hw \
428 tc filter del block 10 pref 1234 handle 102 matchall
474 install_qdisc qevent early_drop block 10
481 install_qdisc ecn qevent mark block 10
/linux-master/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_dwb.h38 #define SRI(reg_name, block, id)\
39 .reg_name = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
40 mm ## block ## id ## _ ## reg_name
43 #define SRII(reg_name, block, id)\
44 .reg_name[id] = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
45 mm ## block ## id ## _ ## reg_name
/linux-master/drivers/spi/
H A Dspi-cs42l43.c49 const u8 *block = min(buf + CS42L43_FIFO_SIZE, end); local
51 while (buf < block) {
52 const u8 *word = min(buf + sizeof(u32), block);
86 u8 *block = min(buf + CS42L43_FIFO_SIZE, end); local
94 while (buf < block) {
95 u8 *word = min(buf + sizeof(u32), block);
/linux-master/fs/ext4/
H A Dnamei.c55 ext4_lblk_t *block)
66 *block = inode->i_size >> inode->i_sb->s_blocksize_bits;
67 map.m_lblk = *block;
71 * We're appending new directory block. Make sure the block is not
79 EXT4_ERROR_INODE(inode, "Logical block already allocated");
83 bh = ext4_bread(handle, inode, *block, EXT4_GET_BLOCKS_CREATE);
109 * block being read to be an index block, or a block containin
53 ext4_append(handle_t *handle, struct inode *inode, ext4_lblk_t *block) argument
124 __ext4_read_dirblock(struct inode *inode, ext4_lblk_t block, dirblock_type_t type, const char *func, unsigned int line) argument
237 __le32 block; member in struct:dx_entry
751 ext4_lblk_t block = dx_get_block(entries); local
818 ext4_lblk_t block; local
1069 htree_dirblock_to_tree(struct file *dir_file, struct inode *dir, ext4_lblk_t block, struct dx_hash_info *hinfo, __u32 start_hash, __u32 start_minor_hash) argument
1189 ext4_lblk_t block; local
1378 dx_insert_block(struct dx_frame *frame, u32 hash, ext4_lblk_t block) argument
1564 is_dx_internal_node(struct inode *dir, ext4_lblk_t block, struct ext4_dir_entry *de) argument
1599 ext4_lblk_t start, block; local
1783 ext4_lblk_t block; local
2237 ext4_lblk_t block; local
2382 ext4_lblk_t block, blocks; local
2960 ext4_lblk_t block = 0; local
[all...]
/linux-master/drivers/misc/cb710/
H A Ddebug.c22 static inline int allow_reg_read(unsigned block, unsigned offset, unsigned bits) argument
26 return ((allow[block] >> offset) & mask) == mask;
/linux-master/arch/sparc/include/asm/
H A Dviking.h109 #define VIKING_PTAG_VALID 0x01000000 /* Cache block is valid */
165 static inline void viking_get_dcache_ptag(int set, int block, argument
168 unsigned long ptag = ((set & 0x7f) << 5) | ((block & 0x3) << 26) |
/linux-master/include/crypto/internal/
H A Dblake2b.h15 const u8 *block, size_t nblocks, u32 inc);
23 const u8 *block, size_t nblocks, u32 inc);
42 /* Hash one less (full) block than strictly possible */
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/dce110/
H A Dhw_factory_dce110.c48 #define REGI(reg_name, block, id)\
49 mm ## block ## id ## _ ## reg_name
/linux-master/drivers/i2c/busses/
H A Di2c-ismt.c356 memcpy(data->block, dma_buffer, desc->rxbytes);
359 memcpy(&data->block[1], dma_buffer, desc->rxbytes);
360 data->block[0] = desc->rxbytes;
512 if (data->block[0] < 1 || data->block[0] > I2C_SMBUS_BLOCK_MAX)
515 dma_size = data->block[0] + 1;
520 memcpy(&dma_buffer[1], &data->block[1], dma_size - 1);
534 if (data->block[0] > I2C_SMBUS_BLOCK_MAX)
539 desc->wr_len_cmd = data->block[0] + 1;
544 memcpy(&dma_buffer[1], &data->block[
[all...]
H A Di2c-viapro.c13 Chip name PCI ID REV I2C block
230 outb_p(data->block[0], SMBHSTDAT0);
235 u8 len = data->block[0];
241 outb_p(data->block[i], SMBBLKDAT);
273 data->block[0] = inb_p(SMBHSTDAT0);
274 if (data->block[0] > I2C_SMBUS_BLOCK_MAX)
275 data->block[0] = I2C_SMBUS_BLOCK_MAX;
277 for (i = 1; i <= data->block[0]; i++)
278 data->block[i] = inb_p(SMBBLKDAT);
403 /* The VT82C686B (rev 0x40) does support I2C block
[all...]
H A Di2c-amd8111.c252 len = min_t(u8, data->block[0],
260 data->block[i + 1]);
269 len = min_t(u8, data->block[0],
281 data->block[i + 1]);
305 len = min_t(u8, data->block[0],
315 data->block[i + 1]);
388 data->block + i + 1);
392 data->block[0] = len;
H A Di2c-ali1535.c111 #define ALI1535_BLOCK_CLR 0x04 /* reset block data index */
406 len = data->block[0];
409 data->block[0] = len;
413 data->block[0] = len;
419 outb_p(data->block[i], SMBBLKDAT);
451 data->block[0] = len;
454 for (i = 1; i <= data->block[0]; i++) {
455 data->block[i] = inb_p(SMBBLKDAT);
457 len, i, data->block[i]);
/linux-master/fs/squashfs/
H A Dxattr_id.c32 int block = SQUASHFS_XATTR_BLOCK(index); local
41 start_block = le64_to_cpu(msblk->xattr_id_table[block]);
H A Dfile_direct.c22 int squashfs_readpage_block(struct page *target_page, u64 block, int bsize, argument
47 /* Try to grab all the pages covered by the Squashfs block */
75 res = squashfs_read_data(inode->i_sb, block, bsize, NULL, actor);
/linux-master/sound/soc/intel/atom/sst/
H A Dsst_stream.c175 struct sst_block *block = NULL; local
176 u8 bytes_block = bytes->block;
179 "type:%u ipc_msg:%u block:%u task_id:%u pipe: %#x length:%#x\n",
195 block = sst_create_block(sst_drv_ctx, bytes->ipc_msg, pvt_id);
196 if (block == NULL) {
208 ret = sst_wait_timeout(sst_drv_ctx, block);
211 sst_free_block(sst_drv_ctx, block);
221 unsigned char *r = block->data;
229 sst_free_block(sst_drv_ctx, block);
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn201/
H A Ddcn201_resource.c255 #define SRI(reg_name, block, id)\
256 .reg_name = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
257 mm ## block ## id ## _ ## reg_name
259 #define SRIR(var_name, reg_name, block, id)\
260 .var_name = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
261 mm ## block ## id ## _ ## reg_name
263 #define SRII(reg_name, block, id)\
264 .reg_name[id] = BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \
265 mm ## block ## id ## _ ## reg_name
267 #define SRI_IX(reg_name, block, i
[all...]
/linux-master/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dctxt-info-gen3.c304 dram->block = iwl_pcie_ctxt_info_dma_alloc_coherent(trans, len,
306 if (!dram->block) {
312 memcpy(dram->block, pnvm_data->chunks[0].data, len0);
313 memcpy((u8 *)dram->block + len0, pnvm_data->chunks[1].data, len1);
332 desc_dram->block = iwl_pcie_ctxt_info_dma_alloc_coherent
336 if (!desc_dram->block) {
341 memset(desc_dram->block, 0, len);
363 addresses = desc_dram->block;
/linux-master/drivers/md/
H A Ddm-verity.h43 u8 *root_digest; /* digest of the root block */
45 u8 *zero_digest; /* digest for a zero block */
53 unsigned char hash_per_block_bits; /* log2(hashes in hash block) */
56 bool hash_failed:1; /* set if hash of any block failed */
85 sector_t block; member in struct:dm_verity_io
134 sector_t block, u8 *digest, bool *is_zero);
H A Ddm-ebs-target.c7 * Device-mapper target to emulate smaller logical block
22 /* Emulated block size context. */
24 struct dm_dev *dev; /* Underlying device to emulate block size on. */
31 unsigned int e_bs; /* Emulated block size in sectors exposed to upper layer. */
32 unsigned int u_bs; /* Underlying block size in sectors retrieved from/set on lower layer device. */
34 bool u_bs_set:1; /* Flag to indicate underlying block size is set on table line. */
73 sector_t block = __sector_to_block(ec, iter->bi_sector); local
85 /* Avoid reading for writes in case bio vector's page overwrites block completely. */
87 ba = dm_bufio_read(ec->bufio, block, &b);
89 ba = dm_bufio_new(ec->bufio, block,
145 sector_t block, blocks, sector = bio->bi_iter.bi_sector; local
[all...]
/linux-master/drivers/mtd/nand/onenand/
H A Donenand_base.c217 * onenand_block_address - [DEFAULT] Get block address
219 * @block: the block
220 * @return translated block address if DDP, otherwise same
224 static int onenand_block_address(struct onenand_chip *this, int block) argument
227 if (block & this->density_mask)
228 return ONENAND_DDP_CHIP1 | (block ^ this->density_mask);
230 return block;
236 * @block: the block
241 onenand_bufferram_address(struct onenand_chip *this, int block) argument
334 flexonenand_addr(struct onenand_chip *this, int block) argument
352 onenand_addr(struct onenand_chip *this, int block) argument
401 int value, block, page; local
876 int blockpage, block, page; local
923 int block = onenand_block(this, addr); local
2454 int block; local
2508 int start, end, block, value, status; local
2620 unsigned int value, block, status; local
2704 int value, block, page; local
2785 int block, value, status; local
3520 int block; local
[all...]
/linux-master/fs/ufs/
H A Dinode.c24 * Goal-directed block allocation by Stephen Tweedie (sct@dcs.ed.ac.uk), 1993
74 ufs_warning(inode->i_sb, "ufs_block_to_path", "block > big");
212 * Unpacking tails: we have a file with partial final block and
214 * is within the same block, we need to extend the tail just to cover
215 * that fragment. Otherwise the tail is extended to full block.
229 unsigned block = ufs_fragstoblks(lastfrag); local
239 p = ufs_get_direct_data_ptr(uspi, ufsi, block);
249 * @index: number of block pointer within the inode's array.
252 * @new: we set it if we allocate new block
313 p = ufsi->i_u1.u2_i_data + block;
524 ufs_bmap(struct address_space *mapping, sector_t block) argument
1002 u64 block = ufs_data_ptr_to_cpu(sb, p); local
1011 u64 block = ufs_data_ptr_to_cpu(sb, p); local
1031 u64 block = ufs_data_ptr_to_cpu(sb, p); local
1045 u64 block = ufs_data_ptr_to_cpu(sb, p); local
1140 u64 block; local
[all...]

Completed in 254 milliseconds

<<11121314151617181920>>