/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_gem.h | 317 * @size: 322 size_t size; member 465 struct drm_gem_object *obj, size_t size); 467 struct drm_gem_object *obj, size_t size); 515 int drm_gem_create_mmap_offset_size(struct drm_gem_object *obj, size_t size);
|
H A D | drm_legacy.h | 72 int total; /**< Buffer size */ 100 size_t size; member 104 * Buffer entry. There is one of this for each buffer size order. 107 int buf_size; /**< size */ 123 struct drm_buf_entry bufs[DRM_MAX_ORDER + 1]; /**< buffers, grouped by their size order */ 155 unsigned long size; /**< Requested physical size (bytes) */ member 177 unsigned int size, enum drm_map_type type, 223 size_t size, size_t align) in drm_pci_alloc() 222 drm_pci_alloc(struct drm_device *dev, size_t size, size_t align) drm_pci_alloc() argument
|
/kernel/linux/linux-6.6/fs/squashfs/ |
H A D | xattr.c | 55 name_size = le16_to_cpu(entry.size); in squashfs_listxattr() 132 name_size = le16_to_cpu(entry.size); in squashfs_xattr_get() 207 void *buffer, size_t size) in squashfs_xattr_handler_get() 210 buffer, size); in squashfs_xattr_handler_get() 203 squashfs_xattr_handler_get(const struct xattr_handler *handler, struct dentry *unused, struct inode *inode, const char *name, void *buffer, size_t size) squashfs_xattr_handler_get() argument
|
/kernel/linux/linux-6.6/fs/vboxsf/ |
H A D | shfl_hostintf.h | 13 /* The max in/out buffer size for a FN_READ or FN_WRITE call */ 63 /** Allocated size of the string member in bytes. */ 64 u16 size; member 78 /* The size of shfl_string w/o the string part. */ 81 /* Calculate size of the string. */ 84 return string ? SHFLSTRING_HEADER_SIZE + string->size : 0; in shfl_string_buf_size() 149 * The additional extended attribute size (shfl_fsobjattr::u::size) is 222 /** Extended attribute size. */ 244 struct shfl_fsobjattr_easize size; member 262 s64 size; global() member [all...] |
/kernel/linux/linux-6.6/drivers/w1/slaves/ |
H A D | w1_ds2433.c | 46 * Check the file size bounds and adjusts count as needed. 47 * This would not be needed if the file size didn't reset to 0 after a write. 49 static inline size_t w1_f23_fix_count(loff_t off, size_t count, size_t size) in w1_f23_fix_count() argument 51 if (off > size) in w1_f23_fix_count() 54 if ((off + count) > size) in w1_f23_fix_count() 55 return (size - off); in w1_f23_fix_count()
|
H A D | w1_ds2430.c | 44 * Check the file size bounds and adjusts count as needed. 45 * This would not be needed if the file size didn't reset to 0 after a write. 47 static inline size_t w1_f14_fix_count(loff_t off, size_t count, size_t size) in w1_f14_fix_count() argument 49 if (off > size) in w1_f14_fix_count() 52 if ((off + count) > size) in w1_f14_fix_count() 53 return size - off; in w1_f14_fix_count() 218 /* Can only write data in blocks of the size of the scratchpad */ in eeprom_write()
|
H A D | w1_ds2431.c | 43 * Check the file size bounds and adjusts count as needed. 44 * This would not be needed if the file size didn't reset to 0 after a write. 46 static inline size_t w1_f2d_fix_count(loff_t off, size_t count, size_t size) in w1_f2d_fix_count() argument 48 if (off > size) in w1_f2d_fix_count() 51 if ((off + count) > size) in w1_f2d_fix_count() 52 return size - off; in w1_f2d_fix_count() 217 /* Can only write data in blocks of the size of the scratchpad */ in eeprom_write()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | virtio.h | 215 dma_addr_t virtqueue_dma_map_single_attrs(struct virtqueue *_vq, void *ptr, size_t size, 218 size_t size, enum dma_data_direction dir, 224 unsigned long offset, size_t size, 227 unsigned long offset, size_t size,
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ |
H A D | ia_css_xnr3.host.c | 137 unsigned int size) in ia_css_xnr3_encode() 141 w.r.t. the kernel size*/ in ia_css_xnr3_encode() 165 (void)size; in ia_css_xnr3_encode() 194 unsigned int size) in ia_css_xnr3_vmem_encode() 201 (void)size; in ia_css_xnr3_vmem_encode() 134 ia_css_xnr3_encode( struct sh_css_isp_xnr3_params *to, const struct ia_css_xnr3_config *from, unsigned int size) ia_css_xnr3_encode() argument 191 ia_css_xnr3_vmem_encode( struct sh_css_isp_xnr3_vmem_params *to, const struct ia_css_xnr3_config *from, unsigned int size) ia_css_xnr3_vmem_encode() argument
|
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | rpmsg_tty.c | 108 int size; in rpmsg_tty_write_room() local 110 size = rpmsg_get_mtu(cport->rpdev->ept); in rpmsg_tty_write_room() 111 if (size < 0) in rpmsg_tty_write_room() 114 return size; in rpmsg_tty_write_room()
|
/kernel/linux/linux-6.6/drivers/ufs/core/ |
H A D | ufshcd-crypto.c | 84 /* In XTS mode, the blk_crypto_key's size is already doubled */ in ufshcd_crypto_keyslot_program() 85 memcpy(cfg.crypto_key, key->raw, key->size/2); in ufshcd_crypto_keyslot_program() 87 key->raw + key->size/2, key->size/2); in ufshcd_crypto_keyslot_program() 89 memcpy(cfg.crypto_key, key->raw, key->size); in ufshcd_crypto_keyslot_program()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-m48t35.c | 50 size_t size; member 162 priv->size = resource_size(res); in m48t35_probe() 163 if (!devm_request_mem_region(&pdev->dev, res->start, priv->size, in m48t35_probe() 168 priv->reg = devm_ioremap(&pdev->dev, priv->baseaddr, priv->size); in m48t35_probe()
|
/kernel/linux/linux-6.6/drivers/soc/qcom/ |
H A D | smd-rpm.c | 65 * @length: the size of this message, including the message header 108 size_t size = sizeof(*pkt) + count; in qcom_rpm_smd_write() local 111 if (WARN_ON(size >= 256)) in qcom_rpm_smd_write() 114 pkt = kmalloc(size, GFP_ATOMIC); in qcom_rpm_smd_write() 130 ret = rpmsg_send(rpm->rpm_channel, pkt, size); in qcom_rpm_smd_write()
|
/kernel/linux/linux-6.6/drivers/staging/greybus/ |
H A D | audio_codec.h | 202 u16 data_cport, u16 size); 208 u16 data_cport, u16 size); 223 __u16 i2s_port, __u16 size); 233 __u16 i2s_port, __u16 size);
|
/kernel/linux/linux-6.6/drivers/staging/fieldbus/anybuss/ |
H A D | hms-profinet.c | 41 profi_read_area(struct fieldbus_dev *fbdev, char __user *buf, size_t size, in profi_read_area() argument 46 return anybuss_read_output(priv->client, buf, size, offset); in profi_read_area() 51 size_t size, loff_t *offset) in profi_write_area() 55 return anybuss_write_input(priv->client, buf, size, offset); in profi_write_area() 50 profi_write_area(struct fieldbus_dev *fbdev, const char __user *buf, size_t size, loff_t *offset) profi_write_area() argument
|
/kernel/linux/linux-6.6/drivers/tee/optee/ |
H A D | core.c | 22 size_t size, size_t align, in optee_pool_op_alloc_helper() 29 unsigned int order = get_order(size); in optee_pool_op_alloc_helper() 43 shm->size = PAGE_SIZE << order; in optee_pool_op_alloc_helper() 78 free_pages((unsigned long)shm->kaddr, get_order(shm->size)); in optee_pool_op_free_helper() 21 optee_pool_op_alloc_helper(struct tee_shm_pool *pool, struct tee_shm *shm, size_t size, size_t align, int (*shm_register)(struct tee_context *ctx, struct tee_shm *shm, struct page **pages, size_t num_pages, unsigned long start)) optee_pool_op_alloc_helper() argument
|
/kernel/linux/linux-6.6/drivers/block/zram/ |
H A D | zram_drv.h | 38 * footprint small and thus squeeze size and zram pageflags into a flags 39 * member. The lower ZRAM_FLAG_SHIFT bits is for object size (excluding 94 atomic64_t compr_data_size; /* compressed size of pages stored */ 213 static inline void zram_set_obj_size(struct zram *zram, u32 index, size_t size) in zram_set_obj_size() argument 217 zram->table[index].flags = (flags << ZRAM_SIZE_SHIFT) | size; in zram_set_obj_size() 238 static inline void zram_set_obj_size(struct zram *zram, u32 index, size_t size) in zram_set_obj_size() argument 242 zram->table[index].flags = (flags << ZRAM_FLAG_SHIFT) | size; in zram_set_obj_size()
|
/kernel/linux/linux-6.6/drivers/char/agp/ |
H A D | alpha-agp.c | 48 return alpha_core_agp_sizes[0].size; in alpha_core_agp_fetch_size() 165 * Build the aperture size descriptor in alpha_core_agp_setup() 168 aper_size->size = agp->aperture.size / (1024 * 1024); in alpha_core_agp_setup() 169 aper_size->num_entries = agp->aperture.size / PAGE_SIZE; in alpha_core_agp_setup() 188 alpha_bridge->current_size = aper_size; /* only 1 size */ in alpha_core_agp_setup()
|
/kernel/linux/linux-6.6/drivers/bus/ |
H A D | uniphier-system-bus.c | 39 int bank, u32 addr, u64 paddr, u32 size) in uniphier_system_bus_add_bank() 44 "range found: bank = %d, addr = %08x, paddr = %08llx, size = %08x\n", in uniphier_system_bus_add_bank() 45 bank, addr, paddr, size); in uniphier_system_bus_add_bank() 63 end = paddr + size; in uniphier_system_bus_add_bank() 203 range.cpu_addr, range.size); in uniphier_system_bus_probe() 38 uniphier_system_bus_add_bank(struct uniphier_system_bus_priv *priv, int bank, u32 addr, u64 paddr, u32 size) uniphier_system_bus_add_bank() argument
|
/kernel/linux/linux-6.6/drivers/firmware/google/ |
H A D | coreboot_table.c | 96 if (entry->size < sizeof(*entry)) { in coreboot_table_populate() 101 device = kzalloc(sizeof(device->dev) + entry->size, GFP_KERNEL); in coreboot_table_populate() 108 memcpy(device->raw, ptr_entry, entry->size); in coreboot_table_populate() 126 ptr_entry += entry->size; in coreboot_table_populate()
|
/kernel/linux/linux-6.6/drivers/firmware/broadcom/ |
H A D | tee_bnxt_fw.c | 39 * value.b: size of data to be copied 82 param[0].u.memref.size = MAX_SHM_MEM_SZ; in prepare_args() 127 * @size: size of the dump 131 int tee_bnxt_copy_coredump(void *buf, u32 offset, u32 size) in tee_bnxt_copy_coredump() argument 136 u32 rbytes = size; in tee_bnxt_copy_coredump() 148 nbytes = min_t(u32, rbytes, param[0].u.memref.size); in tee_bnxt_copy_coredump()
|
/kernel/linux/linux-6.6/drivers/clk/renesas/ |
H A D | rzg2l-cpg.h | 54 #define DDIV_PACK(offset, bitpos, size) \ 55 (((offset) << 20) | ((bitpos) << 12) | ((size) << 8)) 64 #define SEL_PLL_PACK(offset, bitpos, size) \ 65 (((offset) << 20) | ((bitpos) << 12) | ((size) << 8))
|
/kernel/linux/linux-6.6/drivers/dma/ioat/ |
H A D | hw.h | 72 uint32_t size; member 106 uint32_t size; member 144 uint32_t size; member 202 uint32_t size; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | adapter.h | 103 unsigned int buf_size; /* size of each Rx buffer */ 106 unsigned int size; /* capacity of free list */ member 113 unsigned int alloc_size; /* size of allocated buffer */ 123 * Bundle size for grouping offload RX packets for delivery to the stack. 132 unsigned int size; /* capacity of response queue */ member 167 unsigned int size; /* # of descriptors */ member 332 int t3_get_edc_fw(struct cphy *phy, int edc_idx, int size);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_cq.c | 61 cq->size = entries; in mlx4_en_create_cq() 62 cq->buf_size = cq->size * mdev->dev->caps.cqe_size; in mlx4_en_create_cq() 132 cq->size = priv->rx_ring[cq->ring]->actual_size; in mlx4_en_activate_cq() 139 err = mlx4_cq_alloc(mdev->dev, cq->size, &cq->wqres.mtt, in mlx4_en_activate_cq()
|