Home
last modified time | relevance | path

Searched refs:size0 (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/samples/connector/
Dcn_test.c44 int size, size0;
49 size0 = sizeof(*msg) + sizeof(*ctl) + 3 * sizeof(*req);
51 size = NLMSG_SPACE(size0);
67 memset(msg, 0, size0);
73 msg->len = size0 - sizeof(*msg);
/linux-6.6.21/arch/s390/boot/
Dboot.h96 static inline bool intersects(unsigned long addr0, unsigned long size0, in intersects() argument
99 return addr0 + size0 > addr1 && addr1 + size1 > addr0; in intersects()
/linux-6.6.21/net/ipv6/
Dipv6_sockglue.c239 const int size0 = offsetof(struct compat_group_filter, gf_slist_flex); in compat_ipv6_set_mcast_msfilter() local
245 if (optlen < size0) in compat_ipv6_set_mcast_msfilter()
1060 const int size0 = offsetof(struct group_filter, gf_slist_flex); in ipv6_get_msfilter() local
1065 if (len < size0) in ipv6_get_msfilter()
1067 if (copy_from_sockptr(&gsf, optval, size0)) in ipv6_get_msfilter()
1073 err = ip6_mc_msfget(sk, &gsf, optval, size0); in ipv6_get_msfilter()
1079 copy_to_sockptr(optval, &gsf, size0)) in ipv6_get_msfilter()
1089 const int size0 = offsetof(struct compat_group_filter, gf_slist_flex); in compat_ipv6_get_msfilter() local
1095 if (len < size0) in compat_ipv6_get_msfilter()
1098 if (copy_from_sockptr(&gf32, optval, size0)) in compat_ipv6_get_msfilter()
[all …]
/linux-6.6.21/drivers/pci/
Dsetup-bus.c881 resource_size_t size = 0, size0 = 0, size1 = 0; in pbus_size_io() local
918 size0 = calculate_iosize(size, min_size, size1, 0, 0, in pbus_size_io()
920 size1 = (!realloc_head || (realloc_head && !add_size && !children_add_size)) ? size0 : in pbus_size_io()
923 if (!size0 && !size1) { in pbus_size_io()
932 b_res->end = b_res->start + size0 - 1; in pbus_size_io()
934 if (bus->self && size1 > size0 && realloc_head) { in pbus_size_io()
935 add_to_list(realloc_head, bus->self, b_res, size1-size0, in pbus_size_io()
939 (unsigned long long) size1 - size0); in pbus_size_io()
991 resource_size_t min_align, align, size, size0, size1; in pbus_size_mem() local
1071 size0 = calculate_memsize(size, min_size, 0, 0, resource_size(b_res), min_align); in pbus_size_mem()
[all …]
/linux-6.6.21/net/ipv4/
Dip_sockglue.c806 const int size0 = offsetof(struct compat_group_filter, gf_slist_flex); in compat_ip_set_mcast_msfilter() local
812 if (optlen < size0) in compat_ip_set_mcast_msfilter()
1455 const int size0 = offsetof(struct group_filter, gf_slist_flex); in ip_get_mcast_msfilter() local
1460 if (len < size0) in ip_get_mcast_msfilter()
1462 if (copy_from_sockptr(&gsf, optval, size0)) in ip_get_mcast_msfilter()
1474 copy_to_sockptr(optval, &gsf, size0)) in ip_get_mcast_msfilter()
1482 const int size0 = offsetof(struct compat_group_filter, gf_slist_flex); in compat_ip_get_mcast_msfilter() local
1488 if (len < size0) in compat_ip_get_mcast_msfilter()
1490 if (copy_from_sockptr(&gf32, optval, size0)) in compat_ip_get_mcast_msfilter()
/linux-6.6.21/arch/mips/include/asm/octeon/
Dcvmx-pko.h184 uint64_t size0:2; member
259 uint64_t size0:2;
Dcvmx-pko-defs.h2094 uint64_t size0:8; member
2096 uint64_t size0:8;
/linux-6.6.21/drivers/infiniband/hw/mthca/
Dmthca_qp.c1644 int size0; in mthca_tavor_post_send() local
1794 size0 = size; in mthca_tavor_post_send()
1811 (qp->qpn << 8) | size0, in mthca_tavor_post_send()
1840 int size0; in mthca_tavor_post_receive() local
1891 size0 = size; in mthca_tavor_post_receive()
1903 mthca_write64((qp->rq.next_ind << qp->rq.wqe_shift) | size0, in mthca_tavor_post_receive()
1916 mthca_write64((qp->rq.next_ind << qp->rq.wqe_shift) | size0, in mthca_tavor_post_receive()
1948 int size0; in mthca_arbel_post_send() local
1981 mthca_write64(dbhi, (qp->qpn << 8) | size0, in mthca_arbel_post_send()
2124 size0 = size; in mthca_arbel_post_send()
[all …]
/linux-6.6.21/drivers/media/pci/intel/ipu3/
Dipu3-cio2.c1908 size_t size0, i; in arrange() local
1914 size0 = min(CHUNK_SIZE(&arr[0]), CHUNK_SIZE(&arr[1])); in arrange()
1917 for (i = 0; i < size0; i++) { in arrange()
1928 arr[0].begin += size0; in arrange()
1935 arr[0].end = arr[1].begin + size0 - 1; in arrange()
1936 arr[1].begin += size0; in arrange()
/linux-6.6.21/drivers/edac/
Damd64_edac.c1372 int dimm, size0, size1; in dct_debug_display_dimm_sizes() local
1399 size0 = 0; in dct_debug_display_dimm_sizes()
1407 size0 = pvt->ops->dbam_to_cs(pvt, ctrl, in dct_debug_display_dimm_sizes()
1418 dimm * 2, size0, in dct_debug_display_dimm_sizes()
1586 int dimm, size0, size1, cs0, cs1, cs_mode; in umc_debug_display_dimm_sizes() local
1596 size0 = umc_addr_mask_to_cs_size(pvt, ctrl, cs_mode, cs0); in umc_debug_display_dimm_sizes()
1600 cs0, size0, in umc_debug_display_dimm_sizes()
/linux-6.6.21/drivers/staging/octeon/
Dethernet-tx.c254 pko_command.s.size0 = CVMX_FAU_OP_SIZE_32; in cvm_oct_xmit()
Docteon-stubs.h1159 uint64_t size0:2; member
/linux-6.6.21/drivers/firewire/
Dcore-cdev.c285 void *data0, size_t size0, void *data1, size_t size1) in queue_event() argument
290 event->v[0].size = size0; in queue_event()