Lines Matching refs:filename

821                                            const char *filename,  in libxl__load_hvm_firmware_module()  argument
829 LOG(DEBUG, "Loading %s: %s", what, filename); in libxl__load_hvm_firmware_module()
830 r = libxl_read_file_contents(CTX, filename, &data, &datalen); in libxl__load_hvm_firmware_module()
847 LOG(ERROR, "file %s for %s is empty", filename, what); in libxl__load_hvm_firmware_module()
1291 const char *filename; in libxl__userdata_store() local
1296 filename = libxl__userdata_path(gc, domid, userdata_userid, "d"); in libxl__userdata_store()
1297 if (!filename) { in libxl__userdata_store()
1303 rc = userdata_delete(gc, filename); in libxl__userdata_store()
1328 if (rename(newfilename, filename)) in libxl__userdata_store()
1341 LOGE(ERROR, "cannot write/rename %s for %s", newfilename, filename); in libxl__userdata_store()
1376 const char *filename; in libxl__userdata_retrieve() local
1381 filename = libxl__userdata_path(gc, domid, userdata_userid, "d"); in libxl__userdata_retrieve()
1382 if (!filename) { in libxl__userdata_retrieve()
1387 e = libxl_read_file_contents(CTX, filename, data_r ? &data : 0, &datalen); in libxl__userdata_retrieve()
1393 LOG(ERROR, "userdata file %s is empty", filename); in libxl__userdata_retrieve()
1441 const char *filename; in libxl_userdata_unlink() local
1449 filename = libxl__userdata_path(gc, domid, userdata_userid, "d"); in libxl_userdata_unlink()
1450 if (!filename) { in libxl_userdata_unlink()
1454 if (unlink(filename)) { in libxl_userdata_unlink()
1455 LOGE(ERROR, "error deleting userdata file: %s", filename); in libxl_userdata_unlink()