Lines Matching refs:finderinfo

83 static int hfs_zero_dateadded (struct cnode *cp, u_int8_t *finderinfo); 
237 static int hfs_zero_dateadded (struct cnode *cp, u_int8_t *finderinfo) {
238 u_int8_t *finfo = finderinfo;
240 /* Advance finfo by 16 bytes to the 2nd half of the finderinfo */
293 u_int8_t finderinfo[32];
300 bcopy(cp->c_finderinfo, finderinfo, sizeof(finderinfo));
304 hfs_zero_dateadded (cp, finderinfo);
310 fip = (struct FndrFileInfo *)&finderinfo;
315 if (bcmp(finderinfo, emptyfinfo, sizeof(emptyfinfo)) == 0) {
325 result = uiomove((caddr_t)&finderinfo , bufsize, uio);
412 /* Check for non-rsrc, non-finderinfo EAs */
426 * overflow extents file to find non-resource, non-finderinfo EAs. There may be cases
689 u_int8_t finderinfo[32];
702 if ((result = uiomove((caddr_t)&finderinfo , attrsize, uio))) {
705 fip = (struct FndrFileInfo *)&finderinfo;
733 hfs_zero_dateadded(cp, finderinfo);
750 * Now restore the date added to the finderinfo to be written out.
751 * Advance to the 2nd half of the finderinfo to write out the date added
758 finfo = &finderinfo[16];
771 bcopy(&finderinfo[0], finderinfo_start, attrsize);
773 bcopy(&finderinfo[8], finderinfo_start, attrsize);
906 * If we're trying to set a non-finderinfo, non-resourcefork EA, then
926 * Internal function to set non-rsrc, non-finderinfo EAs to either the attribute B-Tree or
1338 u_int8_t finderinfo[32];
1347 bcopy(cp->c_finderinfo, finderinfo, sizeof(finderinfo));
1351 hfs_zero_dateadded (cp, finderinfo);
1357 fip = (struct FndrFileInfo *)&finderinfo;
1363 if (bcmp(finderinfo, emptyfinfo, sizeof(emptyfinfo)) == 0) {
1653 u_int8_t finderinfo[32];
1672 * Make a copy of the cnode's finderinfo to a local so we can
1676 bcopy(cp->c_finderinfo, finderinfo, sizeof(finderinfo));
1677 hfs_zero_dateadded (cp, finderinfo);
1683 fip = (struct FndrFileInfo *)&finderinfo;
1690 if (bcmp(finderinfo, emptyfinfo, sizeof(emptyfinfo)) != 0) {