Lines Matching refs:buffer
265 * The value pointed to by ulen on entry is the buffer length available.
266 * This is overwritten with the buffer space used. -EINVAL is returned
267 * if an overlong buffer is specified or a negative buffer size. -EFAULT
268 * is returned if either the buffer or the length field are not
360 static char *sockfs_dname(struct dentry *dentry, char *buffer, int buflen)
362 return dynamic_dname(buffer, buflen, "socket:[%lu]",
571 static ssize_t sockfs_listxattr(struct dentry *dentry, char *buffer,
577 len = security_inode_listsecurity(d_inode(dentry), buffer, size);
581 if (buffer) {
584 buffer += len;
589 if (buffer) {
592 memcpy(buffer, XATTR_NAME_SOCKPROTONAME, len);
593 buffer += len;
1017 /* We must use a bounce buffer for CONFIG_HARDENED_USERCOPY=y */