1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys/opencrypto
John Baldwin e46502943a Make ftruncate a 'struct file' operation rather than a vnode operation.
This makes it possible to support ftruncate() on non-vnode file types in
the future.
- 'struct fileops' grows a 'fo_truncate' method to handle an ftruncate() on
  a given file descriptor.
- ftruncate() moves to kern/sys_generic.c and now just fetches a file
  object and invokes fo_truncate().
- The vnode-specific portions of ftruncate() move to vn_truncate() in
  vfs_vnops.c which implements fo_truncate() for vnode file types.
- Non-vnode file types return EINVAL in their fo_truncate() method.

Submitted by:	rwatson
2008-01-07 20:05:19 +00:00
..
cast.c Quiet warnings. These do not appear to be actually used uninitialized, 2007-07-05 06:59:14 +00:00
cast.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
castsb.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
criov.c - Replace COPYDATA() and COPYBACK() macros with crypto_copydata() and 2006-06-04 22:15:13 +00:00
crypto.c Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
cryptodev_if.m add missing file from last commit that overhauls crypto/driver api's 2007-03-21 03:43:33 +00:00
cryptodev.c Make ftruncate a 'struct file' operation rather than a vnode operation. 2008-01-07 20:05:19 +00:00
cryptodev.h Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00
cryptosoft.c Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00
cryptosoft.h Overhaul driver/subsystem api's: 2007-03-21 03:42:51 +00:00
deflate.c malloc.h relies on param.h for a definition of MAXCPU. I guess that there is 2005-05-30 05:01:44 +00:00
deflate.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
rmd160.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
rmd160.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
skipjack.c /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
skipjack.h /* -> /*- for license, minor formatting changes 2005-01-07 02:29:27 +00:00
xform.c Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00
xform.h Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00