/kernel/linux/linux-6.6/drivers/misc/mei/ |
H A D | mei_dev.h | 140 size_t size; member 148 size_t size; member 156 * @size : dma buffer size 161 size_t size; member 645 * @length: size of the messages in bytes 656 * length + size of the mei message header 658 * @length: size of the messages in bytes 855 * @buf: string buffer at minimal size MEI_FW_STATUS_STR_SZ
|
H A D | bus-fixup.c | 110 const size_t size = MKHI_OSVER_BUF_LEN; in mei_osver() local 117 memset(buf, 0, size); in mei_osver() 131 return __mei_cl_send(cldev->cl, buf, size, 0, mode); in mei_osver()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns/ |
H A D | hnae.c | 160 int size = ring->desc_num * sizeof(ring->desc[0]); in hnae_alloc_desc() local 162 ring->desc = kzalloc(size, GFP_KERNEL); in hnae_alloc_desc() 167 ring->desc, size, ring_to_dma_dir(ring)); in hnae_alloc_desc()
|
/kernel/linux/linux-6.6/drivers/media/test-drivers/vimc/ |
H A D | vimc-capture.c | 312 unsigned long size = vcapture->format.sizeimage; in vimc_capture_buffer_prepare() local 314 if (vb2_plane_size(vb, 0) < size) { in vimc_capture_buffer_prepare() 316 vcapture->vdev.name, vb2_plane_size(vb, 0), size); in vimc_capture_buffer_prepare()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_xgmac.c | 239 static void xgene_xgmac_set_frame_size(struct xgene_enet_pdata *pdata, int size) in xgene_xgmac_set_frame_size() argument 242 ((((size + 2) >> 2) << 16) | size)); in xgene_xgmac_set_frame_size()
|
H A D | xgene_enet_hw.h | 414 static inline u16 xgene_enet_get_numslots(u16 id, u32 size) in xgene_enet_get_numslots() argument 418 return (is_bufpool) ? size / BUFPOOL_DESC_SIZE : in xgene_enet_get_numslots() 419 size / WORK_DESC_SIZE; in xgene_enet_get_numslots()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum1_kvdl.c | 154 /* Find partition with smallest allocation size satisfying the in mlxsw_sp1_kvdl_alloc() 155 * requested size. in mlxsw_sp1_kvdl_alloc() 197 unsigned int size) in mlxsw_sp1_kvdl_part_update() 200 part->info.end_index = size - 1; in mlxsw_sp1_kvdl_part_update() 203 part->info.end_index = part->info.start_index + size - 1; in mlxsw_sp1_kvdl_part_update() 195 mlxsw_sp1_kvdl_part_update(struct mlxsw_sp1_kvdl_part *part, struct mlxsw_sp1_kvdl_part *part_prev, unsigned int size) mlxsw_sp1_kvdl_part_update() argument
|
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/ |
H A D | sja1105_ethtool.c | 545 size_t size = c->is_64bit ? 8 : 4; in sja1105_port_counter_read() local 552 rc = sja1105_xfer_buf(priv, SPI_READ, regs + c->offset, buf, size); in sja1105_port_counter_read() 556 sja1105_unpack(buf, ctr, c->start, c->end, size); in sja1105_port_counter_read()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_ethtool.c | 18 size_t size; member 25 .size = sizeof_field(struct pch_gbe_hw_stats, m), \ 153 * pch_gbe_get_regs_len - Report the size of device registers 155 * Returns: the size of device registers. 478 data[i] = gstats->size == sizeof(u64) ? *(u64 *)p:(*(u32 *)p); in pch_gbe_get_ethtool_stats()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/ |
H A D | nic.h | 184 * @size: Size (in bytes) 192 * @erase_size: Erase sector size (in bytes) 193 * Erase commands affect sectors with this size and alignment. 195 * @block_size: Write block size (in bytes). 196 * Write commands are limited to blocks with this size and alignment. 200 unsigned int size; member 210 return spi->size != 0; in falcon_spi_present() 424 u32 size);
|
H A D | nic.c | 344 * size before we need to change the version. */ 402 size_t size, i; in ef4_nic_get_regs() local 408 size = min_t(size_t, table->step, 16); in ef4_nic_get_regs() 430 buf += size; in ef4_nic_get_regs()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | nic.c | 262 size_t size, i; in efx_nic_get_regs() local 268 size = min_t(size_t, table->step, 16); in efx_nic_get_regs() 285 buf += size; in efx_nic_get_regs() 327 * @dest: Destination buffer. Must be the same size as the DMA buffer.
|
/kernel/linux/linux-6.6/drivers/atm/ |
H A D | atmtcp.c | 197 int size; in atmtcp_v_send() local 213 size = skb->len+sizeof(struct atmtcp_hdr); in atmtcp_v_send() 214 new_skb = atm_alloc_charge(out_vcc,size,GFP_ATOMIC); in atmtcp_v_send()
|
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | dsfield.c | 294 (u64)arg->common.value.size; in acpi_ds_get_field_names() 392 info->field_bit_length = arg->common.value.size; in acpi_ds_get_field_names() 429 (u64)arg->common.value.size; in acpi_ds_get_field_names()
|
/kernel/linux/linux-6.6/drivers/ata/ |
H A D | acard-ahci.c | 56 __le32 size; /* bit 31 (EOT) max==0x10000 (64k) */ member 202 acard_sg[si].size = cpu_to_le32(sg_len); in acard_ahci_fill_sg() 206 acard_sg[last_si].size |= cpu_to_le32(1 << 31); /* set EOT */ in acard_ahci_fill_sg() 315 * 32 bytes each in size in acard_ahci_port_start()
|
/kernel/linux/linux-6.6/drivers/android/ |
H A D | binder_trace.h | 326 __field(size_t, size) 332 __entry->size = end - start; 334 TP_printk("proc=%d allocate=%d offset=%zu size=%zu", 336 __entry->offset, __entry->size)
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | verity.c | 46 * size of the descriptor item and some extra data for encryption. 49 * the higher level verity code. The most common descriptor size is 256 bytes. 60 * linearly with the size of the file (with 4K pages/blocks and SHA-256, it's 61 * ~1/127th the size) so for large files, writing the tree can be a lengthy 77 * fs-verity, it is convenient to do size computations in terms of a file 248 * size filesystems in write_key_bytes() 283 * and will just return the size of all the items up to len bytes. 511 * @desc_size: size of the verity descriptor 622 * @desc_size: size of the verity descriptor (variable with signatures) 623 * @merkle_tree_size: size o 791 btrfs_write_merkle_tree_block(struct inode *inode, const void *buf, u64 pos, unsigned int size) btrfs_write_merkle_tree_block() argument [all...] |
H A D | fs.h | 737 * Maximum size of an extent. BTRFS_MAX_EXTENT_SIZE on regular 752 * Zone size > 0 when in ZONED mode, otherwise it's used for a check 867 * Count how many fs_info->max_extent_size cover the @size 869 static inline u32 count_max_extents(struct btrfs_fs_info *fs_info, u64 size) in count_max_extents() argument 873 return div_u64(size + BTRFS_MAX_EXTENT_SIZE - 1, BTRFS_MAX_EXTENT_SIZE); in count_max_extents() 876 return div_u64(size + fs_info->max_extent_size - 1, fs_info->max_extent_size); in count_max_extents()
|
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | metric.c | 154 /* encode the read io size metric */ in ceph_mdsc_send_metrics() 164 /* encode the write io size metric */ in ceph_mdsc_send_metrics() 344 unsigned int size, int rc) in ceph_update_metrics() 354 m->size_sum += size; in ceph_update_metrics() 355 METRIC_UPDATE_MIN_MAX(m->size_min, m->size_max, size); in ceph_update_metrics() 342 ceph_update_metrics(struct ceph_metric *m, ktime_t r_start, ktime_t r_end, unsigned int size, int rc) ceph_update_metrics() argument
|
/kernel/linux/linux-6.6/fs/ |
H A D | fsopen.c | 335 * blob and @aux indicates its size. The parameter must be expecting a 438 param.size = strlen(param.string); in SYSCALL_DEFINE5() 442 param.size = aux; in SYSCALL_DEFINE5() 460 param.size = strlen(param.name->name); in SYSCALL_DEFINE5()
|
/kernel/linux/linux-6.6/fs/hfs/ |
H A D | bnode.c | 249 int size, block, i, hash; in __hfs_bnode_create() local 257 size = sizeof(struct hfs_bnode) + tree->pages_per_bnode * in __hfs_bnode_create() 259 node = kzalloc(size, GFP_KERNEL); in __hfs_bnode_create()
|
/kernel/linux/linux-6.6/fs/fat/ |
H A D | file.c | 217 static int fat_cont_expand(struct inode *inode, loff_t size) in fat_cont_expand() argument 220 loff_t start = inode->i_size, count = size - inode->i_size; in fat_cont_expand() 223 err = generic_cont_expand_simple(inode, size); in fat_cont_expand() 265 loff_t ondisksize; /* block aligned on-disk size in bytes*/ in fat_fallocate() 324 /* First, we write the new file size. */ in fat_free()
|
/kernel/linux/linux-6.6/fs/coda/ |
H A D | psdev.c | 112 int size = sizeof(*dcbuf); in coda_psdev_write() local 120 if ( nbytes > size ) { in coda_psdev_write() 123 nbytes = size; in coda_psdev_write()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | bitmap.h | 174 unsigned long size, 183 * @size: The bitmap size in bits 194 unsigned long size, in bitmap_find_next_zero_area() 199 return bitmap_find_next_zero_area_off(map, size, start, nr, in bitmap_find_next_zero_area() 193 bitmap_find_next_zero_area(unsigned long *map, unsigned long size, unsigned long start, unsigned int nr, unsigned long align_mask) bitmap_find_next_zero_area() argument
|
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | namei.c | 56 e->size = cpu_to_le16(ALIGN(data_size, 8) + sizeof(struct NTFS_DE)); in fill_name_de() 202 u32 size = strlen(symname); in ntfs_symlink() local 209 symname, size, NULL); in ntfs_symlink()
|