ntkey
#define NTKEY_SIZE(attrlen) (sizeof(struct ntkey) + (attrlen))
struct ntkey *f_key;
struct ntkey f_smallkey;
struct ntkey small_key, *ntkey;
ntkey = &small_key;
ntkey = kmem_alloc(key_len, KM_SLEEP);
memcpy(ntkey, key, key_len);
(unsigned long long)ntkey->k_ino,
ntkey->k_attrtype, ntkey->k_attrname));
error = ntfs_ntlookup(ntmp, ntkey->k_ino, &ip);
(ntkey->k_attrtype == NTFS_A_DATA &&
strcmp(ntkey->k_attrname, "") == 0)) {
ntkey->k_attrtype, ntkey->k_attrname, 0, &vap);
} else if (ntkey->k_attrtype == NTFS_A_DATA &&
strcmp(ntkey->k_attrname, "") == 0 &&
__func__, ntkey->k_attrtype, ip->i_number, error);
strcpy(fp->f_attrname, ntkey->k_attrname);
fp->f_attrtype = ntkey->k_attrtype;
if (ntkey != &small_key)
kmem_free(ntkey, key_len);
struct ntkey small_key, *ntkey;
ntkey = &small_key;
ntkey = malloc(NTKEY_SIZE(attrlen), M_TEMP, M_WAITOK);
ntkey->k_ino = ino;
ntkey->k_attrtype = attrtype;
strcpy(ntkey->k_attrname, attrname);
error = vcache_get(mp, ntkey, NTKEY_SIZE(attrlen), vpp);
if (ntkey != &small_key)
free(ntkey, M_TEMP);