Searched refs:advice (Results 1 - 44 of 44) sorted by relevance

/linux-4.1.27/mm/
H A Dfadvise.c28 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) SYSCALL_DEFINE4()
56 switch (advice) { SYSCALL_DEFINE4()
63 /* no bad return value, but ignore advice */ SYSCALL_DEFINE4()
80 switch (advice) { SYSCALL_DEFINE4()
157 SYSCALL_DEFINE4(fadvise64, int, fd, loff_t, offset, size_t, len, int, advice) SYSCALL_DEFINE4()
159 return sys_fadvise64_64(fd, offset, len, advice); SYSCALL_DEFINE4()
H A Dmadvise.c243 /* no bad return value, but ignore advice */ madvise_willneed()
H A Dksm.c1739 unsigned long end, int advice, unsigned long *vm_flags) ksm_madvise()
1744 switch (advice) { ksm_madvise()
1752 return 0; /* just ignore the advice */ ksm_madvise()
1770 return 0; /* just ignore the advice */ ksm_madvise()
1738 ksm_madvise(struct vm_area_struct *vma, unsigned long start, unsigned long end, int advice, unsigned long *vm_flags) ksm_madvise() argument
H A Dhuge_memory.c1923 unsigned long *vm_flags, int advice) hugepage_madvise()
1925 switch (advice) { hugepage_madvise()
1922 hugepage_madvise(struct vm_area_struct *vma, unsigned long *vm_flags, int advice) hugepage_madvise() argument
/linux-4.1.27/arch/arm/kernel/
H A Dsys_arm.c35 asmlinkage long sys_arm_fadvise64_64(int fd, int advice, sys_arm_fadvise64_64() argument
38 return sys_fadvise64_64(fd, offset, len, advice); sys_arm_fadvise64_64()
/linux-4.1.27/arch/sh/kernel/
H A Dsys_sh32.c50 u32 len0, u32 len1, int advice) sys_fadvise64_64_wrapper()
54 (u64)len1 << 32 | len0, advice); sys_fadvise64_64_wrapper()
57 (u64)len0 << 32 | len1, advice); sys_fadvise64_64_wrapper()
49 sys_fadvise64_64_wrapper(int fd, u32 offset0, u32 offset1, u32 len0, u32 len1, int advice) sys_fadvise64_64_wrapper() argument
/linux-4.1.27/arch/sh/include/asm/
H A Dsyscalls_32.h20 u32 len0, u32 len1, int advice);
/linux-4.1.27/arch/c6x/include/asm/
H A Dsyscalls.h36 u32 len, int advice);
38 u32 len_lo, u32 len_hi, int advice);
/linux-4.1.27/arch/xtensa/kernel/
H A Dsyscall.c54 asmlinkage long xtensa_fadvise64_64(int fd, int advice, xtensa_fadvise64_64() argument
57 return sys_fadvise64_64(fd, offset, len, advice); xtensa_fadvise64_64()
/linux-4.1.27/arch/tile/include/asm/
H A Dsyscalls.h37 u32 len, int advice);
39 u32 len_lo, u32 len_hi, int advice);
/linux-4.1.27/arch/sparc/kernel/
H A Dsystbls.h85 compat_size_t len, int advice);
89 int advice);
H A Dsys_sparc32.c227 compat_size_t len, int advice) compat_sys_fadvise64()
229 return sys_fadvise64_64(fd, (offhi << 32) | offlo, len, advice); compat_sys_fadvise64()
235 int advice) compat_sys_fadvise64_64()
240 advice); compat_sys_fadvise64_64()
224 compat_sys_fadvise64(int fd, unsigned long offhi, unsigned long offlo, compat_size_t len, int advice) compat_sys_fadvise64() argument
232 compat_sys_fadvise64_64(int fd, unsigned long offhi, unsigned long offlo, unsigned long lenhi, unsigned long lenlo, int advice) compat_sys_fadvise64_64() argument
/linux-4.1.27/arch/powerpc/kernel/
H A Dsys_ppc32.c114 size_t len, int advice) ppc32_fadvise64()
117 advice); ppc32_fadvise64()
113 ppc32_fadvise64(int fd, u32 unused, u32 offset_high, u32 offset_low, size_t len, int advice) ppc32_fadvise64() argument
H A Dsyscalls.c118 long ppc_fadvise64_64(int fd, int advice, u32 offset_high, u32 offset_low, ppc_fadvise64_64() argument
122 (u64)len_high << 32 | len_low, advice); ppc_fadvise64_64()
/linux-4.1.27/include/linux/
H A Dksm.h21 unsigned long end, int advice, unsigned long *vm_flags);
80 unsigned long end, int advice, unsigned long *vm_flags) ksm_madvise()
79 ksm_madvise(struct vm_area_struct *vma, unsigned long start, unsigned long end, int advice, unsigned long *vm_flags) ksm_madvise() argument
H A Dhuge_mm.h124 unsigned long *vm_flags, int advice);
193 unsigned long *vm_flags, int advice) hugepage_madvise()
192 hugepage_madvise(struct vm_area_struct *vma, unsigned long *vm_flags, int advice) hugepage_madvise() argument
H A Dsyscalls.h460 asmlinkage long sys_fadvise64(int fd, loff_t offset, size_t len, int advice);
461 asmlinkage long sys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice);
H A Dsecurity.h18 * advice before doing this.
/linux-4.1.27/arch/x86/ia32/
H A Dsys_ia32.c196 __u32 len_low, __u32 len_high, int advice) sys32_fadvise64_64()
201 advice); sys32_fadvise64_64()
219 size_t len, int advice) sys32_fadvise64()
222 len, advice); sys32_fadvise64()
195 sys32_fadvise64_64(int fd, __u32 offset_low, __u32 offset_high, __u32 len_low, __u32 len_high, int advice) sys32_fadvise64_64() argument
218 sys32_fadvise64(int fd, unsigned offset_lo, unsigned offset_hi, size_t len, int advice) sys32_fadvise64() argument
/linux-4.1.27/arch/s390/kernel/
H A Dcompat_linux.c492 int advice; member in struct:fadvise64_64_args
501 if (a.advice == 4) COMPAT_SYSCALL_DEFINE1()
502 a.advice = POSIX_FADV_DONTNEED; COMPAT_SYSCALL_DEFINE1()
503 else if (a.advice == 5) COMPAT_SYSCALL_DEFINE1()
504 a.advice = POSIX_FADV_NOREUSE; COMPAT_SYSCALL_DEFINE1()
505 return sys_fadvise64_64(a.fd, a.offset, a.len, a.advice); COMPAT_SYSCALL_DEFINE1()
/linux-4.1.27/arch/tile/kernel/
H A Dsys.c68 u32 len_lo, u32 len_hi, int advice) sys32_fadvise64_64()
71 ((loff_t)len_hi << 32) | len_lo, advice); sys32_fadvise64_64()
67 sys32_fadvise64_64(int fd, u32 offset_lo, u32 offset_hi, u32 len_lo, u32 len_hi, int advice) sys32_fadvise64_64() argument
/linux-4.1.27/arch/metag/kernel/
H A Dsys_metag.c122 unsigned long len_hi, int advice) sys_fadvise64_64_metag()
125 merge_64(len_hi, len_lo), advice); sys_fadvise64_64_metag()
119 sys_fadvise64_64_metag(int fd, unsigned long offs_lo, unsigned long offs_hi, unsigned long len_lo, unsigned long len_hi, int advice) sys_fadvise64_64_metag() argument
/linux-4.1.27/arch/parisc/kernel/
H A Dsys_parisc.c350 unsigned int high_len, unsigned int low_len, int advice) parisc_fadvise64_64()
353 (loff_t)high_len << 32 | low_len, advice); parisc_fadvise64_64()
348 parisc_fadvise64_64(int fd, unsigned int high_off, unsigned int low_off, unsigned int high_len, unsigned int low_len, int advice) parisc_fadvise64_64() argument
/linux-4.1.27/drivers/net/ethernet/smsc/
H A Dsmc9194.h14 . ( this thanks to advice from Donald Becker ).
H A Dsmc9194.c29 . o ( a LOT of advice from Becker as well )
/linux-4.1.27/include/net/sctp/
H A Dtsnmap.h69 * ignore the advice in 12.2 in favour of the term
H A Dstructs.h1465 * ignore the advice in 12.2 in favour of the term
/linux-4.1.27/drivers/ide/
H A Dicside.c214 * mode being requested. We take the advice of the ATA standards, and
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192de/
H A Drf.c457 /* power down RF radio A according to YuNan's advice. */ rtl92d_phy_powerdown_anotherphy()
/linux-4.1.27/drivers/input/joystick/
H A Dgrip_mp.c6 * Thanks to Chris Gassib for helpful advice.
/linux-4.1.27/drivers/ata/
H A Dpata_icside.c164 * mode being requested. We take the advice of the ATA standards, and
/linux-4.1.27/drivers/hwmon/
H A Dgl518sm.c24 * and advice of Greg Kroah-Hartman.
/linux-4.1.27/arch/c6x/kernel/
H A Dentry.S689 ;; B8 - advice
/linux-4.1.27/drivers/isdn/hardware/eicon/
H A Dpc.h284 #define CHA 0x1a /* charge advice */
/linux-4.1.27/drivers/scsi/
H A DBusLogic.h20 advice has been invaluable, to David Gentzel, for writing the original Linux
H A DBusLogic.c21 advice has been invaluable, to David Gentzel, for writing the original Linux
/linux-4.1.27/include/uapi/drm/
H A Di915_drm.h935 /** Handle of the buffer to change the backing store advice */
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
H A Dcm.c1840 /* Returns whether a CPL status conveys negative advice.
2572 PDBG("%s Negative advice on abort- tid %u status %d (%s)\n", peer_abort()
3987 PDBG("%s Negative advice on abort- tid %u status %d (%s)\n", peer_abort_intr()
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
H A Diwch_cm.c1522 * Returns whether an ABORT_REQ_RSS message is a negative advice.
/linux-4.1.27/drivers/net/ethernet/dec/tulip/
H A Dde2104x.c1187 * Reset MAC. de4x5.c and tulip.c examined for "advice" de_reset_mac()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
H A Dosc_request.c1719 * follow sedgewicks advice and stick to the dead simple shellsort -- it'll do
/linux-4.1.27/drivers/media/usb/gspca/
H A Dsonixj.c2588 /* Thanks S., without your advice, autobright should not work :) */ do_autogain()
/linux-4.1.27/drivers/pci/
H A Dquirks.c812 * of course. However the advice is demonstrably good even if so..
/linux-4.1.27/net/sctp/
H A Dsm_statefuns.c3034 /* In our case, we split the MAY SACK advice up whether or not sctp_sf_eat_data_6_2()

Completed in 1342 milliseconds