Lines Matching refs:flags
91 if (current->flags & PF_RANDOMIZE) in mmap_upper_limit()
101 unsigned long flags, enum mmap_allocation_direction dir) in arch_get_unmapped_area_common() argument
113 if (filp || (flags & MAP_SHARED)) in arch_get_unmapped_area_common()
117 if (flags & MAP_FIXED) { in arch_get_unmapped_area_common()
122 if ((flags & MAP_SHARED) && filp && in arch_get_unmapped_area_common()
147 info.flags = VM_UNMAPPED_AREA_TOPDOWN; in arch_get_unmapped_area_common()
163 info.flags = 0; in arch_get_unmapped_area_common()
170 unsigned long len, unsigned long pgoff, unsigned long flags) in arch_get_unmapped_area() argument
173 addr, len, pgoff, flags, UP); in arch_get_unmapped_area()
178 unsigned long flags) in arch_get_unmapped_area_topdown() argument
181 addr, len, pgoff, flags, DOWN); in arch_get_unmapped_area_topdown()
185 unsigned long prot, unsigned long flags, unsigned long fd, in sys_mmap2() argument
190 return ksys_mmap_pgoff(addr, len, prot, flags, fd, in sys_mmap2()
195 unsigned long prot, unsigned long flags, unsigned long fd, in sys_mmap() argument
199 return ksys_mmap_pgoff(addr, len, prot, flags, fd, in sys_mmap()
278 unsigned int flags) in parisc_sync_file_range() argument
281 (loff_t)hi_nbytes << 32 | lo_nbytes, flags); in parisc_sync_file_range()
319 static int FIX_O_NONBLOCK(int flags) in FIX_O_NONBLOCK() argument
321 if ((flags & O_NONBLOCK_MASK_OUT) && in FIX_O_NONBLOCK()
328 return flags & ~O_NONBLOCK_MASK_OUT; in FIX_O_NONBLOCK()
331 asmlinkage long parisc_timerfd_create(int clockid, int flags) in parisc_timerfd_create() argument
333 flags = FIX_O_NONBLOCK(flags); in parisc_timerfd_create()
334 return sys_timerfd_create(clockid, flags); in parisc_timerfd_create()
338 size_t sizemask, int flags) in parisc_signalfd4() argument
340 flags = FIX_O_NONBLOCK(flags); in parisc_signalfd4()
341 return sys_signalfd4(ufd, user_mask, sizemask, flags); in parisc_signalfd4()
347 compat_size_t sizemask, int flags) in parisc_compat_signalfd4() argument
349 flags = FIX_O_NONBLOCK(flags); in parisc_compat_signalfd4()
350 return compat_sys_signalfd4(ufd, user_mask, sizemask, flags); in parisc_compat_signalfd4()
354 asmlinkage long parisc_eventfd2(unsigned int count, int flags) in parisc_eventfd2() argument
356 flags = FIX_O_NONBLOCK(flags); in parisc_eventfd2()
357 return sys_eventfd2(count, flags); in parisc_eventfd2()
360 asmlinkage long parisc_userfaultfd(int flags) in parisc_userfaultfd() argument
362 flags = FIX_O_NONBLOCK(flags); in parisc_userfaultfd()
363 return sys_userfaultfd(flags); in parisc_userfaultfd()
366 asmlinkage long parisc_pipe2(int __user *fildes, int flags) in parisc_pipe2() argument
368 flags = FIX_O_NONBLOCK(flags); in parisc_pipe2()
369 return sys_pipe2(fildes, flags); in parisc_pipe2()
372 asmlinkage long parisc_inotify_init1(int flags) in parisc_inotify_init1() argument
374 flags = FIX_O_NONBLOCK(flags); in parisc_inotify_init1()
375 return sys_inotify_init1(flags); in parisc_inotify_init1()