• Home
  • Raw
  • Download

Lines Matching refs:sf

536 	xfs_attr_shortform_t *sf;  in xfs_attr_shortform_add()  local
551 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; in xfs_attr_shortform_add()
552 sfe = &sf->list[0]; in xfs_attr_shortform_add()
553 for (i = 0; i < sf->hdr.count; sfe = XFS_ATTR_SF_NEXTENTRY(sfe), i++) { in xfs_attr_shortform_add()
565 offset = (char *)sfe - (char *)sf; in xfs_attr_shortform_add()
568 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; in xfs_attr_shortform_add()
569 sfe = (xfs_attr_sf_entry_t *)((char *)sf + offset); in xfs_attr_shortform_add()
576 sf->hdr.count++; in xfs_attr_shortform_add()
577 be16_add_cpu(&sf->hdr.totsize, size); in xfs_attr_shortform_add()
608 xfs_attr_shortform_t *sf; in xfs_attr_shortform_remove() local
619 sf = (xfs_attr_shortform_t *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_remove()
620 sfe = &sf->list[0]; in xfs_attr_shortform_remove()
621 end = sf->hdr.count; in xfs_attr_shortform_remove()
640 totsize = be16_to_cpu(sf->hdr.totsize); in xfs_attr_shortform_remove()
642 memmove(&((char *)sf)[base], &((char *)sf)[end], totsize - end); in xfs_attr_shortform_remove()
643 sf->hdr.count--; in xfs_attr_shortform_remove()
644 be16_add_cpu(&sf->hdr.totsize, -size); in xfs_attr_shortform_remove()
679 xfs_attr_shortform_t *sf; in xfs_attr_shortform_lookup() local
688 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; in xfs_attr_shortform_lookup()
689 sfe = &sf->list[0]; in xfs_attr_shortform_lookup()
690 for (i = 0; i < sf->hdr.count; in xfs_attr_shortform_lookup()
710 xfs_attr_shortform_t *sf; in xfs_attr_shortform_getvalue() local
715 sf = (xfs_attr_shortform_t *)args->dp->i_afp->if_u1.if_data; in xfs_attr_shortform_getvalue()
716 sfe = &sf->list[0]; in xfs_attr_shortform_getvalue()
717 for (i = 0; i < sf->hdr.count; in xfs_attr_shortform_getvalue()
748 xfs_attr_shortform_t *sf; in xfs_attr_shortform_to_leaf() local
761 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; in xfs_attr_shortform_to_leaf()
762 size = be16_to_cpu(sf->hdr.totsize); in xfs_attr_shortform_to_leaf()
766 sf = (xfs_attr_shortform_t *)tmpbuffer; in xfs_attr_shortform_to_leaf()
807 sfe = &sf->list[0]; in xfs_attr_shortform_to_leaf()
808 for (i = 0; i < sf->hdr.count; i++) { in xfs_attr_shortform_to_leaf()