/titanic_52/usr/src/cmd/cmd-inet/usr.sbin/ipmpstat/ |
H A D | ipmpstat.c | 422 sfunc_addr_address(ofmt_arg_t *ofmtarg, char *buf, uint_t bufsize) in sfunc_addr_address() argument 427 sockaddr2str(&adinfop->ad_addr, buf, bufsize); in sfunc_addr_address() 432 sfunc_addr_group(ofmt_arg_t *ofmtarg, char *buf, uint_t bufsize) in sfunc_addr_group() argument 445 (void) strlcpy(buf, grinfop->gr_ifname, bufsize); in sfunc_addr_group() 451 sfunc_addr_state(ofmt_arg_t *ofmtarg, char *buf, uint_t bufsize) in sfunc_addr_state() argument 456 enum2str(addr_state, adinfop->ad_state, buf, bufsize); in sfunc_addr_state() 461 sfunc_addr_inbound(ofmt_arg_t *ofmtarg, char *buf, uint_t bufsize) in sfunc_addr_inbound() argument 466 (void) strlcpy(buf, adinfop->ad_binding, bufsize); in sfunc_addr_inbound() 471 sfunc_addr_outbound(ofmt_arg_t *ofmtarg, char *buf, uint_t bufsize) in sfunc_addr_outbound() argument 513 (void) strlcat(buf, " ", bufsize); in sfunc_addr_outbound() 523 sfunc_group_name(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_group_name() argument 533 sfunc_group_ifname(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_group_ifname() argument 543 sfunc_group_state(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_group_state() argument 553 sfunc_group_fdt(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_group_fdt() argument 566 sfunc_group_interfaces(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_group_interfaces() argument 632 sfunc_if_name(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_if_name() argument 642 sfunc_if_active(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_if_active() argument 655 sfunc_if_group(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_if_group() argument 675 sfunc_if_flags(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_if_flags() argument 720 sfunc_if_link(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_if_link() argument 730 sfunc_if_probe(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_if_probe() argument 740 sfunc_if_state(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_if_state() argument 750 sfunc_probe_id(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_probe_id() argument 764 sfunc_probe_ifname(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_probe_ifname() argument 778 sfunc_probe_time(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_probe_time() argument 793 sfunc_probe_target(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_probe_target() argument 809 sfunc_probe_rtt(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_probe_rtt() argument 833 sfunc_probe_netrtt(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_probe_netrtt() argument 857 sfunc_probe_rttavg(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_probe_rttavg() argument 872 sfunc_probe_rttdev(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_probe_rttdev() argument 980 sfunc_targ_ifname(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_targ_ifname() argument 990 sfunc_targ_mode(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_targ_mode() argument 1000 sfunc_targ_testaddr(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_targ_testaddr() argument 1011 sfunc_targ_targets(ofmt_arg_t * ofmtarg,char * buf,uint_t bufsize) sfunc_targ_targets() argument 1073 enum2str(const ipmpstat_enum_t * enums,int enumval,char * buf,uint_t bufsize) enum2str() argument 1091 sockaddr2str(const struct sockaddr_storage * ssp,char * buf,uint_t bufsize) sockaddr2str() argument [all...] |
/titanic_52/usr/src/cmd/nvmeadm/ |
H A D | nvmeadm_dev.c | 30 nvme_ioctl(int fd, int ioc, size_t *bufsize, void **buf, uint64_t arg, in nvme_ioctl() argument 41 if (bufsize != NULL && *bufsize != 0) { in nvme_ioctl() 44 if ((nioc.n_buf = (uintptr_t)calloc(*bufsize, 1)) == NULL) in nvme_ioctl() 47 nioc.n_len = *bufsize; in nvme_ioctl() 64 if (bufsize != NULL) in nvme_ioctl() 65 *bufsize = nioc.n_len; in nvme_ioctl() 77 size_t bufsize = sizeof (nvme_capabilities_t); in nvme_capabilities() local 79 (void) nvme_ioctl(fd, NVME_IOC_CAPABILITIES, &bufsize, &cap, 0, NULL); in nvme_capabilities() 88 size_t bufsize in nvme_version() local 99 size_t bufsize = NVME_IDENTIFY_BUFSIZE; nvme_identify_ctrl() local 111 size_t bufsize = NVME_IDENTIFY_BUFSIZE; nvme_identify_nsid() local 119 nvme_get_logpage(int fd,uint8_t logpage,size_t * bufsize) nvme_get_logpage() argument 131 nvme_get_feature(int fd,uint8_t feature,uint32_t arg,uint64_t * res,size_t * bufsize,void ** buf) nvme_get_feature() argument [all...] |
/titanic_52/usr/src/cmd/avs/sdbc/ |
H A D | sd_diag.c | 67 int bufsize = DEF_SIZE; variable 111 "sd_diag [-R] [-b <bufsize>] [-d <datasize>] [-l <loops>] [-r <readers>]\n"); in print_usage() 132 (void) printf(" <bufsize> in bytes (minimum is 512 bytes)\n"); in print_usage() 141 (void) printf(" [ defaults: bufsize = %d bytes, loops = %d,", in print_usage() 162 /* bufsize between 1*512 and 512*512 */ in parse_opts() 163 bufsize = strtol(optarg, 0, 0); in parse_opts() 164 if (bufsize > (MAXBUF*4)) in parse_opts() 165 bufsize = MAXBUF*4; in parse_opts() 166 else if (bufsize < FBA_SIZE(1)) in parse_opts() 167 bufsize in parse_opts() [all...] |
/titanic_52/usr/src/uts/common/io/xge/hal/include/ |
H A D | xgehal-mgmtaux.h | 34 int bufsize, char *retbuf, int *retsize); 37 int bufsize, char *retbuf, int *retsize); 40 int bufsize, char *retbuf, int *retsize); 43 int bufsize, char *retbuf, int *retsize); 46 int bufsize, char *retbuf, int *retsize); 49 int bufsize, char *retbuf, int *retsize); 52 unsigned int offset, int bufsize, char *retbuf, int *retsize); 58 unsigned int offset, int bufsize, char *retbuf, int *retsize); 61 int bufsize, char *retbuf, int *retsize); 64 int bufsize, cha [all...] |
/titanic_52/usr/src/lib/libc/port/sys/ |
H A D | corectl.c | 58 core_set_global_path(const char *buf, size_t bufsize) in core_set_global_path() argument 60 return (syscall(SYS_corectl, CC_SET_GLOBAL_PATH, buf, bufsize)); in core_set_global_path() 64 core_get_global_path(char *buf, size_t bufsize) in core_get_global_path() argument 66 return (syscall(SYS_corectl, CC_GET_GLOBAL_PATH, buf, bufsize)); in core_get_global_path() 82 core_set_default_path(const char *buf, size_t bufsize) in core_set_default_path() argument 84 return (syscall(SYS_corectl, CC_SET_DEFAULT_PATH, buf, bufsize)); in core_set_default_path() 88 core_get_default_path(char *buf, size_t bufsize) in core_get_default_path() argument 90 return (syscall(SYS_corectl, CC_GET_DEFAULT_PATH, buf, bufsize)); in core_get_default_path() 106 core_set_process_path(const char *buf, size_t bufsize, pid_t pid) in core_set_process_path() argument 108 return (syscall(SYS_corectl, CC_SET_PROCESS_PATH, buf, bufsize, pi in core_set_process_path() 112 core_get_process_path(char * buf,size_t bufsize,pid_t pid) core_get_process_path() argument [all...] |
H A D | readlink.c | 32 readlinkat(int fd, const char *path, char *buf, size_t bufsize) in readlinkat() argument 37 error = __systemcall(&rval, SYS_readlinkat, fd, path, buf, bufsize); in readlinkat() 45 readlink(const char *path, char *buf, size_t bufsize) in readlink() argument 51 error = __systemcall(&rval, SYS_readlink, path, buf, bufsize); in readlink() 56 return (readlinkat(AT_FDCWD, path, buf, bufsize)); in readlink()
|
/titanic_52/usr/src/lib/libcurses/screen/ |
H A D | mbtranslate.c | 69 static int bufsize; in _strcode2byte() local 77 if (!byte && (n*CSMAX+1) > bufsize) { in _strcode2byte() 80 bufsize = n * CSMAX + 1; in _strcode2byte() 81 if ((buf = malloc(bufsize * sizeof (char))) == NULL) in _strcode2byte() 82 bufsize = 0; in _strcode2byte() 112 static int bufsize; in _strbyte2code() local 118 if (!code && (n + 1) > bufsize) { in _strbyte2code() 121 bufsize = n + 1; in _strbyte2code() 122 if ((buf = (wchar_t *)malloc(bufsize * sizeof (wchar_t))) == in _strbyte2code() 124 bufsize in _strbyte2code() [all...] |
/titanic_52/usr/src/uts/common/syscall/ |
H A D | exacctsys.c | 80 getacct_task(ac_info_t *ac_task, taskid_t tkid, void *buf, size_t bufsize, in getacct_task() argument 96 getacct_callback, buf, bufsize, sizep, EW_PARTIAL); in getacct_task() 103 getacct_proc(ac_info_t *ac_proc, pid_t pid, void *buf, size_t bufsize, in getacct_proc() argument 137 getacct_callback, buf, bufsize, sizep, EW_PARTIAL); in getacct_proc() 146 getacct(idtype_t idtype, id_t id, void *buf, size_t bufsize) in getacct() argument 152 if (bufsize > EXACCT_MAX_BUFSIZE) in getacct() 153 bufsize = EXACCT_MAX_BUFSIZE; in getacct() 158 error = getacct_proc(&acg->ac_proc, id, buf, bufsize, &size); in getacct() 161 error = getacct_task(&acg->ac_task, id, buf, bufsize, &size); in getacct() 171 putacct(idtype_t idtype, id_t id, void *buf, size_t bufsize, in argument 326 exacct(int code,idtype_t idtype,id_t id,void * buf,size_t bufsize,int flags) exacct() argument [all...] |
/titanic_52/usr/src/lib/libtsol/common/ |
H A D | private.c | 240 size_t bufsize = sizeof (labeld_data_t); in bslcvtfull() local 252 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) == NOSERVER) { in bslcvtfull() 276 (void) munmap((void *)callp, bufsize); in bslcvtfull() 292 (void) munmap((void *)callp, bufsize); in bslcvtfull() 331 size_t bufsize = sizeof (labeld_data_t); in bslcvt() local 344 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) == NOSERVER) { in bslcvt() 362 (void) munmap((void *)callp, bufsize); in bslcvt() 370 (void) munmap((void *)callp, bufsize); in bslcvt() 417 size_t bufsize = sizeof (labeld_data_t); in bclearcvtfull() local 429 if ((rval = __call_labeld(&callp, &bufsize, in bclearcvtfull() 511 size_t bufsize = sizeof (labeld_data_t); bclearcvt() local 578 size_t bufsize = sizeof (labeld_data_t); labelfields() local 644 size_t bufsize = sizeof (labeld_data_t); userdefs() local [all...] |
H A D | misc.c | 92 size_t bufsize = sizeof (labeld_data_t); in blinset() local 99 if (__call_labeld(&callp, &bufsize, &datasize) != SUCCESS) { in blinset() 140 size_t bufsize = sizeof (labeld_data_t); in bslvalid() local 159 if (__call_labeld(&callp, &bufsize, &datasize) != SUCCESS) { in bslvalid() 193 size_t bufsize = sizeof (labeld_data_t); in bclearvalid() local 212 if (__call_labeld(&callp, &bufsize, &datasize) != SUCCESS) { in bclearvalid() 241 size_t bufsize = sizeof (labeld_data_t); in labelinfo() local 247 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) != SUCCESS) { in labelinfo() 281 size_t bufsize = sizeof (labeld_data_t); in labelvers() local 287 if (__call_labeld(&callp, &bufsize, in labelvers() 345 size_t bufsize = sizeof (labeld_data_t); bltocolor_r() local [all...] |
H A D | setflabel.c | 82 size_t bufsize = sizeof (labeld_data_t); in setflabel() local 113 if (datasize > bufsize) { in setflabel() 117 bufsize = datasize; in setflabel() 125 if (__call_labeld(&callp, &bufsize, &datasize) == SUCCESS) { in setflabel() 182 size_t bufsize = sizeof (labeld_data_t); in zonecopy() local 205 if (datasize > bufsize) { in zonecopy() 209 bufsize = datasize; in zonecopy() 230 if (__call_labeld(&callp, &bufsize, &datasize) == SUCCESS) { in zonecopy()
|
H A D | stob.c | 106 size_t bufsize = sizeof (labeld_data_t); in stobsl() local 129 if (datasize > bufsize) { in stobsl() 135 bufsize = datasize; in stobsl() 143 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) == SUCCESS) { in stobsl() 233 size_t bufsize = sizeof (labeld_data_t); in stobclear() local 247 if (datasize > bufsize) { in stobclear() 253 bufsize = datasize; in stobclear() 261 if ((rval = __call_labeld(&callp, &bufsize, &datasize)) == SUCCESS) { in stobclear()
|
/titanic_52/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | export_sec_context.c | 42 size_t bufsize, blen; local 64 bufsize = 0; 66 &bufsize))) 70 if ((obuffer = (krb5_octet *) xmalloc(bufsize)) == NULL) { 76 blen = bufsize; 83 interprocess_token->length = bufsize - blen; 98 if (obuffer && bufsize) { 99 memset(obuffer, 0, bufsize);
|
/titanic_52/usr/src/lib/libipadm/common/ |
H A D | ipadm_prop.c | 542 ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t proto, in i_ipadm_get_hostmodel() argument 552 nbytes = snprintf(buf, *bufsize, "%d", MOD_PROP_PERM_RW); in i_ipadm_get_hostmodel() 555 nbytes = snprintf(buf, *bufsize, "weak"); in i_ipadm_get_hostmodel() 558 status = i_ipadm_get_prop(iph, arg, pdp, buf, bufsize, proto, in i_ipadm_get_hostmodel() 564 nbytes = snprintf(buf, *bufsize, "%s", in i_ipadm_get_hostmodel() 568 nbytes = snprintf(buf, *bufsize, "strong,src-priority,weak"); in i_ipadm_get_hostmodel() 573 if (nbytes >= *bufsize) { in i_ipadm_get_hostmodel() 575 *bufsize = nbytes + 1; in i_ipadm_get_hostmodel() 759 ipadm_prop_desc_t *pdp, char *buf, uint_t *bufsize, uint_t proto, in i_ipadm_get_ecnsack() argument 770 *bufsize in i_ipadm_get_ecnsack() 818 i_ipadm_get_forwarding(ipadm_handle_t iph,const void * arg,ipadm_prop_desc_t * pdp,char * buf,uint_t * bufsize,uint_t proto,uint_t valtype) i_ipadm_get_forwarding() argument 856 i_ipadm_get_mtu(ipadm_handle_t iph,const void * arg,ipadm_prop_desc_t * pdp,char * buf,uint_t * bufsize,uint_t proto,uint_t valtype) i_ipadm_get_mtu() argument 895 i_ipadm_get_metric(ipadm_handle_t iph,const void * arg,ipadm_prop_desc_t * pdp,char * buf,uint_t * bufsize,uint_t proto,uint_t valtype) i_ipadm_get_metric() argument 935 i_ipadm_get_usesrc(ipadm_handle_t iph,const void * arg,ipadm_prop_desc_t * ipd,char * buf,uint_t * bufsize,uint_t proto,uint_t valtype) i_ipadm_get_usesrc() argument 981 i_ipadm_get_ifprop_flags(ipadm_handle_t iph,const void * arg,ipadm_prop_desc_t * pdp,char * buf,uint_t * bufsize,uint_t proto,uint_t valtype) i_ipadm_get_ifprop_flags() argument 1042 i_ipadm_perm2str(char * buf,uint_t * bufsize) i_ipadm_perm2str() argument 1054 i_ipadm_get_prop(ipadm_handle_t iph,const void * arg,ipadm_prop_desc_t * pdp,char * buf,uint_t * bufsize,uint_t proto,uint_t valtype) i_ipadm_get_prop() argument 1162 i_ipadm_getprop_common(ipadm_handle_t iph,const char * ifname,const char * pname,char * buf,uint_t * bufsize,uint_t proto,uint_t valtype) i_ipadm_getprop_common() argument 1243 ipadm_get_prop(ipadm_handle_t iph,const char * pname,char * buf,uint_t * bufsize,uint_t proto,uint_t valtype) ipadm_get_prop() argument 1267 ipadm_get_ifprop(ipadm_handle_t iph,const char * ifname,const char * pname,char * buf,uint_t * bufsize,uint_t proto,uint_t valtype) ipadm_get_ifprop() argument 1619 i_ipadm_get_onoff(ipadm_handle_t iph,const void * arg,ipadm_prop_desc_t * dp,char * buf,uint_t * bufsize,uint_t proto,uint_t valtype) i_ipadm_get_onoff() argument [all...] |
/titanic_52/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_hc.c | 93 print_hc(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) in print_hc() argument 100 (void) strlcpy(buf, info->hci_name, bufsize); in print_hc() 103 (void) snprintf(buf, bufsize, "%d", info->hci_timeout); in print_hc() 106 (void) snprintf(buf, bufsize, "%d", info->hci_count); in print_hc() 109 (void) snprintf(buf, bufsize, "%d", info->hci_interval); in print_hc() 112 (void) snprintf(buf, bufsize, "%c", in print_hc() 116 (void) snprintf(buf, bufsize, "%s", info->hci_test); in print_hc() 187 print_hc_result(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) in print_hc_result() argument 195 (void) strlcpy(buf, srv->hcs_rule_name, bufsize); in print_hc_result() 198 (void) strlcpy(buf, srv->hcs_hc_name, bufsize); in print_hc_result() [all...] |
H A D | ilbadm_rules.c | 302 of_str(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) in of_str() argument 309 (void) strlcpy(buf, rd->r_name, bufsize); in of_str() 312 (void) strlcpy(buf, rd->r_sgname, bufsize); in of_str() 316 (void) strlcpy(buf, rd->r_hcname, bufsize); in of_str() 324 of_proto(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) in of_proto() argument 330 (void) strlcpy(buf, "TCP", bufsize); in of_proto() 332 (void) strlcpy(buf, "UDP", bufsize); in of_proto() 339 of_rl_ip(ofmt_arg_t *of_arg, char *buf, uint_t bufsize) in of_rl_ip() argument 360 ip2str(ip, buf, bufsize, V6_ADDRONLY); in of_rl_ip() 365 buf += sl; bufsize in of_rl_ip() 374 of_rl_mask(ofmt_arg_t * of_arg,char * buf,uint_t bufsize) of_rl_mask() argument 390 hcport_print(ilb_rule_data_t * rd,char * buf,uint_t bufsize) hcport_print() argument 400 of_rport(ofmt_arg_t * of_arg,char * buf,uint_t bufsize) of_rport() argument 418 of_rstatus(ofmt_arg_t * of_arg,char * buf,uint_t bufsize) of_rstatus() argument 432 of_algo(ofmt_arg_t * of_arg,char * buf,uint_t bufsize) of_algo() argument 443 of_topo(ofmt_arg_t * of_arg,char * buf,uint_t bufsize) of_topo() argument 454 of_time(ofmt_arg_t * of_arg,char * buf,uint_t bufsize) of_time() argument 475 uint_t bufsize; global() member 495 of_rl_srvlist(ofmt_arg_t * of_arg,char * buf,uint_t bufsize) of_rl_srvlist() argument 516 of_port2str(in_port_t minport,in_port_t maxport,char * buf,uint_t bufsize) of_port2str() argument 534 ip2hostname(ilb_ip_addr_t * ip,char * buf,uint_t bufsize) ip2hostname() argument 728 of_srv2str(ofmt_arg_t * of_arg,char * buf,uint_t bufsize) of_srv2str() argument [all...] |
/titanic_52/usr/src/cmd/getopt/ |
H A D | getopt.c | 64 size_t bufsize; in main() local 82 bufsize = BLOCKLEN; in main() 83 if ((outstr = (char *)malloc(bufsize)) == NULL) { in main() 101 ALLOC_BUFMEM(outstr, bufsize, 3); in main() 106 ALLOC_BUFMEM(outstr, bufsize, strlen(optarg)+1) in main() 116 ALLOC_BUFMEM(outstr, bufsize, 3) in main() 119 ALLOC_BUFMEM(outstr, bufsize, strlen(argv[optind])+1) in main()
|
/titanic_52/usr/src/uts/common/io/ |
H A D | kstat.c | 407 size_t bufsize; in write_kstat_data() local 435 bufsize = user_kstat.ks_data_size; in write_kstat_data() 436 buf = kmem_alloc(bufsize + 1, KM_NOSLEEP); in write_kstat_data() 440 if (copyin(user_kstat.ks_data, buf, bufsize)) { in write_kstat_data() 441 kmem_free(buf, bufsize + 1); in write_kstat_data() 447 kmem_free(buf, bufsize + 1); in write_kstat_data() 452 kmem_free(buf, bufsize + 1); in write_kstat_data() 457 kmem_free(buf, bufsize + 1); in write_kstat_data() 473 kmem_free(buf, bufsize + 1); in write_kstat_data() 497 kbuf = kmem_alloc(bufsize in write_kstat_data() [all...] |
/titanic_52/usr/src/contrib/ast/src/lib/libast/disc/ |
H A D | sfdcdio.c | 157 int sfdcdio(Sfio_t* f, size_t bufsize) in sfdcdio() argument 159 int sfdcdio(f, bufsize) in sfdcdio() 161 size_t bufsize; 187 if(bufsize > 0) 188 bufsize = (bufsize/dio.d_miniosz)*dio.d_miniosz; 189 if(bufsize <= 0) 190 bufsize = dio.d_miniosz*64; 191 if(bufsize > dio.d_maxiosz) 192 bufsize [all...] |
/titanic_52/usr/src/cmd/isalist/ |
H A D | isalist.c | 43 size_t bufsize = BUFSIZ; in main() local 45 ret = sysinfo(SI_ISALIST, buf, bufsize); in main() 49 } else if (ret > bufsize) { in main() 52 buf = malloc(bufsize = ret); in main() 58 ret = sysinfo(SI_ISALIST, buf, bufsize); in main()
|
/titanic_52/usr/src/cmd/hal/utils/ |
H A D | adt_data.c | 31 int count, bufsize; in get_audit_export_data() local 77 bufsize = 256; in get_audit_export_data() 78 buf = (uchar_t *)malloc (bufsize); in get_audit_export_data() 81 if (count == bufsize) { in get_audit_export_data() 82 bufsize += 256; in get_audit_export_data() 83 buf = realloc (buf, bufsize); in get_audit_export_data()
|
/titanic_52/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-mgmtaux.c | 29 #define __hal_aux_snprintf(retbuf, bufsize, fmt, key, value, retsize) \ argument 30 if (bufsize <= 0) return XGE_HAL_ERR_OUT_OF_SPACE; \ 31 retsize = xge_os_snprintf(retbuf, bufsize, fmt, key, \ 33 if (retsize < 0 || retsize >= bufsize) return XGE_HAL_ERR_OUT_OF_SPACE; 35 #define __hal_aux_snprintf(retbuf, bufsize, fmt, key, value, retsize) \ argument 36 if (bufsize <= 0) return XGE_HAL_ERR_OUT_OF_SPACE; \ 38 xge_assert(retsize < bufsize); \ 39 if (retsize < 0 || retsize >= bufsize) \ 51 #define __HAL_AUX_ENTRY_END(bufsize, retsize) \ argument 53 *retsize = bufsize 85 xge_hal_aux_bar0_read(xge_hal_device_h devh,unsigned int offset,int bufsize,char * retbuf,int * retsize) xge_hal_aux_bar0_read() argument 125 xge_hal_aux_bar1_read(xge_hal_device_h devh,unsigned int offset,int bufsize,char * retbuf,int * retsize) xge_hal_aux_bar1_read() argument 190 xge_hal_aux_about_read(xge_hal_device_h devh,int bufsize,char * retbuf,int * retsize) xge_hal_aux_about_read() argument 246 xge_hal_aux_stats_tmac_read(xge_hal_device_h devh,int bufsize,char * retbuf,int * retsize) xge_hal_aux_stats_tmac_read() argument 387 xge_hal_aux_stats_rmac_read(xge_hal_device_h devh,int bufsize,char * retbuf,int * retsize) xge_hal_aux_stats_rmac_read() argument 689 xge_hal_aux_stats_herc_enchanced(xge_hal_device_h devh,int bufsize,char * retbuf,int * retsize) xge_hal_aux_stats_herc_enchanced() argument 814 xge_hal_aux_stats_pci_read(xge_hal_device_h devh,int bufsize,char * retbuf,int * retsize) xge_hal_aux_stats_pci_read() argument 879 xge_hal_aux_stats_hal_read(xge_hal_device_h devh,int bufsize,char * retbuf,int * retsize) xge_hal_aux_stats_hal_read() argument 1083 xge_hal_aux_stats_sw_dev_read(xge_hal_device_h devh,int bufsize,char * retbuf,int * retsize) xge_hal_aux_stats_sw_dev_read() argument 1165 xge_hal_aux_pci_config_read(xge_hal_device_h devh,int bufsize,char * retbuf,int * retsize) xge_hal_aux_pci_config_read() argument 1260 xge_hal_aux_channel_read(xge_hal_device_h devh,int bufsize,char * retbuf,int * retsize) xge_hal_aux_channel_read() argument 1519 xge_hal_aux_driver_config_read(int bufsize,char * retbuf,int * retsize) xge_hal_aux_driver_config_read() argument 1556 xge_hal_aux_device_config_read(xge_hal_device_h devh,int bufsize,char * retbuf,int * retsize) xge_hal_aux_device_config_read() argument [all...] |
/titanic_52/usr/src/cmd/vrrpadm/ |
H A D | vrrpadm.c | 564 sfunc_vrrp_conf(ofmt_arg_t *ofmtarg, char *buf, uint_t bufsize) in sfunc_vrrp_conf() argument 576 (void) snprintf(buf, bufsize, "%s", conf->vvc_name); in sfunc_vrrp_conf() 579 (void) snprintf(buf, bufsize, "%d", conf->vvc_vrid); in sfunc_vrrp_conf() 582 (void) snprintf(buf, bufsize, "%s", conf->vvc_link); in sfunc_vrrp_conf() 585 (void) snprintf(buf, bufsize, "IPv%d", in sfunc_vrrp_conf() 589 (void) snprintf(buf, bufsize, "%d", conf->vvc_pri); in sfunc_vrrp_conf() 592 (void) snprintf(buf, bufsize, "%d", conf->vvc_adver_int); in sfunc_vrrp_conf() 595 (void) strlcpy(buf, "-----", bufsize); in sfunc_vrrp_conf() 606 (void) snprintf(buf, bufsize, "%s", in sfunc_vrrp_conf() 610 (void) snprintf(buf, bufsize, " in sfunc_vrrp_conf() [all...] |
/titanic_52/usr/src/cmd/sendmail/libsm/ |
H A D | makebuf.c | 77 ** Plus it fills in 'bufsize' for recommended buffer size and 83 ** bufsize -- new buffer size (a return) 94 sm_whatbuf(fp, bufsize, couldbetty) in sm_whatbuf() argument 96 size_t *bufsize; 104 *bufsize = SM_IO_BUFSIZ; 112 *bufsize = SM_IO_BUFSIZ; 146 *bufsize = st.st_blksize; 150 *bufsize = SM_IO_BUFSIZ;
|
/titanic_52/usr/src/lib/libc/port/gen/ |
H A D | nss_common.c | 1585 nss_pack_dbd(void *buffer, size_t bufsize, nss_db_params_t *p, size_t *poff) in nss_pack_dbd() argument 1596 blen = bufsize - off; in nss_pack_dbd() 1656 nss_pack(void *buffer, size_t bufsize, nss_db_root_t *rootp, in nss_pack() argument 1682 pbuf->pbufsiz = (nssuint_t)bufsize; in nss_pack() 1700 ret = nss_pack_dbd(buffer, bufsize, &tparam, &off); in nss_pack() 1709 blen = bufsize - off; in nss_pack() 1739 pbuf->data_len = (nssuint_t)(bufsize - off); in nss_pack() 1764 nss_pack_ent(void *buffer, size_t bufsize, nss_db_root_t *rootp, in nss_pack_ent() argument 1780 pbuf->pbufsiz = (nssuint_t)bufsize; in nss_pack_ent() 1793 ret = nss_pack_dbd(buffer, bufsize, in nss_pack_ent() 1838 nss_unpack(void * buffer,size_t bufsize,nss_db_root_t * rootp,nss_db_initf_t initf,int search_fnum,void * search_args) nss_unpack() argument 1939 nss_unpack_ent(void * buffer,size_t bufsize,nss_db_root_t * rootp,nss_db_initf_t initf,nss_getent_t * contextpp,void * args) nss_unpack_ent() argument 2016 size_t bufsize = 0; _nsc_search() local 2093 size_t bufsize = 0; _nsc_setent_u() local 2170 size_t bufsize = 0; _nsc_getent_u() local 2237 size_t bufsize = 0; _nsc_endent_u() local [all...] |