Home
last modified time | relevance | path

Searched refs:size2 (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-14.2/tools/test/stress2/misc/
H A Dmmap33.sh53 size_t i, size1, size2;
66 size2 = atoi(argv[3]);
76 if (ftruncate(fd, size2) == -1)
78 data = mmap(NULL, size2, PROT_READ|PROT_WRITE,MAP_SHARED, fd, 0);
81 memset(data, 0xFF, size2);
83 if (munmap(data, size2) == -1)
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/
H A Dredacted_size.ksh38 typeset size2=$(mktemp $tmpdir/size.XXXX)
47 log_must eval "zfs send --redact book $sendfs@snap | wc -c >$size2"
49 read -r bytes2 < $size2
55 log_must eval "zfs send -i $sendfs#book $sendfs@snap2 | wc -c >$size2"
57 read -r bytes2 < $size2
/freebsd-14.2/lib/libc/stdlib/
H A Dmerge.c258 s -= size2; \
271 int i, length, size2, tmp, sense; in setup() local
274 size2 = size*2; in setup()
296 for (f2 = f1 + size2; f2 < last; f2 += size2) { in setup()
303 p2 = *EVAL(p2) = f1 + size2 - list1 + list2; in setup()
306 } while ((f1 += size2) < f2); in setup()
309 for (f2 = f1 + size2; f2 < l2; f2 += size2) { in setup()
327 for (f1 = list1, p2 = list2; f1 < last; f1 += size2) { in setup()
328 p2 = *EVAL(p2) = p2 + size2; in setup()
/freebsd-14.2/crypto/openssl/crypto/
H A Dder_writer.c35 size_t size1, size2; in int_end_context() local
47 && WPACKET_get_total_written(pkt, &size2) in int_end_context()
48 && (size1 == size2 || WPACKET_put_bytes_u8(pkt, tag)); in int_end_context()
190 size_t size1, size2; in ossl_DER_w_end_sequence() local
194 && WPACKET_get_total_written(pkt, &size2) in ossl_DER_w_end_sequence()
195 && (size1 == size2 in ossl_DER_w_end_sequence()
/freebsd-14.2/contrib/xz/src/liblzma/check/
H A Dcrc64_fast.c278 size_t size2 = skip_start + size; in crc64_clmul() local
324 if (size2 <= 16) { in crc64_clmul()
361 while (size2 > 32) { in crc64_clmul()
363 size2 -= 16; in crc64_clmul()
368 if (size2 < 32) { in crc64_clmul()
/freebsd-14.2/usr.sbin/nscd/agents/
H A Dservices.c128 size_t size, size2; in services_lookup_func() local
151 size2 = strlen(name) + 1; in services_lookup_func()
153 if (size2 < size) in services_lookup_func()
154 proto = name + size2; in services_lookup_func()
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_010_pos.ksh157 size2=$(get_prop used $fs)
158 if [[ $size -ge $(($size2 / 10)) ]] then
160 "$(($size2 / 10)), but is using $size"
/freebsd-14.2/crypto/openssl/test/
H A Dwpackettest.c363 size_t size1, size2; in test_WPACKET_init_der() local
380 || !TEST_true(WPACKET_get_total_written(&pkt, &size2)) in test_WPACKET_init_der()
381 || !TEST_size_t_eq(size1, size2)) in test_WPACKET_init_der()
/freebsd-14.2/lib/libc/net/
H A Dgetservent.c875 size_t desired_size, size, size2; in serv_id_func() local
888 size2 = strlen(proto); in serv_id_func()
889 desired_size += size2 + 1; in serv_id_func()
891 size2 = 0; in serv_id_func()
903 proto, size2 + 1); in serv_id_func()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Expression/
H A DIRMemoryMap.h133 lldb::addr_t addr2, size_t size2);
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_flat_map.h93 constexpr uptr size2() const { return kSize2; } in size2() function
/freebsd-14.2/sys/dev/iscsi/
H A Dicl_soft.c883 long available, size, size2; in icl_conn_send_pdus() local
958 size2 = icl_pdu_size(request2); in icl_conn_send_pdus()
959 if (available < size + size2) in icl_conn_send_pdus()
975 request->ip_bhs_mbuf->m_pkthdr.len += size2; in icl_conn_send_pdus()
976 size += size2; in icl_conn_send_pdus()
/freebsd-14.2/sbin/pfctl/
H A Dpfctl_radix.c238 int *size2, int *nadd, int *ndel, int *nchange, int flags) in pfr_set_addrs() argument
242 ret = pfctl_table_set_addrs(dev, tbl, addr, size, size2, nadd, ndel, in pfr_set_addrs()
/freebsd-14.2/sys/dev/xen/netback/
H A Dnetback_unit_tests.c1483 size_t size2 = MHLEN - 15; in xnb_mbufc2pkt_2short() local
1494 mbufc2 = m_getm(mbufc, size2, M_WAITOK, MT_DATA); in xnb_mbufc2pkt_2short()
1500 mbufc2->m_pkthdr.len = size1 + size2; in xnb_mbufc2pkt_2short()
1505 XNB_ASSERT(pkt.size == size1 + size2); in xnb_mbufc2pkt_2short()
1954 size_t size2 = MHLEN - 15; in xnb_rxpkt2rsp_2short() local
1969 m_getm(mbufc, size2, M_WAITOK, MT_DATA); in xnb_rxpkt2rsp_2short()
1971 mbufc->m_pkthdr.len = size1 + size2; in xnb_rxpkt2rsp_2short()
1973 mbufc->m_next->m_len = size2; in xnb_rxpkt2rsp_2short()
1995 XNB_ASSERT(rsp->status == size1 + size2); in xnb_rxpkt2rsp_2short()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_access.cpp512 uptr size2 = size - size1; in UnalignedMemoryAccess()
513 if (LIKELY(size2 == 0)) in UnalignedMemoryAccess()
516 Shadow cur(fast_state, 0, size2, typ); in UnalignedMemoryAccess()
H A Dtsan_rtl_report.cpp424 uptr size2) { in IsWithinAccess() argument
425 return addr1 >= addr2 && addr1 + size1 <= addr2 + size2; in IsWithinAccess()
/freebsd-14.2/lib/libpfctl/
H A Dlibpfctl.c1563 *addr, int size, int *size2, int *nadd, int *ndel, int *nchange, int flags) in pfctl_table_set_addrs() argument
1576 io.pfrio_size2 = (size2 != NULL) ? *size2 : 0; in pfctl_table_set_addrs()
1585 if (size2 != NULL) in pfctl_table_set_addrs()
1586 *size2 = io.pfrio_size2; in pfctl_table_set_addrs()
H A Dlibpfctl.h433 *addr, int size, int *size2, int *nadd, int *ndel, int *nchange,
/freebsd-14.2/sys/contrib/device-tree/Bindings/mtd/
H A Dqcom,nandc.yaml122 It's in the form of <offset1 size1 offset2 size2 offset3 ...>
/freebsd-14.2/sys/dev/cxgbe/
H A Dt4_sge.c870 rxb->size2 = 0; in t4_init_rx_buf_info()
889 rxb->size2 = hwsize; in t4_init_rx_buf_info()
896 rxb->size2 = hwsize; in t4_init_rx_buf_info()
900 rxb->size2 = hwsize; in t4_init_rx_buf_info()
1795 if (fl->rx_offset < rxb->size2) in get_scatter_segment()
1810 MPASS(fl->rx_offset <= rxb->size2); in get_scatter_segment()
1811 if (fl->rx_offset < rxb->size2) in get_scatter_segment()
1892 if (fl->rx_offset < rxb->size2) in skip_scatter_segment()
1925 len = rxb->size2 - fl->rx_offset; in get_segment_len()
5055 sd->moff = rxb->size2; in refill_fl()
[all …]
/freebsd-14.2/sys/netpfil/pf/
H A Dpf_table.c396 int *size2, int *nadd, int *ndel, int *nchange, int flags, in pfr_set_addrs() argument
469 if ((flags & PFR_FLAG_FEEDBACK) && *size2) { in pfr_set_addrs()
470 if (*size2 < size+xdel) { in pfr_set_addrs()
471 *size2 = size+xdel; in pfr_set_addrs()
495 if ((flags & PFR_FLAG_FEEDBACK) && size2) in pfr_set_addrs()
496 *size2 = size+xdel; in pfr_set_addrs()
H A Dpf_if.c639 int e, size2 = 0; in pfi_table_update() local
653 if ((e = pfr_set_addrs(&kt->pfrkt_t, V_pfi_buffer, V_pfi_buffer_cnt, &size2, in pfi_table_update()
/freebsd-14.2/contrib/llvm-project/lldb/source/Expression/
H A DIRMemoryMap.cpp239 lldb::addr_t addr2, size_t size2) { in AllocationsIntersect() argument
250 return (addr2 < (addr1 + size1)) && (addr1 < (addr2 + size2)); in AllocationsIntersect()
/freebsd-14.2/contrib/libarchive/libarchive/
H A Darchive_read_support_format_7zip.c4046 size_t size0, size1, size2, size3; in Bcj2_Decode() local
4054 size2 = zip->sub_stream_bytes_remaining[1]; in Bcj2_Decode()
4055 buf2 = zip->sub_stream_buff[1] + zip->sub_stream_size[1] - size2; in Bcj2_Decode()
4141 if (size2 < 4) in Bcj2_Decode()
4144 size2 -= 4; in Bcj2_Decode()
4174 zip->sub_stream_bytes_remaining[1] = size2; in Bcj2_Decode()
/freebsd-14.2/sys/contrib/openzfs/module/nvpair/
H A Dnvpair.c799 int size1, size2; in i_validate_nvpair() local
812 size2 = i_get_value_size(type, NVP_VALUE(nvp), NVP_NELEM(nvp)); in i_validate_nvpair()
814 if (size2 < 0 || size1 != NV_ALIGN(size2)) in i_validate_nvpair()

12