/linux-master/fs/ext2/ |
H A D | balloc.c | 10 * Enhanced block allocation by Stephen Tweedie (sct@redhat.com), 1993 29 * blocks groups. Each group contains 1 bitmap block for blocks, 1 bitmap 30 * block for inodes, N blocks for the inode table and data blocks. 33 * super block. Each descriptor contains the number of the bitmap block and 34 * the free blocks count in the block. The descriptors are loaded in memory 83 /* check whether block bitmap block number is set */ 87 /* bad block bitmap */ 90 /* check whether the inode bitmap block numbe 475 ext2_free_blocks(struct inode * inode, ext2_fsblk_t block, unsigned long count) argument [all...] |
/linux-master/drivers/hwmon/occ/ |
H A D | common.c | 1102 struct occ_sensor_data_block *block = &poll->block; local 1108 block = (struct occ_sensor_data_block *)((u8 *)block + offset); 1110 offset = (block->header.num_sensors * 1111 block->header.sensor_length) + sizeof(block->header); 1121 old_offset, offset - 1, block->header.eye_catcher, 1122 block->header.num_sensors); 1124 /* match sensor block typ [all...] |
/linux-master/drivers/crypto/stm32/ |
H A D | stm32-cryp.c | 604 u32 block[AES_BLOCK_32] = {0}; local 605 u8 *b8 = (u8 *)block; 625 scatterwalk_copychunks((char *)block + len, &cryp->in_walk, written, 0); 627 writesl(cryp->regs + cryp->caps->din, block, AES_BLOCK_32); 689 /* Write first (special) block (may move to next phase [payload]) */ 1384 u32 block[AES_BLOCK_32]; local 1386 readsl(cryp->regs + cryp->caps->dout, block, cryp->hw_blocksize / sizeof(u32)); 1387 scatterwalk_copychunks(block, &cryp->out_walk, min_t(size_t, cryp->hw_blocksize, 1395 u32 block[AES_BLOCK_32] = {0}; local 1397 scatterwalk_copychunks(block, 1406 u32 cfg, block[AES_BLOCK_32] = {0}; local 1496 u32 block[AES_BLOCK_32] = {0}; local 1620 u32 block[AES_BLOCK_32] = {0}; local [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn315/ |
H A D | dcn315_resource.c | 165 #define SRI(reg_name, block, id)\ 166 .reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 167 reg ## block ## id ## _ ## reg_name 169 #define SRI2(reg_name, block, id)\ 173 #define SRIR(var_name, reg_name, block, id)\ 174 .var_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 175 reg ## block ## id ## _ ## reg_name 177 #define SRII(reg_name, block, id)\ 178 .reg_name[id] = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 179 reg ## block ## i [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/resource/dcn316/ |
H A D | dcn316_resource.c | 153 #define SRI(reg_name, block, id)\ 154 .reg_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 155 reg ## block ## id ## _ ## reg_name 157 #define SRI2(reg_name, block, id)\ 161 #define SRIR(var_name, reg_name, block, id)\ 162 .var_name = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 163 reg ## block ## id ## _ ## reg_name 165 #define SRII(reg_name, block, id)\ 166 .reg_name[id] = BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 167 reg ## block ## i [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_umc.c | 203 .block = AMDGPU_RAS_BLOCK__UMC, 250 enum amdgpu_ras_block block, bool reset) 270 .block = AMDGPU_RAS_BLOCK__UMC, 301 adev->virt.ops->ras_poison_handler(adev, block); 329 dev_err(adev->dev, "Failed to register umc ras block!\n"); 334 ras->ras_block.ras_comm.block = AMDGPU_RAS_BLOCK__UMC; 355 if (amdgpu_ras_is_supported(adev, ras_block->block)) { 249 amdgpu_umc_poison_handler(struct amdgpu_device *adev, enum amdgpu_ras_block block, bool reset) argument
|
/linux-master/arch/arm/crypto/ |
H A D | aes-ce-core.S | 127 * q0 : first in/output block 128 * q1 : second in/output block (_4x version only) 129 * q2 : third in/output block (_4x version only) 130 * q3 : fourth in/output block (_4x version only) 238 vld1.8 {q1}, [r1]! @ get next pt block 276 vld1.8 {q0}, [r1]! @ get next ct block 442 bmi .Lctrtailblock @ blocks < 0 means tail block 491 teq r6, #1 @ start of a block? 495 @ be done at the start of a block. 509 teq r6, #0 @ start of a block [all...] |
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot_flower.c | 12 /* Arbitrarily chosen constants for encoding the VCAP block and lookup number 24 /* PSFP chain and block ID */ 136 /* VCAP IS2 lookup 1 can goto to PSFP block if hardware support */ 148 struct ocelot_vcap_block *block; local 156 block = &ocelot->block[VCAP_IS1]; 158 list_for_each_entry(filter, &block->rules, list) 887 filter = ocelot_vcap_block_find_filter_by_id(&ocelot->block[block_id], 941 struct ocelot_vcap_block *block; local 955 block 978 struct ocelot_vcap_block *block; local [all...] |
/linux-master/drivers/gpu/drm/tiny/ |
H A D | gm12u320.c | 256 int block, dst_offset, len, remain, ret, x1, x2, y1, y2; local 288 block = dst_offset / DATA_BLOCK_CONTENT_SIZE; 300 gm12u320->data_buf[block] + dst_offset, 304 block++; 307 gm12u320->data_buf[block] + dst_offset, 327 int block, block_size, len; local 332 for (block = 0; block < GM12U320_BLOCK_COUNT; block++) { 333 if (block [all...] |
/linux-master/drivers/media/test-drivers/vicodec/ |
H A D | codec-fwht.c | 57 s16 block[8 * 8]; local 58 s16 *wp = block; 63 /* read in block from framebuffer */ 75 for (i = 63; i >= 0 && !block[zigzag[i]]; i--) 89 while ((tmp = block[zigzag[i]]) == 0 && cnt < 14) { 121 s16 block[8 * 8 + 16]; local 122 s16 *wp = block; 134 * So block has to be 8 * 8 + 16 bytes, the '+ 16' is to 161 wp = block; 248 static void noinline_for_stack fwht(const u8 *block, s1 argument 383 fwht16(const s16 *block, s16 *output_block, int stride, int intra) argument 467 ifwht(const s16 *block, s16 *output_block, int intra) argument [all...] |
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_ag.c | 313 * cluster-aligned block after the AGFL. 488 * Generic btree root block init function 507 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); local 525 be16_add_cpu(&block->bb_numrecs, 1); 544 * Calculate the block count of this record; if it is nonzero, 550 be16_add_cpu(&block->bb_numrecs, 1); 554 * bnobt/cntbt btree root block init functions 567 * Reverse map root block init 575 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); local 582 * btree block i [all...] |
/linux-master/drivers/soc/ti/ |
H A D | knav_qmss_queue.c | 1138 struct knav_link_ram_block *block) 1161 * link ram WARNING - we do not "reserve" this block 1163 block->dma = (dma_addr_t)temp[0]; 1164 block->virt = NULL; 1165 block->size = temp[1]; 1167 block->size = temp[1]; 1169 block->virt = dmam_alloc_coherent(kdev->dev, 1170 8 * block->size, &block->dma, 1172 if (!block 1136 knav_get_link_ram(struct knav_device *kdev, const char *name, struct knav_link_ram_block *block) argument 1185 struct knav_link_ram_block *block; local [all...] |
/linux-master/tools/testing/selftests/ftrace/test.d/event/ |
H A D | event-no-pid.tc | 48 enable_system block
|
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_acl.h | 182 struct prestera_flow_block *block, 186 struct prestera_flow_block *block,
|
/linux-master/drivers/media/pci/zoran/ |
H A D | videocodec.h | 269 long (*put_image)(struct videocodec *codec, int tr_type, int block, 271 long (*get_image)(struct videocodec *codec, int tr_type, int block,
|
/linux-master/fs/ocfs2/ |
H A D | suballoc.h | 40 u64 ac_max_block; /* Highest block number to allocate. 0 is 140 static inline u64 ocfs2_which_suballoc_group(u64 block, unsigned int bit) argument 142 u64 group = block - (u64) bit; 150 /* This should work for all block group descriptors as only 157 /* the rest of the block groups are located at the beginning 175 /* given a cluster offset, calculate which block group it belongs to 176 * and return that block offset. */ 182 * without going readonly should read the block with ocfs2_read_block[s]() 190 * Read a group descriptor block into *bh. If *bh is NULL, a bh will be
|
/linux-master/arch/s390/mm/ |
H A D | pfault.c | 175 goto block; 194 block: 198 * return to userspace schedule() to block.
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_fw_update.c | 265 * ice_write_one_nvm_block - Write an NVM block and await completion response 269 * @block_size: size of the block to write, up to 4k 270 * @block: pointer to block of data to write 275 * Write a block of data to a flash module, and await for the completion 291 u16 block_size, u8 *block, bool last_cmd, 302 dev_dbg(dev, "Writing block of %u bytes for module 0x%02x at offset %u\n", 307 err = ice_aq_update_nvm(hw, module, offset, block_size, block, 310 dev_err(dev, "Failed to flash module 0x%02x with block of size %u at offset %u, err %d aq_err %s\n", 325 dev_err(dev, "Timed out while trying to flash module 0x%02x with block o 290 ice_write_one_nvm_block(struct ice_pf *pf, u16 module, u32 offset, u16 block_size, u8 *block, bool last_cmd, u8 *reset_level, struct netlink_ext_ack *extack) argument 408 u8 *block; local [all...] |
/linux-master/fs/btrfs/ |
H A D | Makefile | 34 block-rsv.o delalloc-space.o block-group.o discard.o reflink.o \
|
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_vbc.c | 71 const size_t data_sz = sizeof(params->block); 83 memcpy(params->block, buf, data_sz);
|
/linux-master/drivers/gpu/drm/gud/ |
H A D | gud_pipe.c | 60 u8 pix, *pix8, *block = dst; /* Assign to silence compiler warning */ local 88 block = dst++; 89 *block = 0; 93 *block |= pix << pixshift; 108 u8 r, g, b, pix, *block = dst; /* Assign to silence compiler warning */ local 128 block = dst++; 129 *block = 0; 146 *block |= pix << pixshift;
|
/linux-master/fs/bcachefs/ |
H A D | extents_format.h | 193 block:8, member in struct:bch_extent_stripe_ptr 199 block:8,
|
/linux-master/arch/x86/kernel/ |
H A D | step.c | 164 * If not, we should never attempt a block step. 202 * Enable single or block step. 204 static void enable_step(struct task_struct *child, bool block) argument 207 * Make sure block stepping (BTF) is not enabled unless it should be. 209 * instructions after the first when using block stepping. 210 * So no one should try to use debugger block stepping in a program 213 if (enable_single_step(child) && block) 232 * Make sure block stepping (BTF) is disabled.
|
/linux-master/drivers/net/wireless/realtek/rtw89/ |
H A D | efuse_be.c | 320 enum rtw89_efuse_block block) 327 efuse_block = &chip->efuse_blocks[block]; 335 rtw89_warn(rtwdev, "failed to dump efuse logical block %d\n", block); 341 ret = rtwdev->chip->ops->read_efuse(rtwdev, log_map, block); 357 enum rtw89_efuse_block block; local 388 block = RTW89_EFUSE_BLOCK_HCI_DIG_USB; 390 block = RTW89_EFUSE_BLOCK_HCI_DIG_PCIE_SDIO; 392 ret = rtw89_parse_logical_efuse_block_be(rtwdev, phy_map, phy_size, block); 394 rtw89_warn(rtwdev, "failed to parse efuse logic block 318 rtw89_parse_logical_efuse_block_be(struct rtw89_dev *rtwdev, const u8 *phy_map, u32 phy_size, enum rtw89_efuse_block block) argument [all...] |
/linux-master/drivers/base/regmap/ |
H A D | regcache.c | 740 static int regcache_sync_block_single(struct regmap *map, void *block, argument 755 val = regcache_get_val(map, block, i); 792 static int regcache_sync_block_raw(struct regmap *map, void *block, argument 815 val = regcache_get_val(map, block, i); 825 data = regcache_get_val_addr(map, block, i); 834 int regcache_sync_block(struct regmap *map, void *block, argument 840 return regcache_sync_block_raw(map, block, cache_present, 843 return regcache_sync_block_single(map, block, cache_present,
|