Lines Matching defs:key
26 * 8. Create new attr whose key length is zero,
28 * 9. Create new attr whose key is NULL,
64 char *key;
74 .key = XATTR_TEST_KEY,
81 .key = XATTR_TEST_KEY,
87 { /* case 02, long key name */
88 .key = long_key,
95 .key = XATTR_TEST_KEY,
102 .key = XATTR_TEST_KEY,
109 .key = XATTR_TEST_KEY,
117 .key = XATTR_TEST_KEY,
124 { /* case 07, zero length key */
125 .key = "",
131 { /* case 08, NULL key */
143 SAFE_FSETXATTR(fd, tc[i].key, tc[i].value, tc[i].size,
147 TEST(fsetxattr(fd, tc[i].key, *tc[i].value, tc[i].size, tc[i].flags));
162 SAFE_FREMOVEXATTR(fd, tc[i].key);
182 /* key might have been added AND test might have failed, remove it */
184 SAFE_FREMOVEXATTR(fd, tc[i].key);
211 if (!tc[i].key)
212 tc[i].key = tst_get_bad_addr(cleanup);