/kernel/linux/linux-5.10/drivers/mtd/devices/ |
H A D | mtdram.c | 28 MODULE_PARM_DESC(total_size, "Total device size in KiB"); 30 MODULE_PARM_DESC(erase_size, "Device erase block size in KiB"); 32 MODULE_PARM_DESC(writebuf_size, "Device write buf size in Bytes (Default: 64)"); 125 unsigned long size, const char *name) in mtdram_init_device() 133 mtd->size = size; in mtdram_init_device() 124 mtdram_init_device(struct mtd_info *mtd, void *mapped_address, unsigned long size, const char *name) mtdram_init_device() argument
|
/kernel/linux/linux-5.10/drivers/mtd/maps/ |
H A D | sbc_gxx.c | 76 * single flash device into. If the size if zero we use up to the end of the 81 .size = BOOT_PARTITION_SIZE_KiB*1024 }, 84 .size = (DATA_PARTITION_SIZE_KiB)*1024 }, 157 .size = MAX_SIZE_KiB*1024, /* this must be set to a maximum possible amount
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
H A D | chain_mode.c | 99 unsigned int size, unsigned int extend_desc) in init_dma_chain() 110 for (i = 0; i < (size - 1); i++) { in init_dma_chain() 119 for (i = 0; i < (size - 1); i++) { in init_dma_chain() 98 init_dma_chain(void *des, dma_addr_t phy_addr, unsigned int size, unsigned int extend_desc) init_dma_chain() argument
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/ |
H A D | xmit.h | 8 #define _b43legacy_declare_plcp_hdr(size) \ 9 struct b43legacy_plcp_hdr##size { \ 12 __u8 raw[size]; \
|
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00crypto.c | 115 /* Pull buffer to correct size */ in rt2x00crypto_tx_remove_iv() 148 unsigned int payload_len = rxdesc->size - header_length; in rt2x00crypto_rx_insert_iv() 203 skb_trim(skb, rxdesc->size + iv_len + icv_len); in rt2x00crypto_rx_insert_iv() 243 rxdesc->size = transfer; in rt2x00crypto_rx_insert_iv()
|
/kernel/linux/linux-5.10/drivers/scsi/isci/ |
H A D | probe_roms.c | 123 if (fw->size < sizeof(*orom)) in isci_request_firmware() 132 orom = devm_kzalloc(&pdev->dev, fw->size, GFP_KERNEL); in isci_request_firmware() 136 memcpy(orom, fw->data, fw->size); in isci_request_firmware()
|
/kernel/linux/linux-5.10/drivers/scsi/be2iscsi/ |
H A D | be.h | 27 u32 size; member 150 #define PAGES_4K_SPANNED(_address, size) \ 152 (size) + (PAGE_SIZE_4K - 1)) >> PAGE_SHIFT_4K))
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nft_range.c | 56 .size = sizeof(priv->data_from), in nft_range_init() 60 .size = sizeof(priv->data_to), in nft_range_init() 136 .size = NFT_EXPR_SIZE(sizeof(struct nft_range_expr)),
|
/kernel/linux/linux-5.10/include/media/ |
H A D | videobuf-core.h | 43 * userspace address + size which can be fed into the 71 unsigned long size; member 85 /* buffer size */ 104 unsigned int *count, unsigned int *size); 120 struct videobuf_buffer *(*alloc_vb)(size_t size);
|
H A D | v4l2-rect.h | 16 * @size: rect containing the width and height fields you need. 19 const struct v4l2_rect *size) in v4l2_rect_set_size_to() 21 r->width = size->width; in v4l2_rect_set_size_to() 22 r->height = size->height; in v4l2_rect_set_size_to() 73 * v4l2_rect_same_size() - return true if r1 has the same size as r2 77 * Return true if both rectangles have the same size. 103 * Return true if both rectangles have the same size and position. 18 v4l2_rect_set_size_to(struct v4l2_rect *r, const struct v4l2_rect *size) v4l2_rect_set_size_to() argument
|
/kernel/linux/linux-5.10/scripts/kconfig/ |
H A D | lkc.h | 71 void *xmalloc(size_t size); 72 void *xcalloc(size_t nmemb, size_t size); 73 void *xrealloc(void *p, size_t size);
|
/kernel/linux/linux-5.10/sound/soc/intel/skylake/ |
H A D | skl-sst-cldma.h | 198 __le32 **bdlp, int size, int with_ioc); 203 unsigned int size, bool enable); 208 const void *bin, u32 size, bool wait); 217 * @bufsize: ring buffer size
|
/kernel/linux/linux-5.10/sound/soc/sof/intel/ |
H A D | hda-pcm.c | 95 u32 size, rate, bits; in hda_dsp_pcm_hw_params() local 97 size = params_buffer_bytes(params); in hda_dsp_pcm_hw_params() 106 hstream->bufsize = size; in hda_dsp_pcm_hw_params()
|
/kernel/linux/linux-5.10/tools/hv/ |
H A D | hv_fcopy_daemon.c | 93 bytes_written = pwrite(target_fd, cpmsg->data, cpmsg->size, in hv_copy_data() 96 filesize += cpmsg->size; in hv_copy_data() 97 if (bytes_written != cpmsg->size) { in hv_copy_data()
|
/kernel/linux/linux-5.10/tools/io_uring/ |
H A D | setup.c | 13 size_t size; in io_uring_mmap() local 30 size = p->sq_entries * sizeof(struct io_uring_sqe); in io_uring_mmap() 31 sq->sqes = mmap(0, size, PROT_READ | PROT_WRITE, in io_uring_mmap()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | xsk_buff_pool.h | 128 size_t size); 130 dma_addr_t dma, size_t size) in xp_dma_sync_for_device() 135 xp_dma_sync_for_device_slow(pool, dma, size); in xp_dma_sync_for_device() 129 xp_dma_sync_for_device(struct xsk_buff_pool *pool, dma_addr_t dma, size_t size) xp_dma_sync_for_device() argument
|
H A D | xdp_sock_drv.h | 114 size_t size) in xsk_buff_raw_dma_sync_for_device() 116 xp_dma_sync_for_device(pool, dma, size); in xsk_buff_raw_dma_sync_for_device() 234 size_t size) in xsk_buff_raw_dma_sync_for_device() 112 xsk_buff_raw_dma_sync_for_device(struct xsk_buff_pool *pool, dma_addr_t dma, size_t size) xsk_buff_raw_dma_sync_for_device() argument 232 xsk_buff_raw_dma_sync_for_device(struct xsk_buff_pool *pool, dma_addr_t dma, size_t size) xsk_buff_raw_dma_sync_for_device() argument
|
/kernel/linux/linux-5.10/include/uapi/linux/netfilter_bridge/ |
H A D | ebtables.h | 49 /* total size of the entries */ 65 /* total size of the entries */ 79 * Must be same size as ebt_entry.bitmask */ 130 /* size of data */ 143 /* size of data */ 156 /* size of data */ 264 #define EBT_ENTRY_ITERATE(entries, size, fn, args...) \ 270 for (__i = 0; __i < (size);) { \ 281 if (__i != (size)) \
|
/kernel/linux/linux-5.10/fs/adfs/ |
H A D | adfs.h | 76 __u32 s_map_size; /* sector size of a map */ 78 unsigned int s_log2sharesize;/* log2 share size */ 119 __u32 size; /* size */ member 127 unsigned int size, struct adfs_dir *dir); 181 unsigned int size, struct adfs_dir *dir);
|
/kernel/linux/linux-5.10/lib/ |
H A D | error-inject.c | 63 unsigned long entry, offset = 0, size = 0; in populate_error_injection_list() local 70 !kallsyms_lookup_size_offset(entry, &size, &offset)) { in populate_error_injection_list() 80 ent->end_addr = entry + size; in populate_error_injection_list()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_ondisk.h | 9 #define XFS_CHECK_STRUCT_SIZE(structname, size) \ 10 BUILD_BUG_ON_MSG(sizeof(structname) != (size), "XFS: sizeof(" \ 11 #structname ") is wrong, expected " #size)
|
/kernel/linux/linux-5.10/net/bluetooth/bnep/ |
H A D | netdev.c | 57 int size; in bnep_net_set_mc_list() local 61 size = sizeof(*r) + (BNEP_MAX_MULTICAST_FILTERS + 1) * ETH_ALEN * 2; in bnep_net_set_mc_list() 62 skb = alloc_skb(size, GFP_ATOMIC); in bnep_net_set_mc_list()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_scatter.c | 93 if (request->size > SIZE_MAX - PAGE_SIZE) in drm_legacy_sg_alloc() 103 pages = (request->size + PAGE_SIZE - 1) / PAGE_SIZE; in drm_legacy_sg_alloc() 104 DRM_DEBUG("size=%ld pages=%ld\n", request->size, pages); in drm_legacy_sg_alloc()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | aux.c | 134 u32 addr, u8 *data, u8 *size) in nvkm_i2c_aux_xfer() 136 if (!*size && !aux->func->address_only) { in nvkm_i2c_aux_xfer() 140 return aux->func->xfer(aux, retry, type, addr, data, size); in nvkm_i2c_aux_xfer() 133 nvkm_i2c_aux_xfer(struct nvkm_i2c_aux *aux, bool retry, u8 type, u32 addr, u8 *data, u8 *size) nvkm_i2c_aux_xfer() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
H A D | msm_submitqueue.c | 126 size_t size = min_t(size_t, args->len, sizeof(queue->faults)); in msm_submitqueue_query_faults() local 129 /* If a zero length was passed in, return the data size we expect */ in msm_submitqueue_query_faults() 135 /* Set the length to the actual size of the data */ in msm_submitqueue_query_faults() 136 args->len = size; in msm_submitqueue_query_faults() 138 ret = copy_to_user(u64_to_user_ptr(args->data), &queue->faults, size); in msm_submitqueue_query_faults()
|