/linux-6.12.1/drivers/infiniband/hw/mlx4/ |
D | alias_GUID.c | 59 int block_num; member 66 u8 block_num; member 74 void mlx4_ib_update_cache_on_guid_change(struct mlx4_ib_dev *dev, int block_num, in mlx4_ib_update_cache_on_guid_change() argument 87 all_rec_per_port[block_num].guid_indexes); in mlx4_ib_update_cache_on_guid_change() 94 slave_id = (block_num * NUM_ALIAS_GUID_IN_REC) + i ; in mlx4_ib_update_cache_on_guid_change() 106 " was not updated\n", i, block_num); in mlx4_ib_update_cache_on_guid_change() 186 int block_num, u32 port_num, in mlx4_ib_notify_slaves_on_guid_change() argument 204 all_rec_per_port[block_num]; in mlx4_ib_notify_slaves_on_guid_change() 207 all_rec_per_port[block_num].guid_indexes); in mlx4_ib_notify_slaves_on_guid_change() 216 slave_id = (block_num * NUM_ALIAS_GUID_IN_REC) + i ; in mlx4_ib_notify_slaves_on_guid_change() [all …]
|
D | mlx4_ib.h | 887 int block_num, 891 int block_num, u32 port_num,
|
/linux-6.12.1/drivers/crypto/hisilicon/ |
D | sgl.c | 42 u32 block_num; member 60 u32 sgl_size, block_size, sgl_num_per_block, block_num, remain_sgl; in hisi_acc_create_sgl_pool() local 79 block_num = count / sgl_num_per_block; in hisi_acc_create_sgl_pool() 82 if ((!remain_sgl && block_num > HISI_ACC_MEM_BLOCK_NR) || in hisi_acc_create_sgl_pool() 83 (remain_sgl > 0 && block_num > HISI_ACC_MEM_BLOCK_NR - 1)) in hisi_acc_create_sgl_pool() 91 for (i = 0; i < block_num; i++) { in hisi_acc_create_sgl_pool() 116 pool->block_num = remain_sgl ? block_num + 1 : block_num; in hisi_acc_create_sgl_pool() 150 for (i = 0; i < pool->block_num; i++) in hisi_acc_free_sgl_pool()
|
/linux-6.12.1/drivers/mtd/parsers/ |
D | sharpslpart.c | 168 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-6.12.1/drivers/accel/habanalabs/common/ |
D | security.c | 108 int block_num; in hl_unsecure_register() local 110 block_num = hl_get_pb_block(hdev, mm_reg_addr + offset, pb_blocks, in hl_unsecure_register() 112 if (block_num < 0) in hl_unsecure_register() 113 return block_num; in hl_unsecure_register() 115 reg_offset = (mm_reg_addr + offset) - pb_blocks[block_num]; in hl_unsecure_register() 117 return hl_unset_pb_in_block(hdev, reg_offset, &sgs_array[block_num]); in hl_unsecure_register() 138 int i, block_num, rc = 0; in hl_unsecure_register_range() local 140 block_num = hl_get_pb_block(hdev, in hl_unsecure_register_range() 143 if (block_num < 0) in hl_unsecure_register_range() 144 return block_num; in hl_unsecure_register_range() [all …]
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | psock_tpacket.c | 523 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-6.12.1/drivers/char/ipmi/ |
D | ssif_bmc.c | 96 u8 block_num; member 380 ssif_bmc->block_num = 0; in set_multipart_response_buffer() 408 ssif_bmc->block_num = 0xFF; in set_multipart_response_buffer() 409 part->payload[0] = ssif_bmc->block_num; in set_multipart_response_buffer() 419 part->payload[0] = ssif_bmc->block_num; in set_multipart_response_buffer() 420 ssif_bmc->block_num++; in set_multipart_response_buffer() 747 if (ssif_bmc->is_singlepart_read || ssif_bmc->block_num == 0xFF) in on_stop_event()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7996/ |
D | eeprom.c | 75 u32 block_num, i; in mt7996_eeprom_load() local 87 block_num = DIV_ROUND_UP(MT7996_EEPROM_SIZE, eeprom_blk_size); in mt7996_eeprom_load() 88 for (i = 0; i < block_num; i++) { in mt7996_eeprom_load()
|
D | mt7996.h | 480 int mt7996_mcu_get_eeprom_free_block(struct mt7996_dev *dev, u8 *block_num);
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | paging.h | 25 __le32 block_num; member
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | eeprom.c | 131 u32 block_num, i; in mt7915_eeprom_load() local 143 block_num = DIV_ROUND_UP(eeprom_size, eeprom_blk_size); in mt7915_eeprom_load() 144 for (i = 0; i < block_num; i++) { in mt7915_eeprom_load()
|
D | mt7915.h | 476 int mt7915_mcu_get_eeprom_free_block(struct mt7915_dev *dev, u8 *block_num);
|
D | mcu.c | 2866 int mt7915_mcu_get_eeprom_free_block(struct mt7915_dev *dev, u8 *block_num) in mt7915_mcu_get_eeprom_free_block() argument 2885 *block_num = *(u8 *)skb->data; in mt7915_mcu_get_eeprom_free_block()
|
/linux-6.12.1/fs/afs/ |
D | dir_edit.c | 176 union afs_xdr_dir_block *block, int block_num) in afs_edit_init_block() argument 183 if (block_num == 0) { in afs_edit_init_block() 193 if (block_num < AFS_DIR_BLOCKS_WITH_CTR) in afs_edit_init_block() 194 meta->meta.alloc_ctrs[block_num] = in afs_edit_init_block()
|
/linux-6.12.1/block/partitions/ |
D | sgi.c | 24 __be32 block_num; /* Logical block number */ member
|
/linux-6.12.1/drivers/mtd/ |
D | sm_ftl.c | 937 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-6.12.1/drivers/crypto/cavium/nitrox/ |
D | nitrox_main.c | 71 u64 *ucode_data, int block_num) in write_to_ucd_unit() argument 94 nitrox_write_csr(ndev, offset, block_num); in write_to_ucd_unit()
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_edid.c | 1907 int block_num) in edid_block_status_print() argument 1913 pr_debug("EDID block %d read failed\n", block_num); in edid_block_status_print() 1916 pr_debug("EDID block %d pointer is NULL\n", block_num); in edid_block_status_print() 1919 pr_notice("EDID block %d is all zeroes\n", block_num); in edid_block_status_print() 1933 block_num, edid_block_tag(block), in edid_block_status_print() 1937 block_num, edid_block_tag(block), in edid_block_status_print() 1947 block_num, status); in edid_block_status_print() 1952 static void edid_block_dump(const char *level, const void *block, int block_num) in edid_block_dump() argument 1957 status = edid_block_check(block, block_num == 0); in edid_block_dump() 1959 sprintf(prefix, "\t[%02x] ZERO ", block_num); in edid_block_dump() [all …]
|
/linux-6.12.1/fs/ecryptfs/ |
D | crypto.c | 1731 size_t block_num = 0; in ecryptfs_encode_for_filename() local 1758 while (block_num < num_blocks) { in ecryptfs_encode_for_filename() 1762 if (block_num == (num_blocks - 1)) in ecryptfs_encode_for_filename() 1765 src_block = &src[block_num * 3]; in ecryptfs_encode_for_filename() 1776 block_num++; in ecryptfs_encode_for_filename()
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/ |
D | paging.c | 243 .block_num = cpu_to_le32(fwrt->num_of_paging_blk), in iwl_send_paging_cmd()
|
/linux-6.12.1/Documentation/networking/ |
D | packet_mmap.rst | 918 static void walk_block(struct block_desc *pbd, const int block_num) 956 unsigned int block_num = 0, blocks = 64; 977 pbd = (struct block_desc *) ring.rd[block_num].iov_base; 984 walk_block(pbd, block_num); 986 block_num = (block_num + 1) % blocks;
|
/linux-6.12.1/drivers/input/mouse/ |
D | cyapa_gen3.c | 123 __be16 block_num; member 659 put_unaligned_be16(block, &write_block_cmd.block_num); in cyapa_gen3_write_fw_block()
|
/linux-6.12.1/include/rdma/ |
D | ib_sa.h | 385 u8 block_num; member
|
/linux-6.12.1/include/linux/mlx5/ |
D | device.h | 798 __be32 block_num; member
|
/linux-6.12.1/drivers/infiniband/core/ |
D | sa_query.c | 669 { GUIDINFO_REC_FIELD(block_num),
|