Lines Matching defs:tokbuf

1757 get_hwc_spec(struct _buf *file, char *tokbuf, size_t linesize)
1799 if (strcmp(tokbuf, "PARENT") == 0 ||
1800 strcmp(tokbuf, "parent") == 0) {
1802 } else if (strcmp(tokbuf, "NAME") == 0 ||
1803 strcmp(tokbuf, "name") == 0) {
1805 } else if (strcmp(tokbuf, "CLASS") == 0 ||
1806 strcmp(tokbuf, "class") == 0) {
1808 prop_name = kmem_alloc(strlen(tokbuf) +
1810 (void) strcpy(prop_name, tokbuf);
1813 prop_name = kmem_alloc(strlen(tokbuf) +
1815 (void) strcpy(prop_name, tokbuf);
1819 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
1837 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
1848 devi->devi_name = kmem_alloc(strlen(tokbuf) + 1,
1850 (void) strcpy(devi->devi_name, tokbuf);
1860 (tokbuf) + 1, KM_SLEEP);
1861 (void) strcpy(hwcp->hwc_parent_name, tokbuf);
1870 strlen(tokbuf) + 1, KM_SLEEP);
1871 (void) strcpy(hwcp->hwc_class_name, tokbuf);
1876 tokbuf);
1880 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
1888 (void) kobj_getvalue(tokbuf, &ival);
1894 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
1906 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
1922 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
1925 } while ((token = kobj_lex(file, tokbuf, linesize)) != SEMICOLON);
2147 char tokbuf[MAXPATHLEN];
2161 token = kobj_lex(file, tokbuf, sizeof (tokbuf));
2173 (void) strcpy(drvbuf, tokbuf);
2177 (void) strcat(drvbuf, tokbuf);
2181 (void) strcat(drvbuf, tokbuf);
2190 (void) strcpy(drvbuf, tokbuf);
2203 (void) strcpy(drvbuf, tokbuf);
2208 (void) strcat(drvbuf, tokbuf);
2217 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
2239 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
2265 char tokbuf[MAXNAMELEN];
2286 token = kobj_lex(file, tokbuf, sizeof (tokbuf));
2304 name = kmem_alloc(strlen(tokbuf) + 1, KM_SLEEP);
2305 (void) strcpy(name, tokbuf);
2315 bind_name = kmem_alloc(strlen(tokbuf) + 1,
2317 (void) strcpy(bind_name, tokbuf);
2331 (void) kobj_getvalue(tokbuf, &val);
2420 char tokbuf[MAXNAMELEN];
2467 token = kobj_lex(file, tokbuf, sizeof (tokbuf));
2497 nt_spec_type = dacf_get_devspec(tokbuf);
2500 w_baddevspec, tokbuf);
2507 (void) strncpy(mn_modname_buf, tokbuf,
2527 if ((opid = dacf_get_op(tokbuf)) ==
2530 tokbuf);
2537 (void) strncpy(mn_opset_buf, tokbuf,
2543 if ((opid = dacf_get_op(tokbuf)) ==
2546 tokbuf);
2557 if (strcmp(tokbuf, "-") == 0) {
2567 if (dacf_getopt(tokbuf, &opts) != 0) {
2569 tokbuf);
2576 (void) strncpy(arg_spec_buf, tokbuf,
2585 tokbuf) != 0) {
2592 kobj_file_err(CE_WARN, file, w_syntax, tokbuf);
2605 if (strchr(tokbuf, '\n')) {
2611 if (strlen(tokbuf) == 0) {
2619 (void) strncpy(nt_datap, tokbuf,
2627 tokbuf) != 0) {
2634 kobj_file_err(CE_WARN, file, w_syntax, tokbuf);
2703 kobj_file_err(CE_WARN, file, w_syntax, tokbuf);
2806 char tokbuf[MAXNAMELEN];
2831 token = kobj_lex(file, tokbuf, sizeof (tokbuf));
2842 name = kmem_alloc(strlen(tokbuf) + 1, KM_SLEEP);
2843 (void) strcpy(name, tokbuf);
2879 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
2955 char tokbuf[MAXNAMELEN];
2962 while ((token = kobj_lex(file, tokbuf, sizeof (tokbuf))) != EOF) {
2973 strlen(tokbuf) + 1), KM_SLEEP);
2976 (void) strcpy(machp->m_machname, tokbuf);
2983 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
3035 char tokbuf[MAXNAMELEN];
3047 token = kobj_lex(file, tokbuf, sizeof (tokbuf));
3059 if (strcmp(tokbuf, "zone_lag") == 0)
3064 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
3070 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
3074 if (kobj_getvalue(tokbuf, &tmp) != 0)
3077 tokbuf);
3082 kobj_file_err(CE_WARN, file, tok_err, tokbuf);
3095 kobj_file_err(CE_WARN, file, tok_err, tokbuf);