/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | fmtmsg.c | 409 struct sevstr *rtnval; /* Value to return */ in getauxsevs() local 429 rtnval = (struct sevstr *)NULL; in getauxsevs() 472 rtnval = libc_malloc( in getauxsevs() 474 if (rtnval != NULL) { in getauxsevs() 477 rtnval->sevkywd = noesc(kywd); in getauxsevs() 478 rtnval->sevvalue = val; in getauxsevs() 479 rtnval->sevprstr = noesc(prstr); in getauxsevs() 480 rtnval->sevnext = in getauxsevs() 512 return (rtnval); in getauxsevs() 683 int rtnval; /* Value to return to the caller */ in addseverity() local [all …]
|
/titanic_44/usr/src/lib/libadm/common/ |
H A D | dgrpent.c | 344 char *rtnval; /* Ptr to value to return */ in _dgrptabpath() local 354 if (rtnval = malloc(strlen(path)+1)) in _dgrptabpath() 355 (void) strcpy(rtnval, path); in _dgrptabpath() 362 if (rtnval = malloc(strlen(DGRP_PATH)+1)) in _dgrptabpath() 363 (void) strcpy(rtnval, DGRP_PATH); in _dgrptabpath() 370 return (rtnval); in _dgrptabpath() 392 int rtnval; /* Value to return */ in _opendgrptab() local 394 rtnval = TRUE; in _opendgrptab() 400 } else rtnval = FALSE; /* :-( */ in _opendgrptab() 401 } else rtnval = FALSE; /* :-( */ in _opendgrptab() [all …]
|
H A D | listdgrp.c | 102 char **rtnval; /* Value to return */ in listdgrp() local 150 rtnval = listbuf; in listdgrp() 155 rtnval = NULL; in listdgrp() 164 else rtnval = NULL; in listdgrp() 168 return (rtnval); in listdgrp()
|
H A D | listdev.c | 136 char **rtnval; /* Value to return */ in listdev() local 200 rtnval = list; in listdev() 204 rtnval = NULL; in listdev() 206 } else rtnval = NULL; in listdev() 207 } else rtnval = NULL; in listdev() 212 return (rtnval); in listdev()
|
H A D | devattr.c | 107 char *rtnval; /* Value to return */ in devattr() local 166 if (rtnval = malloc(strlen(val)+1)) in devattr() 167 (void) strcpy(rtnval, val); in devattr() 170 rtnval = NULL; in devattr() 180 return (rtnval); in devattr()
|
H A D | devtab.c | 540 char *rtnval; /* Ptr to value to return */ in _devtabpath() local 550 if (rtnval = malloc(strlen(path)+1)) in _devtabpath() 551 (void) strcpy(rtnval, path); in _devtabpath() 558 if (rtnval = malloc(strlen(DTAB_PATH)+1)) in _devtabpath() 559 (void) strcpy(rtnval, DTAB_PATH); in _devtabpath() 566 return (rtnval); in _devtabpath() 591 int rtnval; /* Value to return */ in _opendevtab() local 594 rtnval = TRUE; in _opendevtab() 599 else rtnval = FALSE; /* :-( */ in _opendevtab() 600 } else rtnval = FALSE; /* :-( */ in _opendevtab() [all …]
|
H A D | getdev.c | 298 char *rtnval; /* Value to return */ in oktoaddtolist() local 316 rtnval = (options & DTAB_EXCLUDEFLAG) ? in oktoaddtolist() 319 rtnval = (options & DTAB_EXCLUDEFLAG) ? in oktoaddtolist() 322 } else rtnval = devtabentry; /* No constraint list */ in oktoaddtolist() 324 return (rtnval); in oktoaddtolist()
|
H A D | devreserv.c | 218 int rtnval; /* Value to return */ in _closelkfile() local 221 if (lkfilefd != -1) rtnval = close(lkfilefd); in _closelkfile() 222 else rtnval = 0; in _closelkfile() 228 return (rtnval); in _closelkfile()
|
/titanic_44/usr/src/cmd/fmtmsg/ |
H A D | main.c | 366 struct sevstr *rtnval; /* Value to return */ local 386 rtnval = (struct sevstr *) NULL; 422 if (rtnval = (struct sevstr *) malloc(sizeof(struct sevstr))) { 425 rtnval->sevkywd = noesc(kywd); 426 rtnval->sevvalue = val; 427 rtnval->sevprstr = noesc(prstr); 428 rtnval->sevnext = (struct sevstr *) NULL; 459 return(rtnval);
|
/titanic_44/usr/src/cmd/users/ |
H A D | users.c | 299 char *rtnval; in allocblk() local 309 rtnval = nextblkaddr; in allocblk() 313 if ((rtnval = malloc(ALLOCBLKSZ)) == NULL) { in allocblk() 317 laststraddr = rtnval + ALLOCBLKSZ; in allocblk() 318 nextblkaddr = rtnval + size; in allocblk() 322 return ((void *)rtnval); in allocblk()
|
/titanic_44/usr/src/cmd/fs.d/cachefs/mdbug/ |
H A D | dbug.c | 1313 register char *rtnval; in mystrtok() local 1315 rtnval = NULL; in mystrtok() 1319 rtnval = mystrtok((char *)NULL, s2); in mystrtok() 1322 rtnval = end; in mystrtok() 1333 return (rtnval); in mystrtok()
|
/titanic_44/usr/src/uts/intel/io/scsi/adapters/arcmsr/ |
H A D | arcmsr.c | 3922 uint8_t rtnval = 0; in arcmsr_get_echo_from_iop() local 3936 rtnval = 0xFF; in arcmsr_get_echo_from_iop() 3941 return (rtnval); in arcmsr_get_echo_from_iop() 3954 uint8_t rtnval = 0; in arcmsr_iop_reset() local 3963 rtnval = (acb->acb_flags & ACB_F_BUS_HANG_ON) ? in arcmsr_iop_reset() 3979 rtnval = arcmsr_get_echo_from_iop(acb); in arcmsr_iop_reset() 3981 return (rtnval); in arcmsr_iop_reset() 5137 uint8_t rtnval = 0; in arcmsr_abort_host_command() local 5141 rtnval = arcmsr_abort_hba_allcmd(acb); in arcmsr_abort_host_command() 5144 rtnval = arcmsr_abort_hbb_allcmd(acb); in arcmsr_abort_host_command() [all …]
|
/titanic_44/usr/src/cmd/picl/plugins/sun4u/snowbird/watchdog/ |
H A D | piclwatchdog.c | 1395 int rtnval; in wd_ioctl() local 1401 rtnval = ioctl(fd, I_STR, &sioc); in wd_ioctl() 1402 return (rtnval); in wd_ioctl()
|