Searched refs:foffset (Results 1 – 1 of 1) sorted by relevance
/fs/ |
D | binfmt_elf.c | 1268 #define DUMP_WRITE(addr, nr, foffset) \ argument 1269 do { if (!dump_write(file, (addr), (nr))) return 0; *foffset += (nr); } while(0) 1271 static int alignfile(struct file *file, loff_t *foffset) in alignfile() argument 1274 DUMP_WRITE(buf, roundup(*foffset, 4) - *foffset, foffset); in alignfile() 1279 loff_t *foffset) in writenote() argument 1286 DUMP_WRITE(&en, sizeof(en), foffset); in writenote() 1287 DUMP_WRITE(men->name, en.n_namesz, foffset); in writenote() 1288 if (!alignfile(file, foffset)) in writenote() 1290 DUMP_WRITE(men->data, men->datasz, foffset); in writenote() 1291 if (!alignfile(file, foffset)) in writenote() [all …]
|