Lines Matching refs:alloc_struct
3224 fstore_t alloc_struct; /* structure for allocate command */ in sys_fcntl_nocancel() local
3241 error = copyin(argp, (caddr_t)&alloc_struct, sizeof(alloc_struct)); in sys_fcntl_nocancel()
3247 alloc_struct.fst_bytesalloc = 0; in sys_fcntl_nocancel()
3257 if (alloc_struct.fst_flags & F_ALLOCATECONTIG) { in sys_fcntl_nocancel()
3261 if (alloc_struct.fst_flags & F_ALLOCATEALL) { in sys_fcntl_nocancel()
3265 if (alloc_struct.fst_flags & F_ALLOCATEPERSIST) { in sys_fcntl_nocancel()
3274 switch (alloc_struct.fst_posmode) { in sys_fcntl_nocancel()
3276 if (alloc_struct.fst_offset != 0) { in sys_fcntl_nocancel()
3285 if (alloc_struct.fst_offset <= 0) { in sys_fcntl_nocancel()
3302 error = VNOP_ALLOCATE(vp, alloc_struct.fst_length, alloc_flags, in sys_fcntl_nocancel()
3303 &alloc_struct.fst_bytesalloc, alloc_struct.fst_offset, in sys_fcntl_nocancel()
3307 error2 = copyout((caddr_t)&alloc_struct, argp, sizeof(alloc_struct)); in sys_fcntl_nocancel()