Home
last modified time | relevance | path

Searched refs:size0 (Results 1 - 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/samples/connector/
H A 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);
/kernel/linux/linux-6.6/samples/connector/
H A 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);
/kernel/linux/linux-6.6/arch/s390/boot/
H A 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()
/kernel/linux/linux-6.6/net/ipv6/
H A 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...]
/kernel/linux/linux-5.10/drivers/pci/
H A Dsetup-bus.c885 resource_size_t size = 0, size0 = 0, size1 = 0; in pbus_size_io() local
923 size0 = calculate_iosize(size, min_size, size1, 0, 0, in pbus_size_io()
925 size1 = (!realloc_head || (realloc_head && !add_size && !children_add_size)) ? size0 : in pbus_size_io()
928 if (!size0 && !size1) { in pbus_size_io()
937 b_res->end = b_res->start + size0 - 1; in pbus_size_io()
939 if (bus->self && size1 > size0 && realloc_head) { in pbus_size_io()
940 add_to_list(realloc_head, bus->self, b_res, size1-size0, in pbus_size_io()
944 (unsigned long long) size1 - size0); in pbus_size_io()
996 resource_size_t min_align, align, size, size0, size1; in pbus_size_mem() local
1076 size0 in pbus_size_mem()
[all...]
/kernel/linux/linux-6.6/drivers/pci/
H A 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 in pbus_size_mem()
[all...]
/kernel/linux/linux-5.10/arch/s390/boot/
H A Dipl_report.c24 static inline bool intersects(unsigned long addr0, unsigned long size0, in intersects() argument
27 return addr0 + size0 > addr1 && addr1 + size1 > addr0; in intersects()
/kernel/linux/linux-5.10/net/ipv6/
H A Dipv6_sockglue.c237 const int size0 = offsetof(struct compat_group_filter, gf_slist); in compat_ipv6_set_mcast_msfilter() local
243 if (optlen < size0) in compat_ipv6_set_mcast_msfilter()
1057 const int size0 = offsetof(struct group_filter, gf_slist); in ipv6_get_msfilter() local
1063 if (len < size0) in ipv6_get_msfilter()
1065 if (copy_from_user(&gsf, p, size0)) in ipv6_get_msfilter()
1076 copy_to_user(p, &gsf, size0)) in ipv6_get_msfilter()
1086 const int size0 = offsetof(struct compat_group_filter, gf_slist); in compat_ipv6_get_msfilter() local
1095 if (len < size0) in compat_ipv6_get_msfilter()
1098 if (copy_from_user(&gf32, p, size0)) in compat_ipv6_get_msfilter()
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
H A Dcvmx-pko.h184 uint64_t size0:2; member
259 uint64_t size0:2;
H A Dcvmx-pko-defs.h2094 uint64_t size0:8; member
2096 uint64_t size0:8;
/kernel/linux/linux-6.6/arch/mips/include/asm/octeon/
H A Dcvmx-pko.h184 uint64_t size0:2; member
259 uint64_t size0:2;
H A Dcvmx-pko-defs.h2094 uint64_t size0:8; member
2096 uint64_t size0:8;
/kernel/linux/linux-5.10/net/ipv4/
H A Dip_sockglue.c810 const int size0 = offsetof(struct compat_group_filter, gf_slist); in compat_ip_set_mcast_msfilter() local
816 if (optlen < size0) in compat_ip_set_mcast_msfilter()
1466 const int size0 = offsetof(struct group_filter, gf_slist); in ip_get_mcast_msfilter() local
1472 if (len < size0) in ip_get_mcast_msfilter()
1474 if (copy_from_user(&gsf, p, size0)) in ip_get_mcast_msfilter()
1484 copy_to_user(p, &gsf, size0)) in ip_get_mcast_msfilter()
1492 const int size0 = offsetof(struct compat_group_filter, gf_slist); in compat_ip_get_mcast_msfilter() local
1499 if (len < size0) in compat_ip_get_mcast_msfilter()
1501 if (copy_from_user(&gf32, p, size0)) in compat_ip_get_mcast_msfilter()
/kernel/linux/linux-6.6/net/ipv4/
H A 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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
H A Dmthca_qp.c1635 * f0 and size0 are only used if nreq != 0, and they will in mthca_tavor_post_send()
1638 * without initializing f0 and size0, and they are in fact in mthca_tavor_post_send()
1641 int size0; in mthca_tavor_post_send() local
1791 size0 = size; in mthca_tavor_post_send()
1808 (qp->qpn << 8) | size0, in mthca_tavor_post_send()
1831 * size0 is only used if nreq != 0, and it will always be in mthca_tavor_post_receive()
1834 * without initializing size0, and it is in fact never used in mthca_tavor_post_receive()
1837 int size0; in mthca_tavor_post_receive() local
1888 size0 = size; in mthca_tavor_post_receive()
1900 mthca_write64((qp->rq.next_ind << qp->rq.wqe_shift) | size0, in mthca_tavor_post_receive()
1945 int size0; mthca_arbel_post_send() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/
H A Dmthca_qp.c1638 * f0 and size0 are only used if nreq != 0, and they will in mthca_tavor_post_send()
1641 * without initializing f0 and size0, and they are in fact in mthca_tavor_post_send()
1644 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()
1834 * size0 is only used if nreq != 0, and it will always be in mthca_tavor_post_receive()
1837 * without initializing size0, and it is in fact never used in mthca_tavor_post_receive()
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()
1948 int size0; mthca_arbel_post_send() local
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/intel/ipu3/
H A Dipu3-cio2.c1891 size_t size0, i; in arrange() local
1897 size0 = min(CHUNK_SIZE(&arr[0]), CHUNK_SIZE(&arr[1])); in arrange()
1900 for (i = 0; i < size0; i++) { in arrange()
1911 arr[0].begin += size0; in arrange()
1918 arr[0].end = arr[1].begin + size0 - 1; in arrange()
1919 arr[1].begin += size0; in arrange()
/kernel/linux/linux-6.6/drivers/media/pci/intel/ipu3/
H A 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()
/kernel/linux/linux-5.10/drivers/edac/
H A Damd64_edac.c828 int dimm, size0, size1, cs0, cs1, cs_mode; in debug_display_dimm_sizes_df() local
838 size0 = pvt->ops->dbam_to_cs(pvt, ctrl, cs_mode, cs0); in debug_display_dimm_sizes_df()
842 cs0, size0, in debug_display_dimm_sizes_df()
2182 int dimm, size0, size1; in debug_display_dimm_sizes() local
2212 size0 = 0; in debug_display_dimm_sizes()
2220 size0 = pvt->ops->dbam_to_cs(pvt, ctrl, in debug_display_dimm_sizes()
2231 dimm * 2, size0, in debug_display_dimm_sizes()
/kernel/linux/linux-6.6/drivers/edac/
H A 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()
/kernel/linux/linux-5.10/drivers/staging/octeon/
H A Dethernet-tx.c256 pko_command.s.size0 = CVMX_FAU_OP_SIZE_32; in cvm_oct_xmit()
H A Docteon-stubs.h1159 uint64_t size0:2; member
/kernel/linux/linux-6.6/drivers/staging/octeon/
H A Dethernet-tx.c254 pko_command.s.size0 = CVMX_FAU_OP_SIZE_32; in cvm_oct_xmit()
/kernel/linux/linux-5.10/drivers/firewire/
H A Dcore-cdev.c272 void *data0, size_t size0, void *data1, size_t size1) in queue_event()
277 event->v[0].size = size0; in queue_event()
271 queue_event(struct client *client, struct event *event, void *data0, size_t size0, void *data1, size_t size1) queue_event() argument
/kernel/linux/linux-6.6/drivers/firewire/
H A Dcore-cdev.c285 void *data0, size_t size0, void *data1, size_t size1) in queue_event()
290 event->v[0].size = size0; in queue_event()
284 queue_event(struct client *client, struct event *event, void *data0, size_t size0, void *data1, size_t size1) queue_event() argument

Completed in 52 milliseconds

12