Home
last modified time | relevance | path

Searched refs:block_num (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/infiniband/hw/mlx4/
A Dalias_GUID.c60 int block_num; member
67 u8 block_num; member
205 all_rec_per_port[block_num]; in mlx4_ib_notify_slaves_on_guid_change()
317 if (guid_rec->block_num != cb_ctx->block_num) { in aliasguid_query_handler()
319 cb_ctx->block_num, guid_rec->block_num); in aliasguid_query_handler()
325 guid_rec->block_num); in aliasguid_query_handler()
348 i, guid_rec->block_num); in aliasguid_query_handler()
360 guid_rec->block_num); in aliasguid_query_handler()
378 guid_rec->block_num, in aliasguid_query_handler()
415 guid_rec->block_num, in aliasguid_query_handler()
[all …]
A Dmlx4_ib.h885 int block_num,
889 int block_num, u32 port_num,
/linux/drivers/crypto/hisilicon/
A Dsgl.c41 u32 block_num; member
59 u32 sgl_size, block_size, sgl_num_per_block, block_num, remain_sgl; in hisi_acc_create_sgl_pool() local
77 block_num = count / sgl_num_per_block; in hisi_acc_create_sgl_pool()
80 if ((!remain_sgl && block_num > HISI_ACC_MEM_BLOCK_NR) || in hisi_acc_create_sgl_pool()
81 (remain_sgl > 0 && block_num > HISI_ACC_MEM_BLOCK_NR - 1)) in hisi_acc_create_sgl_pool()
89 for (i = 0; i < block_num; i++) { in hisi_acc_create_sgl_pool()
114 pool->block_num = remain_sgl ? block_num + 1 : block_num; in hisi_acc_create_sgl_pool()
149 for (i = 0; i < pool->block_num; i++) in hisi_acc_free_sgl_pool()
/linux/drivers/mtd/parsers/
A Dsharpslpart.c168 unsigned int block_num, phymax; in sharpsl_nand_init_ftl() local
194 for (block_num = 0; block_num < phymax; block_num++) { in sharpsl_nand_init_ftl()
195 block_adr = (loff_t)block_num * mtd->erasesize; in sharpsl_nand_init_ftl()
209 ftl->log2phy[log_num] = block_num; in sharpsl_nand_init_ftl()
234 unsigned int block_num; in sharpsl_nand_read_laddr() local
246 block_num = ftl->log2phy[log_num]; in sharpsl_nand_read_laddr()
247 block_adr = (loff_t)block_num * mtd->erasesize; in sharpsl_nand_read_laddr()
/linux/tools/testing/selftests/net/
A Dpsock_tpacket.c523 static void __v3_test_block_len(struct block_desc *pbd, uint32_t bytes, int block_num) in __v3_test_block_len() argument
527 "len:%u != actual len:%u\n", block_num, in __v3_test_block_len()
533 static void __v3_test_block_header(struct block_desc *pbd, const int block_num) in __v3_test_block_header() argument
536 fprintf(stderr, "\nblock %u: not in TP_STATUS_USER\n", block_num); in __v3_test_block_header()
543 static void __v3_walk_block(struct block_desc *pbd, const int block_num) in __v3_walk_block() argument
549 __v3_test_block_header(pbd, block_num); in __v3_walk_block()
571 __v3_test_block_len(pbd, bytes_with_padding, block_num); in __v3_walk_block()
583 unsigned int block_num = 0; in walk_v3_rx() local
600 pbd = (struct block_desc *) ring->rd[block_num].iov_base; in walk_v3_rx()
605 __v3_walk_block(pbd, block_num); in walk_v3_rx()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
A Deeprom.c36 u32 block_num, i; in mt7915_eeprom_load() local
38 block_num = DIV_ROUND_UP(MT7915_EEPROM_SIZE, in mt7915_eeprom_load()
40 for (i = 0; i < block_num; i++) in mt7915_eeprom_load()
/linux/fs/afs/
A Ddir_edit.c175 union afs_xdr_dir_block *block, int block_num) in afs_edit_init_block() argument
182 if (block_num == 0) { in afs_edit_init_block()
192 if (block_num < AFS_DIR_BLOCKS_WITH_CTR) in afs_edit_init_block()
193 meta->meta.alloc_ctrs[block_num] = in afs_edit_init_block()
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
A Dpaging.h25 __le32 block_num; member
/linux/drivers/mtd/
A Dsm_ftl.c937 int block_num; in sm_cache_flush() local
947 block_num = zone->lba_to_phys_table[ftl->cache_block]; in sm_cache_flush()
955 zone_num, block_num, sector_num * SM_SECTOR_SIZE, in sm_cache_flush()
985 if (block_num > 0) in sm_cache_flush()
986 sm_erase_block(ftl, zone_num, block_num, 1); in sm_cache_flush()
/linux/block/partitions/
A Dsgi.c24 __be32 block_num; /* Logical block number */ member
/linux/drivers/crypto/cavium/nitrox/
A Dnitrox_main.c72 u64 *ucode_data, int block_num) in write_to_ucd_unit() argument
95 nitrox_write_csr(ndev, offset, block_num); in write_to_ucd_unit()
/linux/fs/ecryptfs/
A Dcrypto.c1757 size_t block_num = 0; in ecryptfs_encode_for_filename() local
1784 while (block_num < num_blocks) { in ecryptfs_encode_for_filename()
1788 if (block_num == (num_blocks - 1)) in ecryptfs_encode_for_filename()
1791 src_block = &src[block_num * 3]; in ecryptfs_encode_for_filename()
1802 block_num++; in ecryptfs_encode_for_filename()
/linux/drivers/net/wireless/intel/iwlwifi/fw/
A Dpaging.c243 .block_num = cpu_to_le32(fwrt->num_of_paging_blk), in iwl_send_paging_cmd()
/linux/Documentation/networking/
A Dpacket_mmap.rst917 static void walk_block(struct block_desc *pbd, const int block_num)
955 unsigned int block_num = 0, blocks = 64;
976 pbd = (struct block_desc *) ring.rd[block_num].iov_base;
983 walk_block(pbd, block_num);
985 block_num = (block_num + 1) % blocks;
/linux/drivers/input/mouse/
A Dcyapa_gen3.c123 __be16 block_num; member
659 put_unaligned_be16(block, &write_block_cmd.block_num); in cyapa_gen3_write_fw_block()
/linux/include/rdma/
A Dib_sa.h384 u8 block_num; member
/linux/include/linux/mlx5/
A Ddevice.h776 __be32 block_num; member
/linux/drivers/infiniband/core/
A Dsa_query.c667 { GUIDINFO_REC_FIELD(block_num),
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dcmd.c1347 block->block_num = cpu_to_be32(n - i - 1); in mlx5_alloc_cmd_msg()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dreg.h3047 mlxsw_reg_perar_hw_regions_needed(unsigned int block_num) in mlxsw_reg_perar_hw_regions_needed() argument
3049 return DIV_ROUND_UP(block_num, 4); in mlxsw_reg_perar_hw_regions_needed()

Completed in 77 milliseconds