Lines Matching refs:ncpfile
186 char *ncpfile; in nwam_ncp_create() local
193 if ((err = nwam_ncp_name_to_file(name, &ncpfile)) in nwam_ncp_create()
200 if ((err = nwam_commit(ncpfile, *ncphp, flags)) != NWAM_SUCCESS) { in nwam_ncp_create()
205 free(ncpfile); in nwam_ncp_create()
693 char *ncpfile; in nwam_ncp_walk_ncus() local
702 if ((err = nwam_ncp_name_to_file(ncph->nwh_name, &ncpfile)) in nwam_ncp_walk_ncus()
706 err = nwam_walk(NWAM_OBJECT_TYPE_NCU, ncpfile, cb, data, flags, in nwam_ncp_walk_ncus()
708 free(ncpfile); in nwam_ncp_walk_ncus()
876 char *ncpfile, *typedname; in nwam_ncu_read() local
882 if ((err = nwam_ncp_name_to_file(ncph->nwh_name, &ncpfile)) in nwam_ncu_read()
888 free(ncpfile); in nwam_ncu_read()
922 free(ncpfile); in nwam_ncu_read()
925 err = nwam_read(NWAM_OBJECT_TYPE_NCU, ncpfile, typedname, flags, ncuhp); in nwam_ncu_read()
928 free(ncpfile); in nwam_ncu_read()
1154 char *ncpfile, *ncpname; in nwam_ncu_commit() local
1168 if ((err = nwam_ncp_name_to_file(ncpname, &ncpfile)) != NWAM_SUCCESS) { in nwam_ncu_commit()
1173 err = nwam_commit(ncpfile, ncuh, flags); in nwam_ncu_commit()
1176 free(ncpfile); in nwam_ncu_commit()
1398 char *ncpname, *ncpfile; in nwam_ncu_destroy() local
1412 if ((err = nwam_ncp_name_to_file(ncpname, &ncpfile)) in nwam_ncu_destroy()
1418 err = nwam_destroy(ncpfile, ncuh, flags); in nwam_ncu_destroy()
1421 free(ncpfile); in nwam_ncu_destroy()