• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/hfs/

Lines Matching defs:attrbufptr

108 	void *attrbufptr = NULL;
166 MALLOC(attrbufptr, void *, maxattrblocksize, M_TEMP, M_WAITOK);
167 attrptr = attrbufptr;
168 varptr = (char *)attrbufptr + fixedblocksize; /* Point to variable-length storage */
288 currattrbufsize = ((char *)varptr - (char *)attrbufptr);
301 *((u_int32_t *)attrbufptr) = currattrbufsize;
302 error = uiomove((caddr_t)attrbufptr, currattrbufsize, uio);
306 attrptr = attrbufptr;
308 varptr = (char *)attrbufptr + fixedblocksize;
386 if (attrbufptr)
387 FREE(attrbufptr, M_TEMP);
522 void *attrbufptr = *abp->ab_attrbufpp;
535 attrbufptr = *abp->ab_attrbufpp;
539 *((dev_t *)attrbufptr) = hfsmp->hfs_raw_dev;
540 attrbufptr = ((dev_t *)attrbufptr) + 1;
547 *((fsid_t *)attrbufptr) = fsid;
548 attrbufptr = ((fsid_t *)attrbufptr) + 1;
551 *((fsobj_type_t *)attrbufptr) = IFTOVT(cap->ca_mode);
552 attrbufptr = ((fsobj_type_t *)attrbufptr) + 1;
555 *((fsobj_tag_t *)attrbufptr) = VT_HFS;
556 attrbufptr = ((fsobj_tag_t *)attrbufptr) + 1;
571 ((fsobj_id_t *)attrbufptr)->fid_objno = cdp->cd_cnid;
572 ((fsobj_id_t *)attrbufptr)->fid_generation = 0;
573 attrbufptr = ((fsobj_id_t *)attrbufptr) + 1;
576 ((fsobj_id_t *)attrbufptr)->fid_objno = cdp->cd_cnid;
577 ((fsobj_id_t *)attrbufptr)->fid_generation = 0;
578 attrbufptr = ((fsobj_id_t *)attrbufptr) + 1;
581 ((fsobj_id_t *)attrbufptr)->fid_objno = cdp->cd_parentcnid;
582 ((fsobj_id_t *)attrbufptr)->fid_generation = 0;
583 attrbufptr = ((fsobj_id_t *)attrbufptr) + 1;
586 *((text_encoding_t *)attrbufptr) = cdp->cd_encoding;
587 attrbufptr = ((text_encoding_t *)attrbufptr) + 1;
591 ((struct user_timespec *)attrbufptr)->tv_sec = cap->ca_itime;
592 ((struct user_timespec *)attrbufptr)->tv_nsec = 0;
593 attrbufptr = ((struct user_timespec *)attrbufptr) + 1;
596 ((struct timespec *)attrbufptr)->tv_sec = cap->ca_itime;
597 ((struct timespec *)attrbufptr)->tv_nsec = 0;
598 attrbufptr = ((struct timespec *)attrbufptr) + 1;
603 ((struct user_timespec *)attrbufptr)->tv_sec = cap->ca_mtime;
604 ((struct user_timespec *)attrbufptr)->tv_nsec = 0;
605 attrbufptr = ((struct user_timespec *)attrbufptr) + 1;
608 ((struct timespec *)attrbufptr)->tv_sec = cap->ca_mtime;
609 ((struct timespec *)attrbufptr)->tv_nsec = 0;
610 attrbufptr = ((struct timespec *)attrbufptr) + 1;
615 ((struct user_timespec *)attrbufptr)->tv_sec = cap->ca_ctime;
616 ((struct user_timespec *)attrbufptr)->tv_nsec = 0;
617 attrbufptr = ((struct user_timespec *)attrbufptr) + 1;
620 ((struct timespec *)attrbufptr)->tv_sec = cap->ca_ctime;
621 ((struct timespec *)attrbufptr)->tv_nsec = 0;
622 attrbufptr = ((struct timespec *)attrbufptr) + 1;
627 ((struct user_timespec *)attrbufptr)->tv_sec = cap->ca_atime;
628 ((struct user_timespec *)attrbufptr)->tv_nsec = 0;
629 attrbufptr = ((struct user_timespec *)attrbufptr) + 1;
632 ((struct timespec *)attrbufptr)->tv_sec = cap->ca_atime;
633 ((struct timespec *)attrbufptr)->tv_nsec = 0;
634 attrbufptr = ((struct timespec *)attrbufptr) + 1;
639 ((struct user_timespec *)attrbufptr)->tv_sec = cap->ca_btime;
640 ((struct user_timespec *)attrbufptr)->tv_nsec = 0;
641 attrbufptr = ((struct user_timespec *)attrbufptr) + 1;
644 ((struct timespec *)attrbufptr)->tv_sec = cap->ca_btime;
645 ((struct timespec *)attrbufptr)->tv_nsec = 0;
646 attrbufptr = ((struct timespec *)attrbufptr) + 1;
650 bcopy(&cap->ca_finderinfo, attrbufptr, sizeof(u_int8_t) * 32);
655 fip = (struct FndrFileInfo *)attrbufptr;
659 attrbufptr = (char *)attrbufptr + sizeof(u_int8_t) * 32;
671 *((uid_t *)attrbufptr) = nuid;
672 attrbufptr = ((uid_t *)attrbufptr) + 1;
685 *((gid_t *)attrbufptr) = ngid;
686 attrbufptr = ((gid_t *)attrbufptr) + 1;
696 *((u_int32_t *)attrbufptr) = (cap->ca_uid == UNKNOWNUID) ?
698 attrbufptr = ((u_int32_t *)attrbufptr) + 1;
701 *((u_int32_t *)attrbufptr) = cap->ca_flags;
702 attrbufptr = ((u_int32_t *)attrbufptr) + 1;
724 *((u_int32_t *)attrbufptr) = user_access;
725 attrbufptr = ((u_int32_t *)attrbufptr) + 1;
728 *((u_int64_t *)attrbufptr) = cap->ca_fileid;
729 attrbufptr = ((u_int64_t *)attrbufptr) + 1;
732 *((u_int64_t *)attrbufptr) = cdp->cd_parentcnid;
733 attrbufptr = ((u_int64_t *)attrbufptr) + 1;
736 *abp->ab_attrbufpp = attrbufptr;
749 void *attrbufptr = *abp->ab_attrbufpp;
758 *((u_int32_t *)attrbufptr) = cattrp->ca_linkcount;
759 attrbufptr = ((u_int32_t *)attrbufptr) + 1;
775 *((u_int32_t *)attrbufptr) = entries;
776 attrbufptr = ((u_int32_t *)attrbufptr) + 1;
780 *((u_int32_t *)attrbufptr) = DIR_MNTSTATUS_MNTPOINT;
782 *((u_int32_t *)attrbufptr) = 0;
783 attrbufptr = ((u_int32_t *)attrbufptr) + 1;
785 *abp->ab_attrbufpp = attrbufptr;
797 void *attrbufptr = *abp->ab_attrbufpp;
804 *((u_int32_t *)attrbufptr) = cattrp->ca_linkcount;
805 attrbufptr = ((u_int32_t *)attrbufptr) + 1;
808 *((off_t *)attrbufptr) = datafork->cf_size + rsrcfork->cf_size;
809 attrbufptr = ((off_t *)attrbufptr) + 1;
812 *((off_t *)attrbufptr) =
814 attrbufptr = ((off_t *)attrbufptr) + 1;
817 *((u_int32_t *)attrbufptr) = hfsmp->hfs_logBlockSize;
818 attrbufptr = ((u_int32_t *)attrbufptr) + 1;
821 *((u_int32_t *)attrbufptr) = hfsmp->vcbClpSiz;
822 attrbufptr = ((u_int32_t *)attrbufptr) + 1;
826 *((u_int32_t *)attrbufptr) = (u_int32_t)cattrp->ca_rdev;
828 *((u_int32_t *)attrbufptr) = 0;
829 attrbufptr = ((u_int32_t *)attrbufptr) + 1;
832 *((off_t *)attrbufptr) = datafork->cf_size;
833 attrbufptr = ((off_t *)attrbufptr) + 1;
836 *((off_t *)attrbufptr) =
838 attrbufptr = ((off_t *)attrbufptr) + 1;
841 *((off_t *)attrbufptr) = rsrcfork->cf_size;
842 attrbufptr = ((off_t *)attrbufptr) + 1;
845 *((off_t *)attrbufptr) =
847 attrbufptr = ((off_t *)attrbufptr) + 1;
849 *abp->ab_attrbufpp = attrbufptr;