Lines Matching refs:dafp
996 _write_device_allocate(char *odevalloc, FILE *dafp, strentry_t *head_devallocp) in _write_device_allocate() argument
1002 (void) fseek(dafp, (off_t)0, SEEK_SET); in _write_device_allocate()
1013 (void) fputs(DA_OFF_STR, dafp); in _write_device_allocate()
1015 (void) fputs(DA_ON_STR, dafp); in _write_device_allocate()
1019 (void) fputs(tmp_str->se_str, dafp); in _write_device_allocate()
1020 (void) fputs("\n", dafp); in _write_device_allocate()
1238 da_open_devdb(char *rootdir, FILE **dafp, FILE **dmfp, int flag) in da_open_devdb() argument
1249 if ((dafp == NULL) && (dmfp == NULL)) in da_open_devdb()
1263 if ((dafp == NULL) || (flag & DA_MAPS_ONLY)) in da_open_devdb()
1293 *dafp = devfile; in da_open_devdb()
1343 _record_on_off(da_args *dargs, FILE *tafp, FILE *dafp) in _record_on_off() argument
1362 dafd = fileno(dafp); in _record_on_off()
1367 ptr = fgets(line, MAX_CANON, dafp); in _record_on_off()
1402 while (fgets(line, MAX_CANON, dafp) != NULL) { in _record_on_off()
1508 FILE *tafp = NULL, *tmfp = NULL, *dafp = NULL; in da_update_device() local
1576 lockfd = da_open_devdb(dargs->rootdir, &dafp, NULL, in da_update_device()
1585 (void) fclose(dafp); in da_update_device()
1592 (void) fclose(dafp); in da_update_device()
1602 if (_record_on_off(dargs, tafp, dafp) == -1) { in da_update_device()
1605 (void) fclose(dafp); in da_update_device()
1609 (void) fclose(dafp); in da_update_device()