Lines Matching refs:ncpfile
198 char *ncpfile; in nwam_ncp_create() local
205 if ((err = nwam_ncp_name_to_file(name, &ncpfile)) in nwam_ncp_create()
212 if ((err = nwam_commit(ncpfile, *ncphp, flags)) != NWAM_SUCCESS) { in nwam_ncp_create()
217 free(ncpfile); in nwam_ncp_create()
705 char *ncpfile; in nwam_ncp_walk_ncus() local
714 if ((err = nwam_ncp_name_to_file(ncph->nwh_name, &ncpfile)) in nwam_ncp_walk_ncus()
718 err = nwam_walk(NWAM_OBJECT_TYPE_NCU, ncpfile, cb, data, flags, in nwam_ncp_walk_ncus()
720 free(ncpfile); in nwam_ncp_walk_ncus()
888 char *ncpfile, *typedname; in nwam_ncu_read() local
894 if ((err = nwam_ncp_name_to_file(ncph->nwh_name, &ncpfile)) in nwam_ncu_read()
900 free(ncpfile); in nwam_ncu_read()
934 free(ncpfile); in nwam_ncu_read()
937 err = nwam_read(NWAM_OBJECT_TYPE_NCU, ncpfile, typedname, flags, ncuhp); in nwam_ncu_read()
940 free(ncpfile); in nwam_ncu_read()
1166 char *ncpfile, *ncpname; in nwam_ncu_commit() local
1180 if ((err = nwam_ncp_name_to_file(ncpname, &ncpfile)) != NWAM_SUCCESS) { in nwam_ncu_commit()
1185 err = nwam_commit(ncpfile, ncuh, flags); in nwam_ncu_commit()
1188 free(ncpfile); in nwam_ncu_commit()
1410 char *ncpname, *ncpfile; in nwam_ncu_destroy() local
1424 if ((err = nwam_ncp_name_to_file(ncpname, &ncpfile)) in nwam_ncu_destroy()
1430 err = nwam_destroy(ncpfile, ncuh, flags); in nwam_ncu_destroy()
1433 free(ncpfile); in nwam_ncu_destroy()