Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 7 of 7) sorted by relevance

/mm/
Dfadvise.c195 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice) in ksys_fadvise64_64() argument
197 struct fd f = fdget(fd); in ksys_fadvise64_64()
209 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) in SYSCALL_DEFINE4() argument
211 return ksys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4()
216 SYSCALL_DEFINE4(fadvise64, int, fd, loff_t, offset, size_t, len, int, advice) in SYSCALL_DEFINE4() argument
218 return ksys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4()
Dsecretmem.c232 int fd, err; in SYSCALL_DEFINE1() local
245 fd = get_unused_fd_flags(flags & O_CLOEXEC); in SYSCALL_DEFINE1()
246 if (fd < 0) in SYSCALL_DEFINE1()
247 return fd; in SYSCALL_DEFINE1()
258 fd_install(fd, file); in SYSCALL_DEFINE1()
259 return fd; in SYSCALL_DEFINE1()
262 put_unused_fd(fd); in SYSCALL_DEFINE1()
Dmemfd.c272 int fd, error; in SYSCALL_DEFINE2() local
309 fd = get_unused_fd_flags((flags & MFD_CLOEXEC) ? O_CLOEXEC : 0); in SYSCALL_DEFINE2()
310 if (fd < 0) { in SYSCALL_DEFINE2()
311 error = fd; in SYSCALL_DEFINE2()
337 fd_install(fd, file); in SYSCALL_DEFINE2()
339 return fd; in SYSCALL_DEFINE2()
342 put_unused_fd(fd); in SYSCALL_DEFINE2()
Dreadahead.c623 ssize_t ksys_readahead(int fd, loff_t offset, size_t count) in ksys_readahead() argument
626 struct fd f; in ksys_readahead()
629 f = fdget(fd); in ksys_readahead()
650 SYSCALL_DEFINE3(readahead, int, fd, loff_t, offset, size_t, count) in SYSCALL_DEFINE3() argument
652 return ksys_readahead(fd, offset, count); in SYSCALL_DEFINE3()
Dnommu.c1291 unsigned long fd, unsigned long pgoff) in ksys_mmap_pgoff() argument
1296 audit_mmap_fd(fd, flags); in ksys_mmap_pgoff()
1298 file = fget(fd); in ksys_mmap_pgoff()
1313 unsigned long, fd, unsigned long, pgoff) in SYSCALL_DEFINE6() argument
1315 return ksys_mmap_pgoff(addr, len, prot, flags, fd, pgoff); in SYSCALL_DEFINE6()
1324 unsigned long fd; member
1337 return ksys_mmap_pgoff(a.addr, a.len, a.prot, a.flags, a.fd, in SYSCALL_DEFINE1()
Dmmap.c1597 unsigned long fd, unsigned long pgoff) in ksys_mmap_pgoff() argument
1603 audit_mmap_fd(fd, flags); in ksys_mmap_pgoff()
1604 file = fget(fd); in ksys_mmap_pgoff()
1645 unsigned long, fd, unsigned long, pgoff) in SYSCALL_DEFINE6() argument
1647 return ksys_mmap_pgoff(addr, len, prot, flags, fd, pgoff); in SYSCALL_DEFINE6()
1656 unsigned long fd; member
1669 return ksys_mmap_pgoff(a.addr, a.len, a.prot, a.flags, a.fd, in SYSCALL_DEFINE1()
Dmemcontrol.c4814 struct fd efile; in memcg_write_event_control()
4815 struct fd cfile; in memcg_write_event_control()