/freebsd/sys/kern/ |
H A D | vfs_vnops.c | 2775 size_t len, olen; in vn_fill_junk() local 2782 olen = strlen(kif->kf_path); in vn_fill_junk() 2783 if (len < olen) in vn_fill_junk() 2786 for (; olen < len; olen++) in vn_fill_junk() 2787 strcpy(&kif->kf_path[olen], "A"); in vn_fill_junk() 3664 off_t olen, ooffset; in vn_fallocate() local 3676 olen = len; in vn_fallocate() 3704 if (olen + ooffset != offset + len) { in vn_fallocate() 3706 ooffset, olen, offset, len); in vn_fallocate() 3710 KASSERT(olen > len, ("Iteration did not make progress?")); in vn_fallocate()
|
/freebsd/sys/netpfil/pf/ |
H A D | pf.c | 2861 int copyback = 0, i, olen; in pf_modulate_sack() local 2871 olen = opt[1]; in pf_modulate_sack() 2879 if (olen > hlen) in pf_modulate_sack() 2880 olen = hlen; in pf_modulate_sack() 2881 if (olen >= TCPOLEN_SACKLEN) { in pf_modulate_sack() 2882 for (i = 2; i + TCPOLEN_SACK <= olen; in pf_modulate_sack() 2901 if (olen < 2) in pf_modulate_sack() 2902 olen = 2; in pf_modulate_sack() 2903 hlen -= olen; in pf_modulate_sack() 2904 opt += olen; in pf_modulate_sack()
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 6663 off_t olen; in nfsvno_allocate() local 6680 olen = len; in nfsvno_allocate() 6682 if (error == 0 && len > 0 && olen > len) in nfsvno_allocate() 6684 } while (error == 0 && len > 0 && olen > len); in nfsvno_allocate() 6699 off_t olen; in nfsvno_deallocate() local 6716 olen = len; in nfsvno_deallocate() 6718 if (error == 0 && len > 0 && olen > len) in nfsvno_deallocate() 6720 } while (error == 0 && len > 0 && olen > len); in nfsvno_deallocate()
|
/freebsd/contrib/libfido2/src/ |
H A D | winhello.c | 891 fido_winhello_manifest(fido_dev_info_t *devlist, size_t ilen, size_t *olen) in fido_winhello_manifest() argument 906 di = &devlist[*olen]; in fido_winhello_manifest() 921 ++(*olen); in fido_winhello_manifest()
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_ftp_pxy.c | 283 size_t nlen, olen; in ipf_p_ftp_port() local 388 olen = s - f->ftps_rptr; in ipf_p_ftp_port() 393 inc = nlen - olen; in ipf_p_ftp_port() 814 size_t nlen, olen; in ipf_p_ftp_pasvreply() local 838 olen = s - f->ftps_rptr; in ipf_p_ftp_pasvreply() 840 inc = nlen - olen; in ipf_p_ftp_pasvreply() 1756 olen = s - f->ftps_rptr; in ipf_p_ftp_eprt4() 1768 inc = nlen - olen; in ipf_p_ftp_eprt4() 1871 int port, olen, nlen, inc, off, left, i; in ipf_p_ftp_eprt6() local 1991 olen = s - f->ftps_rptr; in ipf_p_ftp_eprt6() [all …]
|
/freebsd/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_data_bcmraw.c | 144 bhnd_nvram_plist *options, void *outp, size_t *olen) in bhnd_nvram_bcmraw_serialize() argument 152 limit = *olen; in bhnd_nvram_bcmraw_serialize() 228 *olen = nbytes; in bhnd_nvram_bcmraw_serialize() 229 if (limit < *olen) { in bhnd_nvram_bcmraw_serialize()
|
/freebsd/sys/netinet6/ |
H A D | nd6.c | 410 int olen; in nd6_option() local 428 olen = nd_opt->nd_opt_len << 3; in nd6_option() 429 if (olen == 0) { in nd6_option() 438 ndopts->nd_opts_search = (struct nd_opt_hdr *)((caddr_t)nd_opt + olen); in nd6_option()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zpl_file.c | 832 loff_t olen; in zpl_fallocate_common() local 848 olen = i_size_read(ip); in zpl_fallocate_common() 856 if (offset > olen) in zpl_fallocate_common() 859 if (offset + len > olen) in zpl_fallocate_common() 860 len = olen - offset; in zpl_fallocate_common() 896 if (!(mode & FALLOC_FL_KEEP_SIZE) && offset + len > olen) in zpl_fallocate_common()
|
/freebsd/lib/libprocstat/ |
H A D | libprocstat.c | 257 size_t len, olen; in procstat_getprocs() local 301 olen = len; in procstat_getprocs() 303 } while (error < 0 && errno == ENOMEM && olen == len); in procstat_getprocs()
|
/freebsd/crypto/openssh/ |
H A D | channels.c | 2199 size_t dlen, olen = 0; in channel_handle_wfd() local 2208 olen = sshbuf_len(c->output); in channel_handle_wfd() 2280 c->local_consumed += olen - sshbuf_len(c->output); in channel_handle_wfd()
|
/freebsd/crypto/openssh/regress/misc/fuzz-harness/ |
H A D | agent_fuzz_helper.c | 155 size_t i, olen, nlen; in test_one() local 169 olen = sshbuf_len(sockets[0].input); in test_one() 172 if (nlen == 0 || nlen == olen) in test_one()
|
/freebsd/lib/libpmc/pmu-events/ |
H A D | jevents.c | 130 int olen = *dst ? strlen(*dst) : 0; in addfield() local 134 out = realloc(*dst, len + olen + blen); in addfield() 141 if (!olen) in addfield()
|
/freebsd/sys/dev/hyperv/netvsc/ |
H A D | if_hn.c | 2984 int olen; in hn_try_txagg() local 2996 olen = pkt->rm_len; in hn_try_txagg() 2997 pkt->rm_len = roundup2(olen, txr->hn_agg_align); in hn_try_txagg() 2998 agg_txd->chim_size += pkt->rm_len - olen; in hn_try_txagg()
|
/freebsd/crypto/openssl/test/ |
H A D | bad_dtls_test.c | 68 unsigned char *out, int olen) in do_PRF() argument 71 size_t outlen = olen; in do_PRF()
|
/freebsd/crypto/openssl/ssl/ |
H A D | ssl_lib.c | 3151 int SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen, in SSL_export_keying_material() argument 3160 return s->method->ssl3_enc->export_keying_material(s, out, olen, label, in SSL_export_keying_material() 3165 int SSL_export_keying_material_early(SSL *s, unsigned char *out, size_t olen, in SSL_export_keying_material_early() argument 3173 return tls13_export_keying_material_early(s, out, olen, label, llen, in SSL_export_keying_material_early()
|
H A D | t1_enc.c | 32 unsigned char *out, size_t olen, int fatal) in tls1_PRF() argument 72 if (EVP_KDF_derive(kctx, out, olen, params)) { in tls1_PRF() 645 int tls1_export_keying_material(SSL *s, unsigned char *out, size_t olen, in tls1_export_keying_material() argument 713 out, olen, 0); in tls1_export_keying_material()
|
/freebsd/crypto/openssl/providers/implementations/ciphers/ |
H A D | ciphercommon_ccm.c | 340 size_t olen = 0; in ccm_tls_cipher() local 369 olen = len + EVP_CCM_TLS_EXPLICIT_IV_LEN + ctx->m; in ccm_tls_cipher() 374 olen = len; in ccm_tls_cipher() 378 *padlen = olen; in ccm_tls_cipher() 387 size_t olen = 0; in ccm_cipher_internal() local 437 olen = len; in ccm_cipher_internal() 441 *padlen = olen; in ccm_cipher_internal()
|
H A D | ciphercommon_gcm.c | 111 static int getivgen(PROV_GCM_CTX *ctx, unsigned char *out, size_t olen) in getivgen() argument 117 if (olen == 0 || olen > ctx->ivlen) in getivgen() 118 olen = ctx->ivlen; in getivgen() 119 memcpy(out, ctx->iv + ctx->ivlen - olen, olen); in getivgen() 397 size_t olen = 0; in gcm_cipher_internal() local 443 olen = len; in gcm_cipher_internal() 447 *padlen = olen; in gcm_cipher_internal()
|
/freebsd/crypto/openssl/crypto/property/ |
H A D | property_parse.c | 621 size_t olen, len, i; in put_str() local 625 len = olen = strlen(str); in put_str() 664 if (len < olen && *remain == 1) { in put_str()
|
/freebsd/contrib/sendmail/libsm/ |
H A D | util.c | 172 int bufused, olen; local 184 for (ip = ibp, olen = 1; *ip != '\0'; ip++, olen++) 188 olen++; 194 if (olen > *bsp) 196 obp = sm_rpool_malloc_tagged_x(rpool, olen, tag, line, group); 198 *bsp = olen; 214 SM_ASSERT(bufused <= olen); 221 obp = sm_malloc_tagged_x(olen, tag, line + 1, group); 223 *bsp = olen; 230 SM_ASSERT(bufused < olen); [all …]
|
H A D | lowercase.c | 133 int olen, ilen; local 160 olen = ilen + 1; 161 if (olen > outlen) 163 outlen = olen; 170 req = ucasemap_utf8FoldCase(csm, out, olen, str, ilen, &error); 173 if (req >= olen) 185 olen = outlen;
|
/freebsd/sys/netipsec/ |
H A D | key.c | 7770 int olen; in key_promisc() local 7777 olen = PFKEY_UNUNIT64(mhp->msg->sadb_msg_len); in key_promisc() 7779 if (olen < sizeof(struct sadb_msg)) { in key_promisc() 7786 } else if (olen == sizeof(struct sadb_msg)) { in key_promisc()
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_vnops.c | 1609 int olen, error, i, easize; in ffs_deleteextattr() local 1651 olen = ffs_findextattr(eae, easize, ap->a_attrnamespace, ap->a_name, in ffs_deleteextattr() 1653 if (olen == -1) { in ffs_deleteextattr() 1801 int olen, eapad1, eapad2, error, i, easize; in ffs_setextattr() local 1862 olen = ffs_findextattr(eae, easize, ap->a_attrnamespace, ap->a_name, in ffs_setextattr() 1864 if (olen == -1) { in ffs_setextattr()
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_dummynet.c | 1924 int i, olen, err = 0; in config_profile() local 1967 olen = s->profile->oid.len; in config_profile() 1968 if (olen < pf->oid.len) in config_profile() 1969 olen = pf->oid.len; in config_profile() 1971 s->profile->oid.len = olen; in config_profile()
|
/freebsd/sys/dev/usb/wlan/ |
H A D | if_uath.c | 710 cmd->olen = olen; in uath_cmdsend() 725 } else if (cmd->olen != olen) { in uath_cmdsend() 728 code, code, cmd->olen, olen); in uath_cmdsend() 2242 u_int olen; in uath_cmdeof() local 2261 if (olen == 0) { in uath_cmdeof() 2267 olen = 0; in uath_cmdeof() 2270 if (olen > (u_int)cmd->olen) { in uath_cmdeof() 2275 cmd->olen); in uath_cmdeof() 2276 olen = cmd->olen; in uath_cmdeof() 2283 olen = dlen; in uath_cmdeof() [all …]
|