Lines Matching refs:name
45 * Shared xattr name/value buffers for logged extended attribute operations
49 * memory allocator and memcpy overhead, the name (and value, for setxattr)
52 * a control structure, followed by the name, and then the value.
76 const void *name,
90 nv->name.i_addr = nv + 1;
91 nv->name.i_len = name_len;
92 nv->name.i_type = XLOG_REG_TYPE_ATTR_NAME;
93 memcpy(nv->name.i_addr, name, name_len);
96 nv->value.i_addr = nv->name.i_addr + name_len;
148 xlog_calc_iovec_len(nv->name.i_len);
159 * item. We use 1 iovec for the attri_format_item, 1 for the name, and
181 ASSERT(nv->name.i_len > 0);
190 xlog_copy_from_iovec(lv, &vecp, &nv->name);
222 * trailing buffer for name and value
234 * Grab an extra reference to the name/value buffer for this log item.
376 attrp->alfi_name_len = attr->xattri_nameval->name.i_len;
408 * Create a buffer to store the attribute name and value. This buffer
414 * Transfer our reference to the name/value buffer to the
417 attr->xattri_nameval = xfs_attri_log_nameval_alloc(args->name,
564 !xfs_attr_namecheck(nv->name.i_addr, nv->name.i_len))
581 * recovered log item. Grab a reference to the name/value buffer and
590 args->name = nv->name.i_addr;
591 args->namelen = nv->name.i_len;
592 args->hashval = xfs_da_hashname(args->name, args->namelen);
682 * Create a new log item that shares the same name/value buffer as the
732 /* Validate the attr name */
760 * name/value buffer to the recovered incore log item and drop our