/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_msg.c | 74 msg->size = ENETC_DEFAULT_MSG_SIZE; in enetc_msg_alloc_mbx() 76 msg->vaddr = dma_alloc_coherent(dev, msg->size, &msg->dma, in enetc_msg_alloc_mbx() 79 dev_err(dev, "msg: fail to alloc dma buffer of size: %d\n", in enetc_msg_alloc_mbx() 80 msg->size); in enetc_msg_alloc_mbx() 100 dma_free_coherent(&si->pdev->dev, msg->size, msg->vaddr, msg->dma); in enetc_msg_free_mbx()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | mpfs.c | 75 u32 size; member 83 *ix = find_first_zero_bit(l2table->bitmap, l2table->size); in alloc_l2table_index() 84 if (*ix >= l2table->size) in alloc_l2table_index() 110 mpfs->size = l2table_size; in mlx5_mpfs_init()
|
/kernel/linux/linux-6.6/drivers/mtd/spi-nor/ |
H A D | atmel.c | 29 if (ofs || len != nor->params->size) in at25fs_nor_unlock() 78 if (ofs || len != nor->params->size) in atmel_nor_set_global_protection() 138 if (ofs >= nor->params->size || (ofs + len) > nor->params->size) in atmel_nor_is_global_protected()
|
/kernel/linux/linux-6.6/fs/notify/ |
H A D | fdinfo.c | 48 int size, ret, i; in show_mark_fhandle() local 51 size = f.handle.handle_bytes >> 2; in show_mark_fhandle() 53 ret = exportfs_encode_fid(inode, (struct fid *)f.handle.f_handle, &size); in show_mark_fhandle() 60 f.handle.handle_bytes = size * sizeof(u32); in show_mark_fhandle()
|
/kernel/linux/linux-6.6/fs/9p/ |
H A D | xattr.c | 59 * provided, or compute the buffer size required. 60 * Buffer is NULL to compute the size of the buffer required. 148 const char *name, void *buffer, size_t size) in v9fs_xattr_handler_get() 152 return v9fs_xattr_get(dentry, full_name, buffer, size); in v9fs_xattr_handler_get() 159 size_t size, int flags) in v9fs_xattr_handler_set() 163 return v9fs_xattr_set(dentry, full_name, value, size, flags); in v9fs_xattr_handler_set() 146 v9fs_xattr_handler_get(const struct xattr_handler *handler, struct dentry *dentry, struct inode *inode, const char *name, void *buffer, size_t size) v9fs_xattr_handler_get() argument 155 v9fs_xattr_handler_set(const struct xattr_handler *handler, struct mnt_idmap *idmap, struct dentry *dentry, struct inode *inode, const char *name, const void *value, size_t size, int flags) v9fs_xattr_handler_set() argument
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | hmdfs_dentryfile_cloud.c | 29 int size; in find_dentry_page() local 45 size = kernel_read(filp, dentry_blk, (size_t)DENTRYGROUP_SIZE, in find_dentry_page() 47 if (size != DENTRYGROUP_SIZE) { in find_dentry_page() 48 hmdfs_err("read pos %lld failed %d", pos, size); in find_dentry_page()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | ring_buffer.h | 27 * size is variable depending on how much 31 * size = 4 + length (bytes) 35 * size = 8 bytes 42 * size = 8 bytes 49 * size = 4 + length (bytes) 53 * size = 4 + length (bytes) 85 * size is in bytes for each per CPU buffer. 88 __ring_buffer_alloc(unsigned long size, unsigned flags, struct lock_class_key *key); 95 #define ring_buffer_alloc(size, flags) \ 98 __ring_buffer_alloc((size), (flag [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/ |
H A D | ia_css_bnlm.host.c | 54 * Min size of the LUT is 2 entries. in bnlm_lut_encode() 56 * Max size of the LUT is 16 entries, so that the LUT can fit into a in bnlm_lut_encode() 59 * vector. If the LUT size is less than 16, then remaining elements are in bnlm_lut_encode() 101 size_t size) in ia_css_bnlm_vmem_encode() 104 (void)size; in ia_css_bnlm_vmem_encode() 152 size_t size) in ia_css_bnlm_encode() 154 (void)size; in ia_css_bnlm_encode() 98 ia_css_bnlm_vmem_encode( struct bnlm_vmem_params *to, const struct ia_css_bnlm_config *from, size_t size) ia_css_bnlm_vmem_encode() argument 149 ia_css_bnlm_encode( struct bnlm_dmem_params *to, const struct ia_css_bnlm_config *from, size_t size) ia_css_bnlm_encode() argument
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | sp_private.h | 81 const size_t size) 85 ia_css_device_store(SP_DMEM_BASE[ID] + addr, data, size); 93 const size_t size) 97 ia_css_device_load(SP_DMEM_BASE[ID] + addr, data, size);
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/ |
H A D | ia_css_ctc2.host.c | 81 size_t size) in ia_css_ctc2_vmem_encode() 88 (void)size; in ia_css_ctc2_vmem_encode() 146 size_t size) in ia_css_ctc2_encode() 148 (void)size; in ia_css_ctc2_encode() 79 ia_css_ctc2_vmem_encode(struct ia_css_isp_ctc2_vmem_params *to, const struct ia_css_ctc2_config *from, size_t size) ia_css_ctc2_vmem_encode() argument 144 ia_css_ctc2_encode(struct ia_css_isp_ctc2_dmem_params *to, struct ia_css_ctc2_config *from, size_t size) ia_css_ctc2_encode() argument
|
/kernel/linux/linux-6.6/drivers/reset/ |
H A D | reset-ti-syscon.c | 167 int size, nr_controls, i; in ti_syscon_reset_probe() local 177 list = of_get_property(np, "ti,reset-bits", &size); in ti_syscon_reset_probe() 178 if (!list || (size / sizeof(*list)) % 7 != 0) { in ti_syscon_reset_probe() 183 nr_controls = (size / sizeof(*list)) / 7; in ti_syscon_reset_probe()
|
/kernel/linux/linux-6.6/drivers/vfio/pci/ |
H A D | vfio_pci_zdev.c | 78 cap->size = CLP_UTIL_STR_LEN; in zpci_util_cap() 79 memcpy(cap->util_str, zdev->util_str, cap->size); in zpci_util_cap() 103 cap->size = CLP_PFIP_NR_SEGMENTS; in zpci_pfip_cap() 104 memcpy(cap->pfip, zdev->pfip, cap->size); in zpci_pfip_cap()
|
/kernel/linux/linux-6.6/drivers/pnp/ |
H A D | base.h | 31 resource_size_t size; /* size of range */ member 52 resource_size_t size; /* size of range */ member 86 resource_size_t align, resource_size_t size, 90 resource_size_t align, resource_size_t size,
|
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | mtk-dvfsrc-regulator.c | 46 * @size: num of regulators 50 u32 size; member 119 .size = ARRAY_SIZE(mt8183_regulators), 138 .size = ARRAY_SIZE(mt6873_regulators), 178 for (i = 0; i < regulator_init_data->size; i++) { in dvfsrc_vcore_regulator_probe()
|
H A D | raa215300.c | 128 ssize_t size; in raa215300_i2c_probe() local 150 size = strscpy(info.type, name, sizeof(info.type)); in raa215300_i2c_probe() 151 if (size < 0) in raa215300_i2c_probe() 152 return dev_err_probe(dev, size, in raa215300_i2c_probe()
|
/kernel/linux/linux-6.6/drivers/virt/acrn/ |
H A D | acrn_drv.h | 30 * @size: Size of this region. 42 u64 size; member 72 * @size: Size of this memory region. 82 size_t size; member 195 u64 size, u32 mem_type, u32 mem_access_right); 196 int acrn_mm_region_del(struct acrn_vm *vm, u64 user_gpa, u64 size);
|
/kernel/linux/linux-6.6/drivers/block/aoe/ |
H A D | aoenet.c | 100 set_aoe_iflist(const char __user *user_str, size_t size) in set_aoe_iflist() argument 102 if (size >= IFLISTSZ) in set_aoe_iflist() 105 if (copy_from_user(aoe_iflist, user_str, size)) { in set_aoe_iflist() 109 aoe_iflist[size] = 0x00; in set_aoe_iflist()
|
/kernel/linux/linux-6.6/drivers/firmware/efi/ |
H A D | mokvar-table.c | 49 * completely NULL name and 0 data size. 51 * efi_mokvar_table_size is set to the computed size of the 83 * If present, validate and compute the size of the EFI MOK variable 96 * efi_mokvar_table_size: Computed size of EFI MOK variable config table. 108 unsigned long size; in efi_mokvar_table_init() local 131 * from which we could get the total size of the MOK config table, in efi_mokvar_table_init() 132 * we compute the total size as we validate each variably sized in efi_mokvar_table_init() 143 * Map a little more than the fixed size entry in efi_mokvar_table_init() 152 pr_err("Failed to map EFI MOKvar config table pa=0x%lx, size=%lu.\n", in efi_mokvar_table_init() 168 size in efi_mokvar_table_init() [all...] |
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/ |
H A D | unaccepted_memory.c | 76 unaccepted_table->size = bitmap_size; in allocate_unaccepted_bitmap() 101 u64 bitmap_size = unaccepted_table->size; in process_unaccepted_memory() 205 if (end > unaccepted_table->size * unit_size * BITS_PER_BYTE) in accept_memory() 206 end = unaccepted_table->size * unit_size * BITS_PER_BYTE; in accept_memory()
|
/kernel/linux/linux-6.6/include/uapi/drm/ |
H A D | qaic_accel.h | 82 * @size: In. Length of the data to DMA to the device. 89 __u64 size; member 172 * @size: In. Size of the buffer in bytes. 177 __u64 size; member 214 * @size: In. Size of this slice in bytes. 227 __u64 size; member 245 * @size: In. Total length of the BO. 246 * If BO is imported (DMABUF/PRIME) then this size 247 * should not exceed the size of DMABUF provided. 249 * then this size shoul 263 __u64 size; global() member [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | init.c | 106 int i, num_queues, size, ret; in iwl_configure_rxq() local 126 size = struct_size(cmd, data, num_queues); in iwl_configure_rxq() 128 cmd = kzalloc(size, GFP_KERNEL); in iwl_configure_rxq() 148 hcmd.len[0] = size; in iwl_configure_rxq()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | dbg-tlv.h | 48 * @size: size of each memory chunk 52 __le32 size; member 76 * @size: size of the error table 82 __le32 size; member 94 * @size: size of the error table 101 __le32 size; member 112 * @size 117 __le32 size; global() member [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | binding.c | 28 int size; in iwl_mvm_binding_cmd() local 34 size = sizeof(cmd); in iwl_mvm_binding_cmd() 38 size = IWL_BINDING_CMD_SIZE_V1; in iwl_mvm_binding_cmd() 55 size, &cmd, &status); in iwl_mvm_binding_cmd()
|
/kernel/linux/linux-6.6/drivers/nvmem/ |
H A D | qcom-spmi-sdam.c | 24 unsigned int size; member 37 unsigned int sdam_mem_end = SDAM_MEM_START + sdam->size - 1; in sdam_is_valid() 139 sdam->size = val * 32; in sdam_probe() 159 "SDAM base=%#x size=%u registered successfully\n", in sdam_probe() 160 sdam->base, sdam->size); in sdam_probe()
|
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_mmio.c | 19 /* MMIO chip info size in bytes */ 116 /* read chip info size and version from chip info structure */ in ipc_mmio_init() 120 /* Increment of 2 is needed as the size value in the chip info in ipc_mmio_init() 121 * excludes the version and size field, which are always present in ipc_mmio_init() 160 size_t size) in ipc_mmio_copy_chip_info() 164 size); in ipc_mmio_copy_chip_info() 201 u32 size) in ipc_mmio_set_psi_addr_and_size() 207 iowrite32(size, ipc_mmio->base + ipc_mmio->offset.psi_size); in ipc_mmio_set_psi_addr_and_size() 159 ipc_mmio_copy_chip_info(struct iosm_mmio *ipc_mmio, void *dest, size_t size) ipc_mmio_copy_chip_info() argument 200 ipc_mmio_set_psi_addr_and_size(struct iosm_mmio *ipc_mmio, dma_addr_t addr, u32 size) ipc_mmio_set_psi_addr_and_size() argument
|