Home
last modified time | relevance | path

Searched refs:donor_name (Results 1 – 1 of 1) sorted by relevance

/external/fio/engines/
De4defrag.c41 char * donor_name; member
48 .off1 = offsetof(struct e4defrag_options, donor_name),
74 char donor_name[PATH_MAX]; in fio_e4defrag_init() local
76 if (!strlen(o->donor_name)) { in fio_e4defrag_init()
89 len = sprintf(donor_name, "%s/", td->o.directory); in fio_e4defrag_init()
90 sprintf(donor_name + len, "%s", o->donor_name); in fio_e4defrag_init()
92 ed->donor_fd = open(donor_name, O_CREAT|O_WRONLY, 0644); in fio_e4defrag_init()
95 log_err("Can't open donor file %s err:%d", donor_name, ed->donor_fd); in fio_e4defrag_init()