Searched refs:lglen (Results 1 – 2 of 2) sorted by relevance
/netbsd-src/external/gpl2/mkhybrid/dist/libhfs_iso/ |
H A D | file.c | 59 void f_getptrs(hfsfile *file, unsigned long **lglen, in f_getptrs() argument 64 if (lglen) in f_getptrs() 65 *lglen = &file->cat.u.fil.filLgLen; in f_getptrs() 73 if (lglen) in f_getptrs() 74 *lglen = &file->cat.u.fil.filRLgLen; in f_getptrs() 290 unsigned long *lglen, *pylen, alblksz, newpylen; in f_trunc() local 295 f_getptrs(file, &lglen, &pylen, &extrec); in f_trunc() 298 newpylen = (*lglen / alblksz + (*lglen % alblksz != 0)) * alblksz; in f_trunc()
|
H A D | hfs.c | 1264 unsigned long *lglen, count; in hfs_read() local 1267 f_getptrs(file, &lglen, 0, 0); in hfs_read() 1269 if (file->pos + len > *lglen) in hfs_read() 1270 len = *lglen - file->pos; in hfs_read() 1304 unsigned long *lglen, *pylen, count; in hfs_write() local 1313 f_getptrs(file, &lglen, &pylen, 0); in hfs_write() 1362 if (file->pos > *lglen) in hfs_write() 1363 *lglen = file->pos; in hfs_write() 1375 unsigned long *lglen; in hfs_truncate() local 1377 f_getptrs(file, &lglen, 0, 0); in hfs_truncate() [all …]
|