Home
last modified time | relevance | path

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

12

/freebsd/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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/
H A Dredacted_size.ksh39 typeset size2=$(mktemp $tmpdir/size.XXXX)
48 log_must eval "zfs send --redact book $sendfs@snap | wc -c >$size2"
50 read -r bytes2 < $size2
56 log_must eval "zfs send -i $sendfs#book $sendfs@snap2 | wc -c >$size2"
58 read -r bytes2 < $size2
/freebsd/lib/libc/stdlib/
H A Dmerge.c255 s -= size2; \
268 int i, length, size2, tmp, sense; in setup() local
271 size2 = size*2; in setup()
293 for (f2 = f1 + size2; f2 < last; f2 += size2) { in setup()
300 p2 = *EVAL(p2) = f1 + size2 - list1 + list2; in setup()
303 } while ((f1 += size2) < f2); in setup()
306 for (f2 = f1 + size2; f2 < l2; f2 += size2) { in setup()
324 for (f1 = list1, p2 = list2; f1 < last; f1 += size2) { in setup()
325 p2 = *EVAL(p2) = p2 + size2; in setup()
/freebsd/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()
189 size_t size1, size2; in ossl_DER_w_end_sequence() local
193 && WPACKET_get_total_written(pkt, &size2) in ossl_DER_w_end_sequence()
194 && (size1 == size2 in ossl_DER_w_end_sequence()
/freebsd/usr.sbin/nscd/agents/
H A Dservices.c127 size_t size, size2; in services_lookup_func() local
150 size2 = strlen(name) + 1; in services_lookup_func()
152 if (size2 < size) in services_lookup_func()
153 proto = name + size2; in services_lookup_func()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_010_pos.ksh158 size2=$(get_prop used $fs)
159 if [[ $size -ge $(($size2 / 10)) ]] then
161 "$(($size2 / 10)), but is using $size"
/freebsd/lib/libc/net/
H A Dgetservent.c872 size_t desired_size, size, size2; in serv_id_func() local
885 size2 = strlen(proto); in serv_id_func()
886 desired_size += size2 + 1; in serv_id_func()
888 size2 = 0; in serv_id_func()
900 proto, size2 + 1); in serv_id_func()
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DIRMemoryMap.h133 lldb::addr_t addr2, size_t size2);
/freebsd/crypto/openssl/test/
H A Dwpackettest.c390 size_t size1, size2; in test_WPACKET_init_der() local
407 || !TEST_true(WPACKET_get_total_written(&pkt, &size2)) in test_WPACKET_init_der()
408 || !TEST_size_t_eq(size1, size2)) in test_WPACKET_init_der()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_flat_map.h93 constexpr uptr size2() const { return kSize2; } in size2() function
/freebsd/sys/dev/iscsi/
H A Dicl_soft.c882 long available, size, size2; in icl_conn_send_pdus() local
957 size2 = icl_pdu_size(request2); in icl_conn_send_pdus()
958 if (available < size + size2) in icl_conn_send_pdus()
974 request->ip_bhs_mbuf->m_pkthdr.len += size2; in icl_conn_send_pdus()
975 size += size2; in icl_conn_send_pdus()
/freebsd/sys/dev/xen/netback/
H A Dnetback_unit_tests.c1484 size_t size2 = MHLEN - 15; in xnb_mbufc2pkt_2short() local
1495 mbufc2 = m_getm(mbufc, size2, M_WAITOK, MT_DATA); in xnb_mbufc2pkt_2short()
1501 mbufc2->m_pkthdr.len = size1 + size2; in xnb_mbufc2pkt_2short()
1506 XNB_ASSERT(pkt.size == size1 + size2); in xnb_mbufc2pkt_2short()
1955 size_t size2 = MHLEN - 15; in xnb_rxpkt2rsp_2short() local
1970 m_getm(mbufc, size2, M_WAITOK, MT_DATA); in xnb_rxpkt2rsp_2short()
1972 mbufc->m_pkthdr.len = size1 + size2; in xnb_rxpkt2rsp_2short()
1974 mbufc->m_next->m_len = size2; in xnb_rxpkt2rsp_2short()
1996 XNB_ASSERT(rsp->status == size1 + size2); in xnb_rxpkt2rsp_2short()
/freebsd/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/sys/dev/cxgbe/
H A Dt4_sge.c914 rxb->size2 = 0; in t4_init_rx_buf_info()
933 rxb->size2 = hwsize; in t4_init_rx_buf_info()
940 rxb->size2 = hwsize; in t4_init_rx_buf_info()
944 rxb->size2 = hwsize; in t4_init_rx_buf_info()
1800 blen = rxb->size2 - fl->rx_offset; /* max possible in this buf */ in get_scatter_segment()
1806 if (fl->rx_offset + len + pad < rxb->size2) in get_scatter_segment()
1808 MPASS(fl->rx_offset + blen <= rxb->size2); in get_scatter_segment()
1834 MPASS(fl->rx_offset <= rxb->size2); in get_scatter_segment()
1835 if (fl->rx_offset < rxb->size2) in get_scatter_segment()
1850 MPASS(fl->rx_offset <= rxb->size2); in get_scatter_segment()
[all …]
H A Dadapter.h531 uint16_t size2; /* hwsize[hwidx2] = size2. member
H A Dt4_netmap.c719 if (rxb->size2 == NETMAP_BUF_SIZE(na)) { in cxgbe_netmap_on()
/freebsd/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/sys/netpfil/pf/
H A Dpf_table.c390 int *size2, int *nadd, int *ndel, int *nchange, int flags, in pfr_set_addrs() argument
467 if ((flags & PFR_FLAG_FEEDBACK) && *size2) { in pfr_set_addrs()
468 if (*size2 < size+xdel) { in pfr_set_addrs()
469 *size2 = size+xdel; in pfr_set_addrs()
493 if ((flags & PFR_FLAG_FEEDBACK) && size2) in pfr_set_addrs()
494 *size2 = size+xdel; in pfr_set_addrs()
H A Dpf_if.c694 int e, size2 = 0; in pfi_table_update() local
708 if ((e = pfr_set_addrs(&kt->pfrkt_t, V_pfi_buffer, V_pfi_buffer_cnt, &size2, in pfi_table_update()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_7zip.c4399 size_t size0, size1, size2, size3; in Bcj2_Decode() local
4407 size2 = zip->sub_stream_bytes_remaining[1]; in Bcj2_Decode()
4408 buf2 = zip->sub_stream_buff[1] + zip->sub_stream_size[1] - size2; in Bcj2_Decode()
4494 if (size2 < 4) in Bcj2_Decode()
4497 size2 -= 4; in Bcj2_Decode()
4527 zip->sub_stream_bytes_remaining[1] = size2; in Bcj2_Decode()
/freebsd/lib/libpfctl/
H A Dlibpfctl.h539 *addr, int size, int *size2, int *nadd, int *ndel, int *nchange,
H A Dlibpfctl.c2703 *addr, int size, int *size2, int *nadd, int *ndel, int *nchange, int flags)
2716 io.pfrio_size2 = (size2 != NULL) ? *size2 : 0; in pfctl_table_set_addrs()
2725 if (size2 != NULL) in pfctl_table_set_addrs()
2726 *size2 = io.pfrio_size2; in pfctl_table_set_addrs()
2706 pfctl_table_set_addrs(int dev,struct pfr_table * tbl,struct pfr_addr * addr,int size,int * size2,int * nadd,int * ndel,int * nchange,int flags) pfctl_table_set_addrs() argument
/freebsd/sys/contrib/openzfs/module/nvpair/
H A Dnvpair.c800 int size1, size2; in i_validate_nvpair() local
813 size2 = i_get_value_size(type, NVP_VALUE(nvp), NVP_NELEM(nvp)); in i_validate_nvpair()
815 if (size2 < 0 || size1 != NV_ALIGN(size2)) in i_validate_nvpair()
/freebsd/crypto/heimdal/doc/
H A Dlayman.asc1086 OCTET STRING [SIZE ({size | size1..size2})]
1088 where size, size1, and size2 are optional size constraints.
1090 have size octets. In the OCTET STRING SIZE (size1..size2)
1091 form, the octet string must have between size1 and size2

12