Lines Matching defs:tfp

1752 	FILE *tfp;
1766 tfp = validmod(module_name, &openerr);
1767 if (tfp == NULL) {
1795 res = readtype(tfp, module_name, SHORT_NAME(nme), &type,
2065 (void) fclose(tfp);
2083 (void) fclose(tfp);
3170 FILE *tfp;
3186 tfp = validmod(module, &openerr);
3187 if (tfp == NULL) {
3221 ret = readtype(tfp, module, param, &type, &enum_nvs, dfltst,
3460 (void) fclose(tfp);
5049 FILE *tfp,
5073 res = readtype(tfp, module, map_name, &type, &enum_nvs,
5395 * read the set of permanent classes/filter from the types file ref'd by tfp
5404 FILE *tfp,
5424 if (fseek(tfp, 0, SEEK_SET) != 0) {
5439 while (fgets(lbuf, IPQOS_CONF_TYPE_LINE_LEN, tfp) != NULL) {
5500 * Searches types file ref'd by tfp for the parameter named name
5516 FILE *tfp,
5571 if (read_tfile_ver(tfp, IPQOS_MOD_STR, module_name) == -1)
5579 while (fgets(lbuf, IPQOS_CONF_TYPE_LINE_LEN, tfp) != NULL) {
5692 * for the place, or be present in the module types file ref'd by tfp.
5701 FILE *tfp,
5771 } else if (tfp == NULL ||
5783 if (readtype(tfp, module_name, name, type, &enum_nvs, dfltst,
6036 res = read_mapped_values(tfp, nvlp, module_name,
6142 FILE *tfp,
6172 res = readnvpair(cfp, tfp, &params->nvlist,
7303 FILE *tfp,
7358 res = readnvpair(cfp, tfp, &(*filter)->nvlist,
7785 FILE *tfp = NULL;
7890 if ((tfp = validmod(strval, &oe)) == NULL) {
7937 res = read_perm_items(0, tfp, (*action)->module,
7945 res = read_perm_items(1, tfp, (*action)->module,
7954 if ((tf_fmt_ver = read_tfile_ver(tfp, IPQOS_FMT_STR,
7968 if (((*action)->module_version = read_tfile_ver(tfp, IPQOS_MOD_STR,
8001 res = readfilter(cfp, tfp, (*action)->module, &filter,
8087 res = readparams(cfp, tfp, (*action)->module,
8104 (void) fclose(tfp);
8108 if (tfp)
8109 (void) fclose(tfp);
8543 FILE *tfp;
8570 if ((tfp = validmod(modnames[x], &openerr)) == NULL) {
8591 (void) fclose(tfp);
8757 FILE *tfp;
8768 tfp = validmod(module, &openerr);
8769 if (tfp == NULL) {
8811 ret = readtype(tfp, module, param, &type, &tmp, dfltst,
8833 (void) fclose(tfp);
8836 (void) fclose(tfp);