Home | History | Annotate | Download | only in liblegacy

Lines Matching defs:sfile

40 	struct opd_24_sfile * sfile;
51 sfile = list_entry(pos, struct opd_24_sfile, lru_next);
52 odb_close(&sfile->sample_file);
53 list_del_init(&sfile->lru_next);
60 void opd_24_sfile_lru(struct opd_24_sfile * sfile)
62 list_del(&sfile->lru_next);
63 list_add_tail(&sfile->lru_next, &lru_list);
106 struct opd_24_sfile * sfile;
115 sfile = image->sfiles[cpu_nr][counter];
116 if (!sfile) {
117 sfile = malloc(sizeof(struct opd_24_sfile));
118 list_init(&sfile->lru_next);
119 odb_init(&sfile->sample_file);
120 image->sfiles[cpu_nr][counter] = sfile;
123 list_del(&sfile->lru_next);
124 list_add_tail(&sfile->lru_next, &lru_list);
127 err = odb_open(&sfile->sample_file, mangled, ODB_RDWR,
145 fill_header(odb_get_data(&sfile->sample_file), counter, 0, 0,
157 struct opd_24_sfile * sfile;
160 sfile = list_entry(pos, struct opd_24_sfile, lru_next);
161 odb_sync(&sfile->sample_file);