Lines Matching defs:buffer
2393 * @buffer: security label buffer
2397 * label associated with @name for @inode via @buffer. Note that @name is the
2399 * @alloc is used to specify if the call should return a value via the buffer
2402 * Return: Returns size of buffer on success.
2406 void **buffer, bool alloc)
2417 rc = hp->hook.inode_getsecurity(idmap, inode, name, buffer,
2463 * @buffer: buffer
2464 * @buffer_size: size of buffer
2467 * @inode into @buffer. The maximum size of @buffer is specified by
2468 * @buffer_size. @buffer may be NULL to request the size of the buffer
2474 char *buffer, size_t buffer_size)
2478 return call_int_hook(inode_listsecurity, 0, inode, buffer, buffer_size);
3130 * Load data provided by a non-file source (usually userspace buffer). This
3952 * security_release_secctx() - Free a secctx buffer
4387 * @optval: destination buffer
4388 * @optlen: size of peer label copied into the buffer
4389 * @len: maximum size of the destination buffer
5095 * @buffer: security label buffer
5101 * Return: Returns the length of @buffer (including terminating NUL) or -ve if
5102 * an error occurs. May also return 0 (and a NULL buffer pointer) if
5105 int security_key_getsecurity(struct key *key, char **buffer)
5107 *buffer = NULL;
5108 return call_int_hook(key_getsecurity, 0, key, buffer);
5118 * @lsmrule: receive buffer for audit rule struct