Lines Matching defs:tokbuf

1760 get_hwc_spec(struct _buf *file, char *tokbuf, size_t linesize)
1802 if (strcmp(tokbuf, "PARENT") == 0 ||
1803 strcmp(tokbuf, "parent") == 0) {
1805 } else if (strcmp(tokbuf, "NAME") == 0 ||
1806 strcmp(tokbuf, "name") == 0) {
1808 } else if (strcmp(tokbuf, "CLASS") == 0 ||
1809 strcmp(tokbuf, "class") == 0) {
1811 prop_name = kmem_alloc(strlen(tokbuf) +
1813 (void) strcpy(prop_name, tokbuf);
1816 prop_name = kmem_alloc(strlen(tokbuf) +
1818 (void) strcpy(prop_name, tokbuf);
1822 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
1840 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
1851 devi->devi_name = kmem_alloc(strlen(tokbuf) + 1,
1853 (void) strcpy(devi->devi_name, tokbuf);
1863 (tokbuf) + 1, KM_SLEEP);
1864 (void) strcpy(hwcp->hwc_parent_name, tokbuf);
1873 strlen(tokbuf) + 1, KM_SLEEP);
1874 (void) strcpy(hwcp->hwc_class_name, tokbuf);
1879 tokbuf);
1883 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
1891 (void) kobj_getvalue(tokbuf, &ival);
1897 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
1909 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
1925 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
1928 } while ((token = kobj_lex(file, tokbuf, linesize)) != SEMICOLON);
2150 char tokbuf[MAXPATHLEN];
2164 token = kobj_lex(file, tokbuf, sizeof (tokbuf));
2176 (void) strcpy(drvbuf, tokbuf);
2180 (void) strcat(drvbuf, tokbuf);
2184 (void) strcat(drvbuf, tokbuf);
2193 (void) strcpy(drvbuf, tokbuf);
2206 (void) strcpy(drvbuf, tokbuf);
2211 (void) strcat(drvbuf, tokbuf);
2220 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
2242 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
2268 char tokbuf[MAXNAMELEN];
2289 token = kobj_lex(file, tokbuf, sizeof (tokbuf));
2307 name = kmem_alloc(strlen(tokbuf) + 1, KM_SLEEP);
2308 (void) strcpy(name, tokbuf);
2318 bind_name = kmem_alloc(strlen(tokbuf) + 1,
2320 (void) strcpy(bind_name, tokbuf);
2334 (void) kobj_getvalue(tokbuf, &val);
2423 char tokbuf[MAXNAMELEN];
2470 token = kobj_lex(file, tokbuf, sizeof (tokbuf));
2500 nt_spec_type = dacf_get_devspec(tokbuf);
2503 w_baddevspec, tokbuf);
2510 (void) strncpy(mn_modname_buf, tokbuf,
2530 if ((opid = dacf_get_op(tokbuf)) ==
2533 tokbuf);
2540 (void) strncpy(mn_opset_buf, tokbuf,
2546 if ((opid = dacf_get_op(tokbuf)) ==
2549 tokbuf);
2560 if (strcmp(tokbuf, "-") == 0) {
2570 if (dacf_getopt(tokbuf, &opts) != 0) {
2572 tokbuf);
2579 (void) strncpy(arg_spec_buf, tokbuf,
2588 tokbuf) != 0) {
2595 kobj_file_err(CE_WARN, file, w_syntax, tokbuf);
2608 if (strchr(tokbuf, '\n')) {
2614 if (strlen(tokbuf) == 0) {
2622 (void) strncpy(nt_datap, tokbuf,
2630 tokbuf) != 0) {
2637 kobj_file_err(CE_WARN, file, w_syntax, tokbuf);
2706 kobj_file_err(CE_WARN, file, w_syntax, tokbuf);
2809 char tokbuf[MAXNAMELEN];
2834 token = kobj_lex(file, tokbuf, sizeof (tokbuf));
2845 name = kmem_alloc(strlen(tokbuf) + 1, KM_SLEEP);
2846 (void) strcpy(name, tokbuf);
2882 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
2958 char tokbuf[MAXNAMELEN];
2965 while ((token = kobj_lex(file, tokbuf, sizeof (tokbuf))) != EOF) {
2976 strlen(tokbuf) + 1), KM_SLEEP);
2979 (void) strcpy(machp->m_machname, tokbuf);
2986 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
3038 char tokbuf[MAXNAMELEN];
3050 token = kobj_lex(file, tokbuf, sizeof (tokbuf));
3062 if (strcmp(tokbuf, "zone_lag") == 0)
3067 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
3073 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
3077 if (kobj_getvalue(tokbuf, &tmp) != 0)
3080 tokbuf);
3085 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
3098 kobj_file_err(CE_WARN, file, tok_err, tokbuf);