summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_syscalls.c
AgeCommit message (Expand)Author
2024-09-18remove unneeded semicolons after switch statementsJonathan Gray
2024-06-26return type on a dedicated line when declaring functionsJonathan Gray
2024-05-01remove unneeded includesJonathan Gray
2024-04-30Constify NFS data whenever possible. Also make a few more const data static.Miod Vallat
2024-04-19nfs: Permit null requests (aka server pings) from non-reserved portsAlexandre Ratchov
2024-03-31Mark `so_rcv' sockbuf of udp(4) sockets as SB_OWNLOCK.Vitaliy Makkoveev
2024-03-22Limit NFS connections to originate from a reserved port.Claudio Jeker
2024-02-05Use `sb_mtx' mutex(9) to protect `sb_timeo_nsecs'. In most placesVitaliy Makkoveev
2024-01-12nfssvc: When the client disconnects, close the socket before sleeping.Alexandre Ratchov
2023-08-03Move solock() down to sosetopt(). A part of standalone sblock() work.Vitaliy Makkoveev
2022-06-06Simplify solock() and sounlock(). There is no reason to return a valueClaudio Jeker
2021-03-11spellingJonathan Gray
2020-01-15Keep socket timeout intervals in nsecs and use them with tsleep_nsec(9).Martin Pieuchot
2019-12-05Convert infinite sleeps to tsleep_nsec(9).Martin Pieuchot
2018-06-06Pass the socket to sounlock(), this prepare the terrain for per-socketMartin Pieuchot
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-01-31Use FREF() instead of rolling our own.Martin Pieuchot
2017-09-01Change sosetopt() to no longer free the mbuf it receives and changeMartin Pieuchot
2017-08-09Move the socket lock "above" sosetopt(), sogetopt() and sosplice().Martin Pieuchot
2017-06-27Add missing solock()/sounlock() dances around sbreserve().Martin Pieuchot
2017-05-17Remove useless splsoftnet().Martin Pieuchot
2017-02-22Keep local definitions local.Martin Pieuchot
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-08-30pool_setipl for nfs poolsDavid Gwynne
2015-09-04The nfsrv_descript_pl pool never gets used in interrupt context.Mark Kettenis
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
2015-07-08MFREE(9) is dead, long live m_freem(9)!Martin Pieuchot
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-05-06Pass a thread pointer instead of its file descriptor table to getsock(9).Martin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-11-15add sizes for free(ptr, sizeof(*ptr)). use sizeof(*ptr) for malloc sizes.Ted Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2013-11-03Fix bogus kthread_create() usage leading to wrong struct proc * pointerMiod Vallat
2013-06-25When we remove work from the nfs queue, wake up people waiting forBob Beck
2012-12-10Ensure NFS will only consume up to 1/4 of the available bufferBob Beck
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inPhilip Guenthe
2010-12-05Make sure we only initialize the nfsrv_descript_pl pool once.Mark Kettenis
2010-08-07No "\n" needed at the end of panic() strings.Kenneth R Westerback
2010-07-31another pair of files which relied on mbuf.h for pool.h; should be the last,Bret Lambert
2010-04-12Don't jump the queue if we have to wait on the client side becauseBob Beck
2009-10-19antsyJonathan Gray
2009-09-02Backout the asyncio/aiod change, as it causes buf's to get hung.Thordur I. Bjornsson
2009-08-20Rework the way we do async I/O in nfs. Introduce separate buf queues forThordur I. Bjornsson
2009-08-10Remove the v2 writegather code. It did help alot back in the 80sThordur I. Bjornsson
2009-07-20(struct foo *)0 -> NULL, every where I could find it.Thordur I. Bjornsson
2009-07-20For memory that gets allocated for every NFS request, pools make moreBret Lambert
2009-06-25backout the buf_acquire() does the bremfree() since all callersThordur I. Bjornsson
2009-06-06All caller of buf_acquire were doing bremfree before the call.Artur Grabowski
2009-06-04simplify argument list for nfssvc_nfsd()Bret Lambert
2009-06-03Place code to search for/sleep waiting for an nfs socket into its ownBret Lambert