Searched refs:block (Results 151 - 175 of 1031) sorted by relevance

1234567891011>>

/linux-master/lib/xz/
H A Dxz_dec_stream.c94 } block; member in struct:xz_dec
108 /* Number of Records (matches block.count in valid files) */
112 * Hash calculated from the Records (matches block.hash in
232 s->block.compressed += b->in_pos - s->in_start;
233 s->block.uncompressed += b->out_pos - s->out_start;
239 if (s->block.compressed > s->block_header.compressed
240 || s->block.uncompressed
251 != s->block.compressed)
256 != s->block.uncompressed)
259 s->block
[all...]
/linux-master/drivers/i2c/
H A Di2c-core-smbus.c210 * i2c_smbus_read_block_data - SMBus "block read" protocol
216 * This executes the SMBus "block read" protocol, returning negative errno
236 memcpy(values, &data.block[1], data.block[0]);
237 return data.block[0];
242 * i2c_smbus_write_block_data - SMBus "block write" protocol
245 * @length: Size of data block; SMBus allows at most 32 bytes
248 * This executes the SMBus "block write" protocol, returning negative errno
258 data.block[0] = length;
259 memcpy(&data.block[
[all...]
H A Di2c-stub.c66 u8 block[I2C_SMBUS_BLOCK_MAX]; member in struct:smbus_block_data
215 * block transfers
217 if (data->block[0] > 256 - command) /* Avoid overrun */
218 data->block[0] = 256 - command;
219 len = data->block[0];
223 chip->words[command + i] |= data->block[1 + i];
226 "i2c block data - addr 0x%02x, wrote %d bytes at 0x%02x.\n",
230 data->block[1 + i] =
234 "i2c block data - addr 0x%02x, read %d bytes at 0x%02x.\n",
244 * banks and SMBus block transfer
[all...]
/linux-master/arch/s390/kernel/
H A Dsthyi.c229 struct diag204_x_phys_block *block,
234 for (i = 0; i < block->hdr.cpus; i++) {
235 switch (cpu_id(block->cpus[i].ctidx, diag224_buf)) {
237 if (block->cpus[i].weight == DED_WEIGHT)
243 if (block->cpus[i].weight == DED_WEIGHT)
253 /* Returns a pointer to the the next partition block. */
257 struct diag204_x_part_block *block)
262 for (i = 0; i < block->hdr.rcpus; i++) {
263 if (!(block->cpus[i].cflag & DIAG204_CPU_ONLINE))
266 switch (cpu_id(block
228 fill_diag_mac(struct sthyi_sctns *sctns, struct diag204_x_phys_block *block, void *diag224_buf) argument
254 lpar_cpu_inf(struct lpar_cpu_inf *part_inf, bool this_lpar, void *diag224_buf, struct diag204_x_part_block *block) argument
[all...]
/linux-master/fs/affs/
H A Dinode.c24 u32 block; local
37 block = inode->i_ino;
38 bh = affs_bread(sb, block);
40 affs_warning(sb, "read_inode", "Cannot read block %d", block);
46 AFFS_HEAD(bh)->ptype, block);
177 // possibly free block
181 affs_error(sb,"write_inode","Cannot read block %lu",inode->i_ino);
295 u32 block; local
301 if (!(block
353 u32 block = 0; local
[all...]
/linux-master/drivers/md/dm-vdo/
H A Dslab-depot.c42 * get_lock() - Get the lock object for a slab journal block by sequence number.
44 * @sequence_number: Sequence number of the block.
84 * initialize_tail_block() - Initialize tail block as a new block.
85 * @journal: The journal whose tail block is being initialized.
110 * block_is_full() - Check whether a journal block is full.
111 * @journal: The slab journal for the block.
113 * Return: true if the tail block is full.
200 * compute_fullness_hint() - Translate a slab's free block count into a 'fullness hint' that can be
208 * one block i
263 finish_updating_slab_summary_block(struct slab_summary_block *block) argument
280 struct slab_summary_block *block = local
293 struct slab_summary_block *block = local
304 struct slab_summary_block *block = local
314 launch_write(struct slab_summary_block *block) argument
366 struct slab_summary_block *block = &allocator->summary_blocks[index]; local
662 sequence_number_t block; local
681 const struct packed_slab_journal_block *block = local
907 struct packed_slab_journal_block *block = journal->block; local
1070 struct reference_block *block = completion->parent; local
1125 get_reference_counters_for_block(struct reference_block *block) argument
1137 pack_reference_block(struct reference_block *block, void *buffer) argument
1156 struct reference_block *block = vio->completion.parent; local
1191 struct reference_block *block = container_of(waiter, struct reference_block, local
1267 dirty_block(struct reference_block *block) argument
1420 increment_for_data(struct vdo_slab *slab, struct reference_block *block, slab_block_number block_number, enum reference_status old_status, struct pbn_lock *lock, vdo_refcount_t *counter_ptr, bool adjust_block_count) argument
1468 decrement_for_data(struct vdo_slab *slab, struct reference_block *block, slab_block_number block_number, enum reference_status old_status, struct reference_updater *updater, vdo_refcount_t *counter_ptr, bool adjust_block_count) argument
1531 increment_for_block_map(struct vdo_slab *slab, struct reference_block *block, slab_block_number block_number, enum reference_status old_status, struct pbn_lock *lock, bool normal_operation, vdo_refcount_t *counter_ptr, bool adjust_block_count) argument
1591 update_reference_count(struct vdo_slab *slab, struct reference_block *block, slab_block_number block_number, const struct journal_point *slab_journal_point, struct reference_updater *updater, bool normal_operation, bool adjust_block_count, bool *provisional_decrement_ptr) argument
1634 struct reference_block *block; local
1947 struct reference_block *block; local
1984 struct reference_block *block = get_reference_block(slab, entry.sbn); local
2145 struct reference_block *block = get_reference_block(slab, block_number); local
2173 clear_provisional_references(struct reference_block *block) argument
2198 unpack_reference_block(struct packed_reference_block *packed, struct reference_block *block) argument
2242 struct reference_block *block = completion->parent; local
2257 struct reference_block *block = vio->completion.parent; local
2273 struct reference_block *block = local
2413 struct packed_slab_journal_block *block = (struct packed_slab_journal_block *) vio->data; local
2776 apply_block_entries(struct packed_slab_journal_block *block, journal_entry_count_t entry_count, sequence_number_t block_number, struct vdo_slab *slab) argument
2847 struct packed_slab_journal_block *block = local
3968 struct slab_summary_block *block = &allocator->summary_blocks[index]; local
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vram_mgr.c61 struct drm_buddy_block *block; local
64 block = amdgpu_vram_mgr_first_block(head);
65 if (!block)
68 while (head != block->link.next) {
69 start = amdgpu_vram_mgr_block_start(block);
70 size = amdgpu_vram_mgr_block_size(block);
72 block = list_entry(block->link.next, struct drm_buddy_block, link);
73 if (start + size != amdgpu_vram_mgr_block_start(block))
82 struct drm_buddy_block *block; local
251 amdgpu_vram_mgr_vis_size(struct amdgpu_device *adev, struct drm_buddy_block *block) argument
277 struct drm_buddy_block *block; local
299 struct drm_buddy_block *block; local
457 struct drm_buddy_block *block; local
598 struct drm_buddy_block *block; local
755 struct drm_buddy_block *block; local
788 struct drm_buddy_block *block; local
[all...]
H A Damdgpu_mmhub.c35 dev_err(adev->dev, "Failed to register mmhub ras block!\n");
40 ras->ras_block.ras_comm.block = AMDGPU_RAS_BLOCK__MMHUB;
H A Damdgpu_hdp.c37 dev_err(adev->dev, "Failed to register hdp ras block!\n");
42 ras->ras_block.ras_comm.block = AMDGPU_RAS_BLOCK__HDP;
/linux-master/fs/squashfs/
H A Dnamei.c17 * decompressed block (<block, offset>).
22 * compressed metadata block, and therefore, can share the start block.
24 * header containing the shared start block value, and a sequence of directory
25 * entries, each of which share the shared start block. A new directory header
26 * is written once/if the inode start block changes. The directory
32 * in each metadata block. Directories are sorted in alphabetical order,
35 * location of the metadata block the filename is in has been found.
36 * The general idea of the index is ensure only one metadata block need
135 u64 block = squashfs_i(dir)->start + msblk->directory_table; local
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Dtc_shblocks.sh53 tc filter add block 22 protocol ip pref 1 handle 101 flower \
59 tc_check_packets "block 22" 101 1
60 check_err $? "Did not match first incoming packet on a block"
65 tc_check_packets "block 22" 101 2
66 check_err $? "Did not match second incoming packet on a block"
68 tc filter del block 22 protocol ip pref 1 handle 101 flower
70 log_test "shared block ($tcflags)"
77 tc filter add block 22 protocol ip pref 1 handle 101 flower \
79 tc filter add block 22 protocol ip pref 2 handle 102 flower \
85 tc_check_packets "block 2
[all...]
/linux-master/drivers/dma/dw/
H A Ddw.c49 u32 block; local
52 block = dwc->block_size;
55 block = bytes >> width;
59 return block;
62 static size_t dw_dma_block2bytes(struct dw_dma_chan *dwc, u32 block, u32 width) argument
64 return DWC_CTLH_BLOCK_TS(block) << width;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dhv_vhca_stats.c94 struct mlx5_hv_vhca_control_block *block)
102 block->version = MLX5_HV_VHCA_STATS_VERSION;
103 block->rings = priv->stats_nch;
105 if (!block->command) {
110 sagent->delay = block->command == MLX5_HV_VHCA_STATS_UPDATE_ONCE ? 0 :
111 msecs_to_jiffies(block->command * 100);
93 mlx5e_hv_vhca_stats_control(struct mlx5_hv_vhca_agent *agent, struct mlx5_hv_vhca_control_block *block) argument
/linux-master/include/trace/events/
H A Dnilfs2.h169 unsigned long block),
171 TP_ARGS(inode, ino, block),
176 __field(unsigned long, block)
182 __entry->block = block;
185 TP_printk("inode = %p ino = %lu block = %lu",
188 __entry->block)
/linux-master/fs/hfs/
H A Dextent.c21 static void hfs_ext_build_key(hfs_btree_key *key, u32 cnid, u16 block, u8 type) argument
26 key->ext.FABN = cpu_to_be16(block);
37 * and the allocation block number field is the least significant
72 * Find a block within an extent record
82 return be16_to_cpu(ext->block) + off;
107 return be16_to_cpu(ext->block) + be16_to_cpu(ext->count);
151 u32 cnid, u32 block, u8 type)
155 hfs_ext_build_key(fd->search_key, cnid, block, type);
169 static inline int __hfs_ext_cache_extent(struct hfs_find_data *fd, struct inode *inode, u32 block) argument
180 block, HFS_IS_RSR
150 __hfs_ext_read_extent(struct hfs_find_data *fd, struct hfs_extent *extent, u32 cnid, u32 block, u8 type) argument
191 hfs_ext_read_extent(struct inode *inode, u16 block) argument
336 hfs_get_block(struct inode *inode, sector_t block, struct buffer_head *bh_result, int create) argument
[all...]
/linux-master/kernel/locking/
H A Dpercpu-rwsem.c24 atomic_set(&sem->block, 0);
57 * If the reader misses the writer's assignment of sem->block, then the
61 * the writer looks are guaranteed to see the sem->block value, which
70 * If !sem->block the critical section starts here, matched by the
73 if (likely(!atomic_read_acquire(&sem->block)))
86 if (atomic_read(&sem->block))
89 return atomic_xchg(&sem->block, 1) == 0;
197 return per_cpu_sum(*sem->read_count) != 0 && !atomic_read(&sem->block);
207 * Assumes sem->block is set.
235 * Try set sem->block; thi
[all...]
/linux-master/arch/powerpc/crypto/
H A Daes-gcm-p10.S585 li 11, 0 # block index
637 # check partial block
683 lxvb16x 15, 0, 14 # load block
684 lxvb16x 16, 15, 14 # load block
685 lxvb16x 17, 16, 14 # load block
686 lxvb16x 18, 17, 14 # load block
687 lxvb16x 19, 18, 14 # load block
688 lxvb16x 20, 19, 14 # load block
689 lxvb16x 21, 20, 14 # load block
690 lxvb16x 22, 21, 14 # load block
[all...]
/linux-master/drivers/firmware/efi/libstub/
H A Darm32-stub.c27 int block; local
58 block = cpuid_feature_extract(CPUID_EXT_MMFR0, 0);
59 if (block < 5) {
106 * the allocation, so we need to advance to the next 16 MiB block.
/linux-master/fs/sysv/
H A Dinode.c43 * If we are going to write out the super block,
177 unsigned int block; local
209 for (block = 0; block < 10+1+1+1; block++)
210 read3byte(sbi, &raw_inode->i_data[3*block],
211 (u8 *)&si->i_data[block]);
234 unsigned int ino, block; local
245 printk("unable to read i-node block\n");
261 for (block
[all...]
/linux-master/drivers/md/persistent-data/
H A DMakefile6 dm-block-manager.o \
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/dce120/
H A Dhw_factory_dce120.c42 #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/radeon/
H A Dcik.h31 void cik_update_cg(struct radeon_device *rdev, u32 block, bool enable);
/linux-master/arch/mips/cavium-octeon/crypto/
H A Docteon-sha256.c55 const u64 *block = _block; local
57 write_octeon_64bit_block_dword(block[0], 0);
58 write_octeon_64bit_block_dword(block[1], 1);
59 write_octeon_64bit_block_dword(block[2], 2);
60 write_octeon_64bit_block_dword(block[3], 3);
61 write_octeon_64bit_block_dword(block[4], 4);
62 write_octeon_64bit_block_dword(block[5], 5);
63 write_octeon_64bit_block_dword(block[6], 6);
64 octeon_sha256_start(block[7]);
H A Docteon-sha1.c63 const u64 *block = _block; local
65 write_octeon_64bit_block_dword(block[0], 0);
66 write_octeon_64bit_block_dword(block[1], 1);
67 write_octeon_64bit_block_dword(block[2], 2);
68 write_octeon_64bit_block_dword(block[3], 3);
69 write_octeon_64bit_block_dword(block[4], 4);
70 write_octeon_64bit_block_dword(block[5], 5);
71 write_octeon_64bit_block_dword(block[6], 6);
72 octeon_sha1_start(block[7]);
/linux-master/drivers/hwtracing/intel_th/
H A Dmsu-sink.c56 void *block; local
71 block = dma_alloc_coherent(priv->dev->parent->parent,
74 if (!block)
77 sg_set_buf(sg_ptr, block, PAGE_SIZE);

Completed in 244 milliseconds

1234567891011>>