Searched refs:F_LOG2PHYS_EXT (Results 1 - 5 of 5) sorted by relevance

/macosx-10.10/xnu-2782.1.97/libsyscall/wrappers/cancelable/
H A Dfcntl-base.c50 case F_LOG2PHYS_EXT:
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dfcntl.h293 #define F_LOG2PHYS_EXT 65 /* file offset to device offset, extended */ macro
582 * F_LOG2PHYS_EXT is a variant of F_LOG2PHYS that uses a passed in
584 * F_LOG2PHYS_EXT operates on the same structure as F_LOG2PHYS, but
592 /* F_LOG2PHYS_EXT: IN: number of bytes to be queried */
595 /* F_LOG2PHYS_EXT: IN: bytes into file */
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_descrip.c1356 case F_LOG2PHYS_EXT: {
1364 if (uap->cmd == F_LOG2PHYS_EXT) {
1392 if (uap->cmd == F_LOG2PHYS_EXT) {
1403 printf ("fcntl: F_LOG2PHYS_EXT: l2p_contigbytes=%lld will overflow, returning error\n", l2p_struct.l2p_contigbytes);
1420 if (uap->cmd == F_LOG2PHYS_EXT) {
/macosx-10.10/BootCache-109/
H A Dcontrol.c1550 .l2p_devoffset = position, //As an IN parameter to F_LOG2PHYS_EXT, this is the offset into the file
1551 .l2p_contigbytes = remaining, //As an IN parameter to F_LOG2PHYS_EXT, this is the number of bytes to be queried
1554 int ret = fcntl(fd, F_LOG2PHYS_EXT, &l2p);
1556 errx(1, "fcntl(%d (%s), F_LOG2PHYS_EXT, &{.offset: %lld, .bytes: %lld}) => %d (errno: %d %s)",
1561 // l2p.l2p_devoffset; as an OUT parameter from F_LOG2PHYS_EXT, this is the offset in bytes on the disk
1562 // l2p.l2p_contigbytes; as an OUT parameter from F_LOG2PHYS_EXT, this is the number of bytes in the range
H A Dlibrary.c901 .l2p_devoffset = ra_off, //As an IN parameter to F_LOG2PHYS_EXT, this is the offset into the file
902 .l2p_contigbytes = remaining, //As an IN parameter to F_LOG2PHYS_EXT, this is the number of bytes to be queried
905 int ret = fcntl(fd, F_LOG2PHYS_EXT, &block_range);
907 //RLOG(NOTICE, "fcntl(%d, F_LOG2PHYS_EXT, &{.offset: %"PRIdoff", .bytes: %"PRIdoff"}) => %d (errno: %d %s)", fd, block_range.l2p_devoffset, block_range.l2p_contigbytes, ret, errno, strerror(errno));
911 // block_range.l2p_devoffset; as an OUT parameter from F_LOG2PHYS_EXT, this is the offset in bytes on the disk
912 // block_range.l2p_contigbytes; as an OUT parameter from F_LOG2PHYS_EXT, this is the number of bytes in the range

Completed in 140 milliseconds