Home
last modified time | relevance | path

Searched refs:size2 (Results 1 – 25 of 28) 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.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/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()
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/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.ksh157 size2=$(get_prop used $fs)
158 if [[ $size -ge $(($size2 / 10)) ]] then
160 "$(($size2 / 10)), but is using $size"
/freebsd/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/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/sbin/pfctl/
H A Dpfctl_radix.c162 int *size2, int *nadd, int *ndel, int *nchange, int flags) in pfr_set_addrs() argument
166 ret = pfctl_table_set_addrs(dev, tbl, addr, size, size2, nadd, ndel, in pfr_set_addrs()
/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/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/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.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()
1760 blen = rxb->size2 - fl->rx_offset; /* max possible in this buf */ in get_scatter_segment()
1766 if (fl->rx_offset + len + pad < rxb->size2) in get_scatter_segment()
1768 MPASS(fl->rx_offset + blen <= rxb->size2); in get_scatter_segment()
1794 MPASS(fl->rx_offset <= rxb->size2); in get_scatter_segment()
1795 if (fl->rx_offset < rxb->size2) in get_scatter_segment()
1810 MPASS(fl->rx_offset <= rxb->size2); in get_scatter_segment()
[all …]
H A Dadapter.h500 uint16_t size2; /* hwsize[hwidx2] = size2. member
/freebsd/sys/netpfil/pf/
H A Dpf_table.c392 int *size2, int *nadd, int *ndel, int *nchange, int flags, in pfr_set_addrs() argument
465 if ((flags & PFR_FLAG_FEEDBACK) && *size2) { in pfr_set_addrs()
466 if (*size2 < size+xdel) { in pfr_set_addrs()
467 *size2 = size+xdel; in pfr_set_addrs()
491 if ((flags & PFR_FLAG_FEEDBACK) && size2) in pfr_set_addrs()
492 *size2 = size+xdel; in pfr_set_addrs()
H A Dpf_if.c687 int e, size2 = 0; in pfi_table_update() local
701 if ((e = pfr_set_addrs(&kt->pfrkt_t, V_pfi_buffer, V_pfi_buffer_cnt, &size2, in pfi_table_update()
/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/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/lib/libpfctl/
H A Dlibpfctl.h507 *addr, int size, int *size2, int *nadd, int *ndel, int *nchange,
H A Dlibpfctl.c2392 *addr, int size, int *size2, int *nadd, int *ndel, int *nchange, int flags) in pfctl_table_set_addrs() argument
2405 io.pfrio_size2 = (size2 != NULL) ? *size2 : 0; in pfctl_table_set_addrs()
2414 if (size2 != NULL) in pfctl_table_set_addrs()
2415 *size2 = io.pfrio_size2; in pfctl_table_set_addrs()
/freebsd/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()
/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