Searched refs:alloc_struct (Results 1 – 1 of 1) sorted by relevance
3208 fstore_t alloc_struct; /* structure for allocate command */ in sys_fcntl_nocancel() local3225 error = copyin(argp, (caddr_t)&alloc_struct, sizeof(alloc_struct)); in sys_fcntl_nocancel()3231 alloc_struct.fst_bytesalloc = 0; in sys_fcntl_nocancel()3241 if (alloc_struct.fst_flags & F_ALLOCATECONTIG) { in sys_fcntl_nocancel()3245 if (alloc_struct.fst_flags & F_ALLOCATEALL) { in sys_fcntl_nocancel()3254 switch (alloc_struct.fst_posmode) { in sys_fcntl_nocancel()3256 if (alloc_struct.fst_offset != 0) { in sys_fcntl_nocancel()3265 if (alloc_struct.fst_offset <= 0) { in sys_fcntl_nocancel()3282 error = VNOP_ALLOCATE(vp, alloc_struct.fst_length, alloc_flags, in sys_fcntl_nocancel()3283 &alloc_struct.fst_bytesalloc, alloc_struct.fst_offset, in sys_fcntl_nocancel()[all …]