Home
last modified time | relevance | path

Searched refs:size (Results 30176 - 30200 of 41759) sorted by relevance

1...<<1201120212031204120512061207120812091210>>...1671

/kernel/linux/linux-5.10/sound/soc/sh/rcar/
H A Dcore.c1538 uinfo->count = cfg->size; in rsnd_kctrl_info()
1546 uinfo->count = cfg->size; in rsnd_kctrl_info()
1563 for (i = 0; i < cfg->size; i++) in rsnd_kctrl_get()
1581 for (i = 0; i < cfg->size; i++) { in rsnd_kctrl_put()
1666 int size, in rsnd_kctrl_new()
1693 if (size > RSND_MAX_CHANNELS) in rsnd_kctrl_new()
1706 cfg->size = size; in rsnd_kctrl_new()
1657 rsnd_kctrl_new(struct rsnd_mod *mod, struct rsnd_dai_stream *io, struct snd_soc_pcm_runtime *rtd, const unsigned char *name, int (*accept)(struct rsnd_dai_stream *io), void (*update)(struct rsnd_dai_stream *io, struct rsnd_mod *mod), struct rsnd_kctrl_cfg *cfg, const char * const *texts, int size, u32 max) rsnd_kctrl_new() argument
/kernel/linux/linux-5.10/fs/
H A Dbinfmt_elf_fdpic.c142 unsigned long size; in elf_fdpic_fetch_phdrs() local
151 size = params->hdr.e_phnum * sizeof(struct elf_phdr); in elf_fdpic_fetch_phdrs()
152 params->phdrs = kmalloc(size, GFP_KERNEL); in elf_fdpic_fetch_phdrs()
156 retval = kernel_read(file, params->phdrs, size, &pos); in elf_fdpic_fetch_phdrs()
157 if (unlikely(retval != size)) in elf_fdpic_fetch_phdrs()
160 /* determine stack size for this binary */ in elf_fdpic_fetch_phdrs()
410 /* create a stack area and zero-size brk area */ in load_elf_fdpic_binary()
747 size_t size; in elf_fdpic_map_file() local
759 size = sizeof(*loadmap) + nloads * sizeof(*seg); in elf_fdpic_map_file()
760 loadmap = kzalloc(size, GFP_KERNE in elf_fdpic_map_file()
[all...]
/kernel/linux/linux-5.10/mm/
H A Dmempolicy.c1721 unsigned long size; in COMPAT_SYSCALL_DEFINE4() local
1724 size = ALIGN(nr_bits, BITS_PER_LONG) / 8; in COMPAT_SYSCALL_DEFINE4()
1728 old = compat_alloc_user_space(new_nodes ? size * 2 : size); in COMPAT_SYSCALL_DEFINE4()
1730 new = old + size / sizeof(unsigned long); in COMPAT_SYSCALL_DEFINE4()
1731 if (copy_to_user(old, nodes_addr(tmp_mask), size)) in COMPAT_SYSCALL_DEFINE4()
1738 new = compat_alloc_user_space(size); in COMPAT_SYSCALL_DEFINE4()
1739 if (copy_to_user(new, nodes_addr(tmp_mask), size)) in COMPAT_SYSCALL_DEFINE4()
2246 * @order: Power of two of allocation size in pages. 0 is a single page.
/kernel/linux/linux-5.10/fs/ocfs2/
H A Djournal.c499 void *data, size_t size) in ocfs2_frozen_trigger()
509 ocfs2_block_check_compute(data, size, data + ot->ot_offset); in ocfs2_frozen_trigger()
518 void *data, size_t size) in ocfs2_dq_frozen_trigger()
521 ocfs2_block_dqtrailer(size, data); in ocfs2_dq_frozen_trigger()
529 ocfs2_block_check_compute(data, size, &dqt->dq_check); in ocfs2_dq_frozen_trigger()
538 void *data, size_t size) in ocfs2_db_frozen_trigger()
541 ocfs2_dir_trailer_from_size(size, data); in ocfs2_db_frozen_trigger()
549 ocfs2_block_check_compute(data, size, &trailer->db_check); in ocfs2_db_frozen_trigger()
862 mlog(ML_ERROR, "Journal file size (%lld) is too small!\n", in ocfs2_journal_init()
497 ocfs2_frozen_trigger(struct jbd2_buffer_trigger_type *triggers, struct buffer_head *bh, void *data, size_t size) ocfs2_frozen_trigger() argument
516 ocfs2_dq_frozen_trigger(struct jbd2_buffer_trigger_type *triggers, struct buffer_head *bh, void *data, size_t size) ocfs2_dq_frozen_trigger() argument
536 ocfs2_db_frozen_trigger(struct jbd2_buffer_trigger_type *triggers, struct buffer_head *bh, void *data, size_t size) ocfs2_db_frozen_trigger() argument
/kernel/linux/linux-5.10/fs/ubifs/
H A Ddir.c385 /* The dir size is updated by do_rename. */ in create_whiteout()
1411 /* Add the old_dentry size to the old_dir size. */ in do_rename()
1642 loff_t size; in ubifs_getattr() local
1664 stat->size = ui->ui_size; in ubifs_getattr()
1671 * takes less than 300 bytes, but we have to round it to block size, in ubifs_getattr()
1679 size = ui->xattr_size; in ubifs_getattr()
1680 size += stat->size; in ubifs_getattr()
1681 size in ubifs_getattr()
[all...]
/kernel/linux/linux-5.10/net/appletalk/
H A Dddp.c1579 int size, hard_header_len; in atalk_sendmsg() local
1622 size = sizeof(struct ddpehdr) + len + ddp_dl->header_length; in atalk_sendmsg()
1641 sk, size, dev->name); in atalk_sendmsg()
1658 size += hard_header_len; in atalk_sendmsg()
1660 skb = sock_alloc_send_skb(sk, size, (flags & MSG_DONTWAIT), &err); in atalk_sendmsg()
1745 static int atalk_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, in atalk_recvmsg() argument
1771 if (copied > size) { in atalk_recvmsg()
1772 copied = size; in atalk_recvmsg()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
H A Dvivid-vid-cap.c134 dprintk(dev, 1, "%s: size[%u]=%u\n", __func__, p, sizes[p]); in vid_cap_queue_setup()
142 unsigned long size; in vid_cap_buf_prepare() local
160 size = (tpg_g_line_width(&dev->tpg, p) * in vid_cap_buf_prepare()
165 if (vb2_plane_size(vb, p) < size) { in vid_cap_buf_prepare()
167 __func__, p, vb2_plane_size(vb, p), size); in vid_cap_buf_prepare()
171 vb2_set_plane_payload(vb, p, size); in vid_cap_buf_prepare()
384 unsigned size; in vivid_update_format_cap() local
414 size = V4L2_DV_BT_FRAME_WIDTH(bt) * V4L2_DV_BT_FRAME_HEIGHT(bt); in vivid_update_format_cap()
423 size / 100, (u32)pixelclock / 100 in vivid_update_format_cap()
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/
H A Dpcie-tegra194.c562 int size, u32 *val) in tegra_pcie_dw_rd_own_conf()
575 return pci_generic_config_read(bus, devfn, where, size, val); in tegra_pcie_dw_rd_own_conf()
579 int size, u32 val) in tegra_pcie_dw_wr_own_conf()
590 return pci_generic_config_write(bus, devfn, where, size, val); in tegra_pcie_dw_wr_own_conf()
1178 msg.tx.size = sizeof(req); in tegra_pcie_bpmp_set_ctrl_state()
1180 msg.rx.size = sizeof(resp); in tegra_pcie_bpmp_set_ctrl_state()
1206 msg.tx.size = sizeof(req); in tegra_pcie_bpmp_set_pll_state()
1208 msg.rx.size = sizeof(resp); in tegra_pcie_bpmp_set_pll_state()
561 tegra_pcie_dw_rd_own_conf(struct pci_bus *bus, u32 devfn, int where, int size, u32 *val) tegra_pcie_dw_rd_own_conf() argument
578 tegra_pcie_dw_wr_own_conf(struct pci_bus *bus, u32 devfn, int where, int size, u32 val) tegra_pcie_dw_wr_own_conf() argument
/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A Dibmphp_pci.c1202 u32 size; in unconfigure_boot_device() local
1222 pci_bus_read_config_dword(ibmphp_pci_bus, devfn, address[count], &size); in unconfigure_boot_device()
1227 if (!size) { in unconfigure_boot_device()
1236 size = size & 0xFFFFFFFC; in unconfigure_boot_device()
1237 size = ~size + 1; in unconfigure_boot_device()
1238 end_address = start_address + size - 1; in unconfigure_boot_device()
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
H A Dcsio_mb.c1164 int size = sizeof(struct fw_debug_cmd); in csio_mb_debug_cmd_handler() local
1167 for (i = 0; i < size; i += 8) in csio_mb_debug_cmd_handler()
1198 int size = mbp->mb_size; in csio_mb_issue() local
1269 for (i = 0; i < size; i += 8) { in csio_mb_issue()
1322 for (i = 0; i < size; i += 8) in csio_mb_issue()
1481 int size; in csio_mb_isr_handler() local
1534 size = mbp->mb_size; in csio_mb_isr_handler()
1536 for (i = 0; i < size; i += 8) in csio_mb_isr_handler()
/kernel/linux/linux-5.10/fs/fuse/
H A Dinode.c241 * attr->size coming from server can be stale. We cannot trust it. in fuse_change_attributes()
244 i_size_write(inode, attr->size); in fuse_change_attributes()
250 if (oldsize != attr->size) { in fuse_change_attributes()
251 truncate_pagecache(inode, attr->size); in fuse_change_attributes()
276 inode->i_size = attr->size; in fuse_init_inode()
499 args.out_args[0].size = sizeof(outarg); in fuse_statfs()
1120 ia->args.in_args[0].size = sizeof(ia->in); in fuse_send_init()
1127 ia->args.out_args[0].size = sizeof(ia->out); in fuse_send_init()
1250 .size = fi->inode.i_size, in fuse_fill_attr_from_inode()
/kernel/linux/linux-5.10/fs/nfs/
H A Dnfs3xdr.c319 static __be32 *xdr_decode_size3(__be32 *p, u64 *size) in xdr_decode_size3() argument
321 return xdr_decode_hyper(p, size); in xdr_decode_size3()
420 WARN_ON_ONCE(fh->size > NFS3_FHSIZE); in encode_nfs_fh3()
421 p = xdr_reserve_space(xdr, 4 + fh->size); in encode_nfs_fh3()
422 xdr_encode_opaque(p, fh->data, fh->size); in encode_nfs_fh3()
439 fh->size = length; in decode_nfs_fh3()
443 dprintk("NFS: file handle size (%u) too big\n", length); in decode_nfs_fh3()
506 * size3 size;
529 * set_size3 size;
611 * size3 size;
[all...]
/kernel/linux/linux-6.6/drivers/mtd/chips/
H A Djedec_probe.c280 #define ERASEINFO(size,blocks) (size<<8)|(blocks-1)
1925 if (ofs >= map->size) in jedec_read_mfr()
2082 /* the part size must fit in the memory window */ in jedec_match()
2085 if ( base + cfi_interleave(cfi) * ( 1 << finfo->dev_size ) > map->size ) { in jedec_match()
2169 if (base >= map->size) { in jedec_probe_chip()
2172 base, map->size -1); in jedec_probe_chip()
2179 if ( ((base + probe_offset1 + map_bankwidth(map)) >= map->size) || in jedec_probe_chip()
2180 ((base + probe_offset2 + map_bankwidth(map)) >= map->size)) in jedec_probe_chip()
/kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/
H A Dvivid-vid-cap.c127 dprintk(dev, 1, "%s: size[%u]=%u\n", __func__, p, sizes[p]); in vid_cap_queue_setup()
135 unsigned long size; in vid_cap_buf_prepare() local
153 size = (tpg_g_line_width(&dev->tpg, p) * in vid_cap_buf_prepare()
158 if (vb2_plane_size(vb, p) < size) { in vid_cap_buf_prepare()
160 __func__, p, vb2_plane_size(vb, p), size); in vid_cap_buf_prepare()
164 vb2_set_plane_payload(vb, p, size); in vid_cap_buf_prepare()
378 unsigned size; in vivid_update_format_cap() local
408 size = V4L2_DV_BT_FRAME_WIDTH(bt) * V4L2_DV_BT_FRAME_HEIGHT(bt); in vivid_update_format_cap()
417 size / 100, (u32)pixelclock / 100 in vivid_update_format_cap()
/kernel/linux/linux-6.6/drivers/net/dsa/
H A Dlantiq_gswip.c243 /* Maximum packet size supported by the switch. In theory this should be 10240,
305 unsigned int size; member
310 #define MIB_DESC(_size, _offset, _name) {.size = _size, .offset = _offset, .name = _name}
1473 * switch frame size, including 8 byte special header. in gswip_port_change_mtu()
1805 if (rmon_cnt->size == 2) { in gswip_get_ethtool_stats()
1904 size_t size; in gswip_gphy_fw_load() local
1929 size = fw->size + XRX200_GPHY_FW_ALIGN; in gswip_gphy_fw_load()
1931 fw_addr = dmam_alloc_coherent(dev, size, &dma_addr, GFP_KERNEL); in gswip_gphy_fw_load()
1935 memcpy(fw_addr, fw->data, fw->size); in gswip_gphy_fw_load()
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/saa7134/
H A Dsaa7134-video.c733 unsigned int size; in buffer_prepare() local
739 size = (dev->width * dev->height * dev->fmt->depth) >> 3; in buffer_prepare()
740 if (vb2_plane_size(vb2, 0) < size) in buffer_prepare()
743 vb2_set_plane_payload(vb2, 0, size); in buffer_prepare()
756 int size = dev->fmt->depth * dev->width * dev->height >> 3; in queue_setup() local
766 *nbuffers = saa7134_buffer_count(size, *nbuffers); in queue_setup()
768 sizes[0] = size; in queue_setup()
1464 reg->size = 1; in vidioc_g_register()
/kernel/linux/linux-6.6/drivers/net/bonding/
H A Dbond_alb.c128 int size = TLB_HASH_TABLE_SIZE * sizeof(struct tlb_client_info); in tlb_initialize() local
132 new_hashtbl = kzalloc(size, GFP_KERNEL); in tlb_initialize()
859 int size = RLB_HASH_TABLE_SIZE * sizeof(struct rlb_client_info); in rlb_initialize() local
862 new_hashtbl = kmalloc(size, GFP_KERNEL); in rlb_initialize()
924 int size = sizeof(struct learning_pkt); in alb_send_lp_vid() local
926 memset(&pkt, 0, size); in alb_send_lp_vid()
931 skb = dev_alloc_skb(size); in alb_send_lp_vid()
935 skb_put_data(skb, &pkt, size); in alb_send_lp_vid()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c39 /* Helper macro to define an iavf_stat structure with proper size and type.
98 WARN_ONCE(1, "unexpected stat size for %s", in iavf_add_one_ethtool_stat()
109 * @size: the size of the stats definition
120 const unsigned int size) in __iavf_add_ethtool_stats()
124 for (i = 0; i < size; i++) in __iavf_add_ethtool_stats()
136 * ensuring that we pass the size associated with the given stats array.
161 const unsigned int size = ARRAY_SIZE(iavf_gstrings_queue_stats); in iavf_add_queue_stats() local
173 for (i = 0; i < size; i++) in iavf_add_queue_stats()
178 *data += size; in iavf_add_queue_stats()
118 __iavf_add_ethtool_stats(u64 **data, void *pointer, const struct iavf_stats stats[], const unsigned int size) __iavf_add_ethtool_stats() argument
190 __iavf_add_stat_strings(u8 **p, const struct iavf_stats stats[], const unsigned int size, ...) __iavf_add_stat_strings() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
H A Dhinic_ethtool.c1213 .size = sizeof_field(struct hinic_vport_stats, _stat_item), \
1245 .size = sizeof_field(struct hinic_phy_port_stats, _stat_item), \
1339 .size = sizeof_field(struct hinic_txq_stats, _stat_item), \
1354 .size = sizeof_field(struct hinic_rxq_stats, _stat_item), \
1381 data[i] = (hinic_tx_queue_stats[j].size == in get_drv_queue_stats()
1394 data[i] = (hinic_rx_queue_stats[j].size == in get_drv_queue_stats()
1417 data[i] = (hinic_function_stats[j].size == in hinic_get_ethtool_stats()
1436 data[i] = (hinic_port_stats[j].size == in hinic_get_ethtool_stats()
/kernel/linux/linux-6.6/drivers/net/ethernet/i825xx/
H A D82596.c209 unsigned short size; member
235 unsigned short size; member
268 unsigned short size; member
278 unsigned short size; member
492 printk(KERN_ERR " %p .count %04x, b_next %p, b_data %p, size %04x\n", in i596_display_data()
493 rbd, rbd->count, rbd->b_next, rbd->b_data, rbd->size); in i596_display_data()
562 rbd->size = PKT_BUF_SZ; in init_rx_bufs()
1085 tx_cmd->size = 0; in i596_start_xmit()
1087 tbd->size = EOF | length; in i596_start_xmit()
H A Dlib82596.c175 unsigned short size; member
202 unsigned short size; member
241 unsigned short size; member
255 unsigned short size; member
479 " size %04x\n", in i596_display_data()
481 SWAP32(rbd->b_data), SWAP16(rbd->size)); in i596_display_data()
512 rbd->size = SWAP16(PKT_BUF_SZ); in init_rx_bufs()
1035 tx_cmd->size = 0; in i596_start_xmit()
1037 tbd->size = SWAP16(EOF | length); in i596_start_xmit()
/kernel/linux/linux-6.6/fs/nfs/
H A Dnfs3xdr.c321 static __be32 *xdr_decode_size3(__be32 *p, u64 *size) in xdr_decode_size3() argument
323 return xdr_decode_hyper(p, size); in xdr_decode_size3()
422 WARN_ON_ONCE(fh->size > NFS3_FHSIZE); in encode_nfs_fh3()
423 p = xdr_reserve_space(xdr, 4 + fh->size); in encode_nfs_fh3()
424 xdr_encode_opaque(p, fh->data, fh->size); in encode_nfs_fh3()
441 fh->size = length; in decode_nfs_fh3()
508 * size3 size;
531 * set_size3 size;
613 * size3 size;
644 p = xdr_decode_size3(p, &fattr->size); in decode_fattr3()
[all...]
/kernel/linux/linux-6.6/fs/ocfs2/
H A Djournal.c495 void *data, size_t size) in ocfs2_frozen_trigger()
505 ocfs2_block_check_compute(data, size, data + ot->ot_offset); in ocfs2_frozen_trigger()
514 void *data, size_t size) in ocfs2_dq_frozen_trigger()
517 ocfs2_block_dqtrailer(size, data); in ocfs2_dq_frozen_trigger()
525 ocfs2_block_check_compute(data, size, &dqt->dq_check); in ocfs2_dq_frozen_trigger()
534 void *data, size_t size) in ocfs2_db_frozen_trigger()
537 ocfs2_dir_trailer_from_size(size, data); in ocfs2_db_frozen_trigger()
545 ocfs2_block_check_compute(data, size, &trailer->db_check); in ocfs2_db_frozen_trigger()
899 mlog(ML_ERROR, "Journal file size (%lld) is too small!\n", in ocfs2_journal_init()
493 ocfs2_frozen_trigger(struct jbd2_buffer_trigger_type *triggers, struct buffer_head *bh, void *data, size_t size) ocfs2_frozen_trigger() argument
512 ocfs2_dq_frozen_trigger(struct jbd2_buffer_trigger_type *triggers, struct buffer_head *bh, void *data, size_t size) ocfs2_dq_frozen_trigger() argument
532 ocfs2_db_frozen_trigger(struct jbd2_buffer_trigger_type *triggers, struct buffer_head *bh, void *data, size_t size) ocfs2_db_frozen_trigger() argument
/kernel/linux/linux-6.6/fs/ubifs/
H A Ddir.c383 /* The dir size is updated by do_rename. */ in create_whiteout()
1407 /* Add the old_dentry size to the old_dir size. */ in do_rename()
1639 loff_t size; in ubifs_getattr() local
1661 stat->size = ui->ui_size; in ubifs_getattr()
1668 * takes less than 300 bytes, but we have to round it to block size, in ubifs_getattr()
1676 size = ui->xattr_size; in ubifs_getattr()
1677 size += stat->size; in ubifs_getattr()
1678 size in ubifs_getattr()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/csiostor/
H A Dcsio_mb.c1164 int size = sizeof(struct fw_debug_cmd); in csio_mb_debug_cmd_handler() local
1167 for (i = 0; i < size; i += 8) in csio_mb_debug_cmd_handler()
1198 int size = mbp->mb_size; in csio_mb_issue() local
1269 for (i = 0; i < size; i += 8) { in csio_mb_issue()
1322 for (i = 0; i < size; i += 8) in csio_mb_issue()
1481 int size; in csio_mb_isr_handler() local
1534 size = mbp->mb_size; in csio_mb_isr_handler()
1536 for (i = 0; i < size; i += 8) in csio_mb_isr_handler()

Completed in 73 milliseconds

1...<<1201120212031204120512061207120812091210>>...1671