Lines Matching defs:buffer
294 char *buffer;
300 buffer = kzalloc(SMK_LONGLABEL, GFP_NOFS);
301 if (buffer == NULL)
304 rc = __vfs_getxattr(dp, ip, name, buffer, SMK_LONGLABEL);
310 skp = smk_import_entry(buffer, rc);
312 kfree(buffer);
1537 * @buffer: where to put the result
1544 void **buffer, bool alloc)
1591 *buffer = kstrdup(label, GFP_KERNEL);
1592 if (*buffer == NULL)
1603 * @buffer: where they go
1604 * @buffer_size: size of buffer
1606 static int smack_inode_listsecurity(struct inode *inode, char *buffer,
1611 if (buffer != NULL && len <= buffer_size)
1612 memcpy(buffer, XATTR_NAME_SMACK, len);
4501 * May also return 0 (and a NULL buffer pointer) if there is no label.