Lines Matching refs:buffer
210 * The value pointed to by ulen on entry is the buffer length available.
211 * This is overwritten with the buffer space used. -EINVAL is returned
212 * if an overlong buffer is specified or a negative buffer size. -EFAULT
213 * is returned if either the buffer or the length field are not
305 static char *sockfs_dname(struct dentry *dentry, char *buffer, int buflen)
307 return dynamic_dname(dentry, buffer, buflen, "socket:[%lu]",
511 static ssize_t sockfs_listxattr(struct dentry *dentry, char *buffer,
517 len = security_inode_listsecurity(d_inode(dentry), buffer, size);
521 if (buffer) {
524 buffer += len;
529 if (buffer) {
532 memcpy(buffer, XATTR_NAME_SOCKPROTONAME, len);
533 buffer += len;