Home
last modified time | relevance | path

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

/xnu-10063.141.1/bsd/kern/
H A Dkern_descrip.c3664 struct log2phys l2p_struct = {}; /* structure for allocate command */ in sys_fcntl_nocancel() local
3672 error = copyin(argp, (caddr_t)&l2p_struct, sizeof(l2p_struct)); in sys_fcntl_nocancel()
3676 file_offset = l2p_struct.l2p_devoffset; in sys_fcntl_nocancel()
3701 if (l2p_struct.l2p_contigbytes < 0) { in sys_fcntl_nocancel()
3707 a_size = (size_t)MIN((uint64_t)l2p_struct.l2p_contigbytes, SIZE_MAX); in sys_fcntl_nocancel()
3717 l2p_struct.l2p_flags = 0; /* for now */ in sys_fcntl_nocancel()
3719 l2p_struct.l2p_contigbytes = run - (file_offset - offset); in sys_fcntl_nocancel()
3721 l2p_struct.l2p_contigbytes = 0; /* for now */ in sys_fcntl_nocancel()
3730 l2p_struct.l2p_devoffset = bn; in sys_fcntl_nocancel()
3732 l2p_struct.l2p_devoffset = bn * devBlockSize; in sys_fcntl_nocancel()
[all …]