Lines Matching refs:zap
60 #include <sys/zap.h>
2318 * Note that the low 4 bits of the cookie returned by zap is always zero.
2336 zap_attribute_t zap;
2454 (void) strcpy(zap.za_name, ".");
2455 zap.za_normalization_conflict = 0;
2459 (void) strcpy(zap.za_name, "..");
2460 zap.za_normalization_conflict = 0;
2464 (void) strcpy(zap.za_name, ZFS_CTLDIR_NAME);
2465 zap.za_normalization_conflict = 0;
2472 if (error = zap_cursor_retrieve(&zc, &zap)) {
2479 if (zap.za_integer_length != 8 ||
2480 zap.za_num_integers != 1) {
2489 objnum = ZFS_DIRENT_OBJ(zap.za_first_integer);
2492 * uint8_t type = ZFS_DIRENT_TYPE(zap.za_first_integer);
2494 type = ZFS_DIRENT_TYPE(zap.za_first_integer);
2496 if (check_sysattrs && !zap.za_normalization_conflict) {
2498 zap.za_normalization_conflict =
2499 xattr_sysattr_casechk(zap.za_name);
2522 reclen = EDIRENT_RECLEN(strlen(zap.za_name));
2524 reclen = DIRENT64_RECLEN(strlen(zap.za_name));
2547 eodp->ed_eflags = zap.za_normalization_conflict ?
2549 (void) strncpy(eodp->ed_name, zap.za_name,
2558 odp->d_namlen = strlen(zap.za_name);
2561 (void) strlcpy(odp->d_name, zap.za_name, odp->d_namlen + 1);