Lines Matching refs:lk
201 zut_lookup_t lk = {0};
219 lk.zl_reqflags |= ZUT_IGNORECASE;
223 lk.zl_reqflags |= ZUT_GETSTAT;
366 (void) strlcpy(lk.zl_dir, argv[optind], MAXPATHLEN);
367 (void) strlcpy(lk.zl_file, argv[optind + 1], MAXNAMELEN);
369 (void) strlcpy(lk.zl_xfile,
371 lk.zl_reqflags |= ZUT_XATTR;
374 if ((ierr = ioctl(fd, ZUT_IOC_LOOKUP, &lk)) != 0) {
383 if (lk.zl_reqflags & ZUT_XATTR) {
385 lk.zl_xfile);
387 (void) printf("file \"%s\" ", lk.zl_file);
388 (void) printf("in directory \"%s\" ", lk.zl_dir);
389 if (lk.zl_retcode) {
391 strerror(lk.zl_retcode), lk.zl_retcode);
393 return (lk.zl_retcode);
397 if (lk.zl_reqflags & ZUT_IGNORECASE) {
399 (void) printf("dirent flags: 0x%0x\n", lk.zl_deflags);
400 (void) printf("real name: %s\n", lk.zl_real);
402 if (lk.zl_reqflags & ZUT_GETSTAT) {
404 print_stats(&lk.zl_statbuf);
405 print_xvs(lk.zl_xvattrs);