Home
last modified time | relevance | path

Searched refs:currp (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/libdiskmgt/common/
H A Dinuse_mnt.c204 struct mntpnt_list *currp; in load_mnttab() local
235 currp = (struct mntpnt_list *)calloc((size_t)1, in load_mnttab()
238 if (currp == NULL) { in load_mnttab()
248 headp = currp; in load_mnttab()
250 prevp->next = currp; in load_mnttab()
253 currp->next = NULL; in load_mnttab()
255 currp->special = strdup(entry.mnt_special); in load_mnttab()
256 if (currp->special == NULL) { in load_mnttab()
265 currp->mountp = strdup(entry.mnt_mountp); in load_mnttab()
266 if (currp->mountp == NULL) { in load_mnttab()
[all …]
H A Dfindevs.c96 controller_t *currp);
131 controller_t *currp, struct search_args *args);
862 remove_controller(controller_t *cp, controller_t *currp) in remove_controller() argument
866 if (cp == currp) { in remove_controller()
1879 remove_invalid_controller(char *name, controller_t *currp, in remove_invalid_controller() argument
1918 remove_controller(cp, currp); in remove_invalid_controller()
1932 remove_controller(cp, currp); in remove_invalid_controller()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_import.c266 char *stringp, *currp; in i_getln_to_argv() local
278 stringp = currp = linebuf; in i_getln_to_argv()
281 if (fgets(currp, STR_ADJ_SZ(LINESZ, linebuf, currp), fp) == NULL) in i_getln_to_argv()
285 if (*currp == '#') in i_getln_to_argv()
288 for (; stringp != NULL && currp != NULL; i++) { in i_getln_to_argv()
289 currp = strsep(&stringp, delim); in i_getln_to_argv()
293 if (*currp == '\0') { in i_getln_to_argv()
301 if (*currp == '\\' && stringp == NULL) { in i_getln_to_argv()
302 stringp = currp; in i_getln_to_argv()
318 a->arglist[i] = currp; in i_getln_to_argv()
/titanic_41/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c554 char *currp; in inittab_encode_e() local
756 type = strtoul(value, &currp, 0); in inittab_encode_e()
757 if (errno != 0 || value == currp || type > 65535 || in inittab_encode_e()
758 (*currp != ',' && *currp != '\0')) { in inittab_encode_e()
770 if ((hwtype = get_hw_type(&currp, ierrnop)) == -2) { in inittab_encode_e()
774 if (*currp++ != ',') { in inittab_encode_e()
779 if (*currp == ',' || *currp == '\0') { in inittab_encode_e()
782 tstamp = strtoul(currp, &cp2, 0); in inittab_encode_e()
783 if (errno != 0 || currp == cp2) { in inittab_encode_e()
788 currp = cp2; in inittab_encode_e()
[all …]
/titanic_41/usr/src/cmd/man/
H A Dman.c420 struct man_node *currp = NULL; in build_manpath() local
451 if ((currp = (struct man_node *)calloc(1, s)) == NULL) in build_manpath()
454 currp->frompath = (flags & BMP_ISPATH); in build_manpath()
457 lastp = manpage = currp; in build_manpath()
459 getpath(currp, p); in build_manpath()
460 getsect(currp, p); in build_manpath()
466 if (dupcheck(currp, &didup) != 0) { in build_manpath()
467 freev(currp->secv); in build_manpath()
468 free(currp); in build_manpath()
470 currp->next = NULL; in build_manpath()
[all …]
/titanic_41/usr/src/uts/sun4v/io/
H A Dds_common.c536 char *currp; in ds_handle_recv() local
570 currp = hbuf; in ds_handle_recv()
573 if ((rv = ds_recv_msg(port, currp, &read_size)) != 0) { in ds_handle_recv()
605 currp = (char *)(msg) + DS_HDR_SZ; in ds_handle_recv()
608 if ((rv = ds_recv_msg(port, currp, &read_size)) != 0) { in ds_handle_recv()
686 caddr_t currp = msg; in ds_send_msg() local
706 rv = ldc_write(port->ldc.hdl, currp, &msglen); in ds_send_msg()
728 currp += msglen; in ds_send_msg()