/mm/ |
D | fadvise.c | 191 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice) in ksys_fadvise64_64() argument 193 struct fd f = fdget(fd); in ksys_fadvise64_64() 205 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) in SYSCALL_DEFINE4() argument 207 return ksys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4() 212 SYSCALL_DEFINE4(fadvise64, int, fd, loff_t, offset, size_t, len, int, advice) in SYSCALL_DEFINE4() argument 214 return ksys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4() 221 COMPAT_SYSCALL_DEFINE6(fadvise64_64, int, fd, compat_arg_u64_dual(offset), in COMPAT_SYSCALL_DEFINE6() argument 224 return ksys_fadvise64_64(fd, compat_arg_u64_glue(offset), in COMPAT_SYSCALL_DEFINE6()
|
D | secretmem.c | 236 int fd, err; in SYSCALL_DEFINE1() local 249 fd = get_unused_fd_flags(flags & O_CLOEXEC); in SYSCALL_DEFINE1() 250 if (fd < 0) in SYSCALL_DEFINE1() 251 return fd; in SYSCALL_DEFINE1() 262 fd_install(fd, file); in SYSCALL_DEFINE1() 263 return fd; in SYSCALL_DEFINE1() 266 put_unused_fd(fd); in SYSCALL_DEFINE1()
|
D | memfd.c | 300 int fd, error; in SYSCALL_DEFINE2() local 351 fd = get_unused_fd_flags((flags & MFD_CLOEXEC) ? O_CLOEXEC : 0); in SYSCALL_DEFINE2() 352 if (fd < 0) { in SYSCALL_DEFINE2() 353 error = fd; in SYSCALL_DEFINE2() 387 fd_install(fd, file); in SYSCALL_DEFINE2() 389 return fd; in SYSCALL_DEFINE2() 392 put_unused_fd(fd); in SYSCALL_DEFINE2()
|
D | readahead.c | 737 ssize_t ksys_readahead(int fd, loff_t offset, size_t count) in ksys_readahead() argument 740 struct fd f; in ksys_readahead() 743 f = fdget(fd); in ksys_readahead() 764 SYSCALL_DEFINE3(readahead, int, fd, loff_t, offset, size_t, count) in SYSCALL_DEFINE3() argument 766 return ksys_readahead(fd, offset, count); in SYSCALL_DEFINE3() 770 COMPAT_SYSCALL_DEFINE4(readahead, int, fd, compat_arg_u64_dual(offset), size_t, count) in COMPAT_SYSCALL_DEFINE4() argument 772 return ksys_readahead(fd, compat_arg_u64_glue(offset), count); in COMPAT_SYSCALL_DEFINE4()
|
D | nommu.c | 1254 unsigned long fd, unsigned long pgoff) in ksys_mmap_pgoff() argument 1259 audit_mmap_fd(fd, flags); in ksys_mmap_pgoff() 1261 file = fget(fd); in ksys_mmap_pgoff() 1276 unsigned long, fd, unsigned long, pgoff) in SYSCALL_DEFINE6() argument 1278 return ksys_mmap_pgoff(addr, len, prot, flags, fd, pgoff); in SYSCALL_DEFINE6() 1287 unsigned long fd; member 1300 return ksys_mmap_pgoff(a.addr, a.len, a.prot, a.flags, a.fd, in SYSCALL_DEFINE1()
|
D | mmap.c | 1419 unsigned long fd, unsigned long pgoff) in ksys_mmap_pgoff() argument 1425 audit_mmap_fd(fd, flags); in ksys_mmap_pgoff() 1426 file = fget(fd); in ksys_mmap_pgoff() 1464 unsigned long, fd, unsigned long, pgoff) in SYSCALL_DEFINE6() argument 1466 return ksys_mmap_pgoff(addr, len, prot, flags, fd, pgoff); in SYSCALL_DEFINE6() 1475 unsigned long fd; member 1488 return ksys_mmap_pgoff(a.addr, a.len, a.prot, a.flags, a.fd, in SYSCALL_DEFINE1()
|
D | filemap.c | 4324 SYSCALL_DEFINE4(cachestat, unsigned int, fd, in SYSCALL_DEFINE4() argument 4328 struct fd f = fdget(fd); in SYSCALL_DEFINE4()
|
D | memcontrol.c | 4970 struct fd efile; in memcg_write_event_control() 4971 struct fd cfile; in memcg_write_event_control()
|