1 #include "defs.h" 2 3 #ifdef HAVE_LINUX_FALLOC_H 4 # include <linux/falloc.h> 5 #endif 6 7 #include "xlat/falloc_flags.h" 8 SYS_FUNC(fallocate)9SYS_FUNC(fallocate) 10 { 11 int argn; 12 13 /* fd */ 14 printfd(tcp, tcp->u_arg[0]); 15 tprints(", "); 16 17 /* mode */ 18 printflags(falloc_flags, tcp->u_arg[1], "FALLOC_FL_???"); 19 tprints(", "); 20 21 /* offset */ 22 argn = printllval(tcp, "%lld, ", 2); 23 24 /* len */ 25 printllval(tcp, "%lld", argn); 26 27 return RVAL_DECODED; 28 } 29