Lines Matching defs:zap
59 #include <sys/zap.h>
2288 * Note that the low 4 bits of the cookie returned by zap is always zero.
2306 zap_attribute_t zap;
2424 (void) strcpy(zap.za_name, ".");
2425 zap.za_normalization_conflict = 0;
2429 (void) strcpy(zap.za_name, "..");
2430 zap.za_normalization_conflict = 0;
2434 (void) strcpy(zap.za_name, ZFS_CTLDIR_NAME);
2435 zap.za_normalization_conflict = 0;
2442 if (error = zap_cursor_retrieve(&zc, &zap)) {
2449 if (zap.za_integer_length != 8 ||
2450 zap.za_num_integers != 1) {
2459 objnum = ZFS_DIRENT_OBJ(zap.za_first_integer);
2462 * uint8_t type = ZFS_DIRENT_TYPE(zap.za_first_integer);
2464 type = ZFS_DIRENT_TYPE(zap.za_first_integer);
2466 if (check_sysattrs && !zap.za_normalization_conflict) {
2468 zap.za_normalization_conflict =
2469 xattr_sysattr_casechk(zap.za_name);
2492 reclen = EDIRENT_RECLEN(strlen(zap.za_name));
2494 reclen = DIRENT64_RECLEN(strlen(zap.za_name));
2517 eodp->ed_eflags = zap.za_normalization_conflict ?
2519 (void) strncpy(eodp->ed_name, zap.za_name,
2528 odp->d_namlen = strlen(zap.za_name);
2529 (void) strlcpy(odp->d_name, zap.za_name, odp->d_namlen + 1);