Home
last modified time | relevance | path

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

/xnu-12377.81.4/bsd/kern/
H A Dkern_descrip.c3719 struct log2phys l2p_struct = {}; /* structure for allocate command */ in sys_fcntl_nocancel() local
3727 error = copyin(argp, (caddr_t)&l2p_struct, sizeof(l2p_struct)); in sys_fcntl_nocancel()
3731 file_offset = l2p_struct.l2p_devoffset; in sys_fcntl_nocancel()
3756 if (l2p_struct.l2p_contigbytes < 0) { in sys_fcntl_nocancel()
3762 a_size = (size_t)MIN((uint64_t)l2p_struct.l2p_contigbytes, SIZE_MAX); in sys_fcntl_nocancel()
3772 l2p_struct.l2p_flags = 0; /* for now */ in sys_fcntl_nocancel()
3774 l2p_struct.l2p_contigbytes = run - (file_offset - offset); in sys_fcntl_nocancel()
3776 l2p_struct.l2p_contigbytes = 0; /* for now */ in sys_fcntl_nocancel()
3785 l2p_struct.l2p_devoffset = bn; in sys_fcntl_nocancel()
3787 l2p_struct.l2p_devoffset = bn * devBlockSize; in sys_fcntl_nocancel()
[all …]