Home
last modified time | relevance | path

Searched refs:buf2 (Results 1 – 25 of 69) sorted by last modified time

123

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c4430 char buf2[64]; in zfs_receive_one() local
4436 zfs_nicebytes(bytes / delta, buf2, sizeof (buf2)); in zfs_receive_one()
4439 buf1, delta, buf2); in zfs_receive_one()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocksubr.c1517 soallocproto2(const void *buf1, ssize_t len1, const void *buf2, ssize_t len2, in soallocproto2() argument
1528 soappendmsg(mp, buf2, len2); in soallocproto2()
1539 soallocproto3(const void *buf1, ssize_t len1, const void *buf2, ssize_t len2, in soallocproto3() argument
1550 soappendmsg(mp, buf2, len2); in soallocproto3()
/illumos-gate/usr/src/cmd/lockstat/
H A Dlockstat.c1814 char buf[256], buf2[256]; in report_trace() local
1836 format_symbol(buf2, lsp->ls_caller, 0)); in report_trace()
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dmkfs.c158 static char buf2[MAXBSIZE]; variable
567 bzero(buf2, sectorsize); in wtvolseq()
569 maketag(tp, (struct tag *)buf2); in wtvolseq()
574 wtfs(blk1, sectorsize, buf2); in wtvolseq()
892 bzero(buf2, sectorsize); in volseqinit()
894 maketag(tp, (struct tag *)buf2); in volseqinit()
895 wtfs(nextblock, sectorsize, buf2); in volseqinit()
900 maketag(tp, (struct tag *)buf2); in volseqinit()
901 wtfs(fssize, sectorsize, buf2); in volseqinit()
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c7277 char buf[DLADM_SECOBJ_VAL_MAX], buf2[DLADM_SECOBJ_VAL_MAX]; in get_secobj_val() local
7283 len2 = get_secobj_from_tty(2, obj_name, buf2); in get_secobj_val()
7284 if (len != len2 || memcmp(buf, buf2, len) != 0) in get_secobj_val()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtables.c1490 char buf1[PREFIX_STATESTRLEN], buf2[PREFIX_STATESTRLEN]; in prefix_update_k() local
1501 prefix_print_state(pr->pr_state, buf2, sizeof (buf2))); in prefix_update_k()
1526 prefix_print_state(pr->pr_state, buf2, in prefix_update_k()
1527 sizeof (buf2))); in prefix_update_k()
1897 char buf1[PREFIX_STATESTRLEN], buf2[PREFIX_STATESTRLEN]; in prefix_print() local
1903 prefix_print_state(pr->pr_state, buf2, sizeof (buf2)), in prefix_print()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c7995 char buf2[4 * MHIOC_RESV_KEY_SIZE + 1]; in vhci_print_prout_keys() local
8004 (void) sprintf(&buf2[(4 * i)], "[%02x]", prout->service_key[i]); in vhci_print_prout_keys()
8018 msg, (void *)vlun, (void *)curthread, buf1, buf2, buf3, buf4)); in vhci_print_prout_keys()
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumptape.c1173 char buf1[3000], buf2[3000]; in changevol() local
1281 (void) snprintf(buf2, sizeof (buf2), gettext( in changevol()
1283 if (query(buf2)) { in changevol()
/illumos-gate/usr/src/test/libc-tests/tests/stdio/
H A Dmemstream.c1149 char buf[32], buf2[32]; in fmemopen_append_nul() local
1180 (void) memset(buf2, 'b', sizeof (buf2)); in fmemopen_append_nul()
1181 if (fwrite(buf2, sizeof (buf2) - ftell(f), 1, f) != 1) { in fmemopen_append_nul()
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkupdate.c234 if (!getword_str(buf2, sizeof buf2, &startp, in res_nmkupdate()
318 if (!getword_str(buf2, sizeof buf2, &startp, in res_nmkupdate()
370 if ((n = getstr_str(buf2, sizeof buf2, in res_nmkupdate()
383 if ((n = getstr_str(buf2, sizeof buf2, in res_nmkupdate()
453 if ((n = getword_str(buf2, sizeof buf2, in res_nmkupdate()
527 if ((n = getword_str(buf2, sizeof buf2, in res_nmkupdate()
558 if ((n = getword_str(buf2, sizeof buf2, in res_nmkupdate()
622 if ((n = getword_str(buf2, sizeof buf2, in res_nmkupdate()
656 if ((n = getstr_str(buf2, sizeof buf2, in res_nmkupdate()
667 if ((n = getstr_str(buf2, sizeof buf2, in res_nmkupdate()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_verify.c230 u_char buf2[MAXDNAME]; in ns_verify() local
247 n = ns_name_pton(name, buf2, sizeof(buf2)); in ns_verify()
250 n = ns_name_ntol(buf2, buf, sizeof(buf)); in ns_verify()
261 n = ns_name_pton(alg, buf2, sizeof(buf2)); in ns_verify()
264 n = ns_name_ntol(buf2, buf, sizeof(buf)); in ns_verify()
/illumos-gate/usr/src/cmd/hal/hald/
H A Ddevice_info.c1197 char buf2[256]; in end() local
1223 strncpy (buf2, existing_string, sizeof (buf2)); in end()
1224 strncat (buf2, buf, sizeof (buf2) - strlen(buf2)); in end()
1226 strncpy (buf2, buf, sizeof (buf2)); in end()
1228 hal_device_property_set_string (pc->device, pc->merge_key, buf2); in end()
1235 char buf2[256]; in end() local
1261 strncpy (buf2, buf, sizeof (buf2)); in end()
1262 strncat (buf2, existing_string, sizeof (buf2) - strlen(buf2)); in end()
1264 strncpy (buf2, buf, sizeof (buf2)); in end()
1266 hal_device_property_set_string (pc->device, pc->merge_key, buf2); in end()
/illumos-gate/usr/src/uts/common/io/sata/impl/
H A Dsata.c17697 char buf2[SATA_EVENT_MAX_MSG_LENGTH + 1]; in sata_hba_event_notify() local
17734 buf1[0] = buf2[0] = '\0'; in sata_hba_event_notify()
17823 (void) sprintf(buf2, err_msg_evnt_1, in sata_hba_event_notify()
17906 (void) sprintf(buf2, err_msg_evnt_1, in sata_hba_event_notify()
17917 (void) sprintf(buf2, err_msg_evnt_2, in sata_hba_event_notify()
17937 (void) sprintf(buf2, err_msg_evnt_2, in sata_hba_event_notify()
17948 (void) sprintf(buf2, err_msg_evnt_2, in sata_hba_event_notify()
18037 if (buf2[0] != '\0') { in sata_hba_event_notify()
18039 cport, buf2); in sata_hba_event_notify()
18047 if (buf2[0] != '\0') { in sata_hba_event_notify()
[all …]
/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Delfdump.c2072 Conv_inv_buf_t buf1, buf2; in syminfo() local
2084 ehdr->e_machine, CONV_FMT_ALT_CF, &buf2)); in syminfo()
2827 Conv_inv_buf_t buf1, buf2; in dyn_test() local
2880 CONV_FMT_ALT_CF, &buf2)); in dyn_test()
H A Dcorenote.c296 sl_fmtbuf_t buf1, buf2; in print_num_2up() local
313 fmt_num(state, fdesc2, fmt_type2, buf2)); in print_num_2up()
957 sl_fmtbuf_t buf1, buf2; in dump_prgregset() local
1360 sl_fmtbuf_t buf1, buf2; in prtpct_2up() local
1371 prtpct_value(state, fdesc2, buf2)); in prtpct_2up()
1385 sl_fmtbuf_t buf1, buf2; in print_state_sname_2up() local
1399 buf2[0] = sname; in print_state_sname_2up()
1400 buf2[1] = '\0'; in print_state_sname_2up()
1407 buf2); in print_state_sname_2up()
1458 sl_fmtbuf_t buf1, buf2; in dump_lwpsinfo() local
[all …]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_if.c15509 char buf2[INET6_ADDRSTRLEN]; in ipif_select_source_v4() local
15515 buf2, sizeof (buf2)))); in ipif_select_source_v4()
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgethostent.c79 char *buf1, *buf2; in _nss_ldap_hosts2str_int() local
127 buf2 = other_hosts; in _nss_ldap_hosts2str_int()
160 len = snprintf(buf2, buflen2, "\n%s ", ips[0]); in _nss_ldap_hosts2str_int()
161 TEST_AND_ADJUST(len, buf2, buflen2, result_host2str); in _nss_ldap_hosts2str_int()
H A Dgetnetent.c148 static int nettoa(int anet, char *buf, char *buf2, int buflen) in nettoa() argument
154 if (buf == NULL || buf2 == NULL) in nettoa()
159 if (inet_ntop(AF_INET, (const void *)&in, buf2, INET_ADDRSTRLEN) in nettoa()
162 if (strlcpy(buf, buf2, buflen) >= buflen) in nettoa()
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c3785 struct statvfs64 buf1, buf2; in is_zonepath_zfs() local
3797 res = statvfs64(parent, &buf2); in is_zonepath_zfs()
3803 if (buf1.f_fsid == buf2.f_fsid) in is_zonepath_zfs()
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dcap.c738 Conv_cap_val_buf_t buf1, buf2; in cap_set() local
756 conv_cap_val(cap_tag, ncap, mach, CONV_FMT_NOBKT, &buf2)); in cap_set()
/illumos-gate/usr/src/cmd/refer/
H A Drefer6.c32 char buf1[BUFSIZ], buf2[50]; in putref() local
86 tx = revauth(tx, buf2); in putref()
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_script.c2499 char *buf2; in dup_err() local
2508 if (buf2 = (char *)malloc(n)) { in dup_err()
2510 n = vsnprintf(buf2, n, format, ap); in dup_err()
2514 rcm_log_message(level, buf2); in dup_err()
2515 return (buf2); in dup_err()
2517 free(buf2); in dup_err()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dtables.c85 char buf2[INET6_ADDRSTRLEN]; in log_change() local
89 (void) inet_ntop(AF_INET6, (void *) &orig->rt_router, buf2, in log_change()
90 sizeof (buf2)); in log_change()
95 buf1, buf2, in log_change()
107 char buf2[INET6_ADDRSTRLEN]; in log_single() local
110 (void) inet_ntop(AF_INET6, (void *)&rt->rt_router, buf2, sizeof (buf2)); in log_single()
113 buf1, buf2, in log_single()
H A Dinput.c41 static char buf2[INET6_ADDRSTRLEN]; variable
232 (void *)&n->rip6_prefix, buf2, in rip_input()
233 sizeof (buf2)), in rip_input()
345 buf2, sizeof (buf2)), in rip_input()
372 buf2, sizeof (buf2)), in rip_input()
416 (void *)&n->rip6_prefix, buf2, in rip_input()
417 sizeof (buf2)), in rip_input()
/illumos-gate/usr/src/cmd/adbgen/common/
H A Dadbgen4.c42 char buf1[BUFSIZE], buf2[BUFSIZE]; variable
55 cur = buf2; in main()

123