freebsd-dev/sys/netsmb
Matt Macy cbd92ce62e Eliminate the overhead of gratuitous repeated reinitialization of cap_rights
- Add macros to allow preinitialization of cap_rights_t.

- Convert most commonly used code paths to use preinitialized cap_rights_t.
  A 3.6% speedup in fstat was measured with this change.

Reported by:	mjg
Reviewed by:	oshogbo
Approved by:	sbruno
MFC after:	1 month
2018-05-09 18:47:24 +00:00
..
netbios.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_conn.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_conn.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_crypt.c Unsign some values related to allocation. 2018-01-22 02:08:10 +00:00
smb_dev.c Eliminate the overhead of gratuitous repeated reinitialization of cap_rights 2018-05-09 18:47:24 +00:00
smb_dev.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_iod.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_rq.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_rq.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_smb.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_subr.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_subr.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_tran.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_trantcp.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_trantcp.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb_usr.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
smb.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00