Home
last modified time | relevance | path

Searched refs:tok1 (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/common/os/
H A Dmodsysfile.c508 char tok1[MOD_MAXPATH + 1]; /* used to read the path set by 'moddir' */ in do_sysfile_cmd() local
529 if ((token = kobj_lex(file, tok1, sizeof (tok1))) == COLON) { in do_sysfile_cmd()
530 token = kobj_lex(file, tok1, sizeof (tok1)); in do_sysfile_cmd()
539 cp = tok1 + strlen(tok1); in do_sysfile_cmd()
542 if (cp - tok1 >= sizeof (tok1) - 1) { in do_sysfile_cmd()
554 sysp->sys_ptr = vmem_alloc(mod_sysfile_arena, strlen(tok1) + 1, in do_sysfile_cmd()
556 (void) strcpy(sysp->sys_ptr, tok1); in do_sysfile_cmd()
565 if (kobj_lex(file, tok1, sizeof (tok1)) != NAME) { in do_sysfile_cmd()
582 strlen(tok1) + 1, VM_SLEEP); in do_sysfile_cmd()
583 (void) strcpy(sysp->sys_modnam, tok1); in do_sysfile_cmd()
[all …]
/titanic_50/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_sec.c222 char *tok1, *tok2; /* holds a token from the line */ in matchname() local
234 tok1 = tok2 = NULL; in matchname()
235 if (((tok1 = gettoken(NULL, FALSE)) == NULL) || in matchname()
243 secp->sc_nfsnum = atoi(tok1); in matchname()
268 char *tok1, *tok2; /* holds a token from the line */ in matchnum() local
276 tok1 = tok2 = NULL; in matchnum()
277 if ((tok1 = gettoken(NULL, FALSE)) == NULL) { in matchnum()
282 if ((secp->sc_nfsnum = atoi(tok1)) != num) { in matchnum()
/titanic_50/usr/src/lib/libnsl/netselect/
H A Dnetselect.c328 char *tok1, *tok2, *tok3; /* holds a token from the line */ in fgetnetconfig() local
360 tok1 = tok2 = tok3 = NULL; in fgetnetconfig()
362 if (((tok1 = gettoken(NULL, FALSE)) == NULL) || in fgetnetconfig()
364 getvalue(tok1, nc_semantics)) == FAILURE) || in fgetnetconfig()
377 free(tok1); in fgetnetconfig()