Searched refs:sfe (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/fs/xfs/
H A Dxfs_attr_list.c74 xfs_attr_sf_entry_t *sfe; xfs_attr_shortform_list() local
104 for (i = 0, sfe = &sf->list[0]; i < sf->hdr.count; i++) { xfs_attr_shortform_list()
106 sfe->flags, xfs_attr_shortform_list()
107 sfe->nameval, xfs_attr_shortform_list()
108 (int)sfe->namelen, xfs_attr_shortform_list()
109 (int)sfe->valuelen, xfs_attr_shortform_list()
110 &sfe->nameval[sfe->namelen]); xfs_attr_shortform_list()
121 sfe = XFS_ATTR_SF_NEXTENTRY(sfe); xfs_attr_shortform_list()
142 for (i = 0, sfe = &sf->list[0]; i < sf->hdr.count; i++) { xfs_attr_shortform_list()
144 ((char *)sfe < (char *)sf) || xfs_attr_shortform_list()
145 ((char *)sfe >= ((char *)sf + dp->i_afp->if_bytes)))) { xfs_attr_shortform_list()
148 context->dp->i_mount, sfe); xfs_attr_shortform_list()
154 sbp->hash = xfs_da_hashname(sfe->nameval, sfe->namelen); xfs_attr_shortform_list()
155 sbp->name = sfe->nameval; xfs_attr_shortform_list()
156 sbp->namelen = sfe->namelen; xfs_attr_shortform_list()
158 sbp->valuelen = sfe->valuelen; xfs_attr_shortform_list()
159 sbp->flags = sfe->flags; xfs_attr_shortform_list()
160 sfe = XFS_ATTR_SF_NEXTENTRY(sfe); xfs_attr_shortform_list()
/linux-4.4.14/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c531 xfs_attr_sf_entry_t *sfe; xfs_attr_shortform_add() local
546 sfe = &sf->list[0]; xfs_attr_shortform_add()
547 for (i = 0; i < sf->hdr.count; sfe = XFS_ATTR_SF_NEXTENTRY(sfe), i++) { xfs_attr_shortform_add()
549 if (sfe->namelen != args->namelen) xfs_attr_shortform_add()
551 if (memcmp(args->name, sfe->nameval, args->namelen) != 0) xfs_attr_shortform_add()
553 if (!xfs_attr_namesp_match(args->flags, sfe->flags)) xfs_attr_shortform_add()
559 offset = (char *)sfe - (char *)sf; xfs_attr_shortform_add()
563 sfe = (xfs_attr_sf_entry_t *)((char *)sf + offset); xfs_attr_shortform_add()
565 sfe->namelen = args->namelen; xfs_attr_shortform_add()
566 sfe->valuelen = args->valuelen; xfs_attr_shortform_add()
567 sfe->flags = XFS_ATTR_NSP_ARGS_TO_ONDISK(args->flags); xfs_attr_shortform_add()
568 memcpy(sfe->nameval, args->name, args->namelen); xfs_attr_shortform_add()
569 memcpy(&sfe->nameval[args->namelen], args->value, args->valuelen); xfs_attr_shortform_add()
603 xfs_attr_sf_entry_t *sfe; xfs_attr_shortform_remove() local
614 sfe = &sf->list[0]; xfs_attr_shortform_remove()
616 for (i = 0; i < end; sfe = XFS_ATTR_SF_NEXTENTRY(sfe), xfs_attr_shortform_remove()
618 size = XFS_ATTR_SF_ENTSIZE(sfe); xfs_attr_shortform_remove()
619 if (sfe->namelen != args->namelen) xfs_attr_shortform_remove()
621 if (memcmp(sfe->nameval, args->name, args->namelen) != 0) xfs_attr_shortform_remove()
623 if (!xfs_attr_namesp_match(args->flags, sfe->flags)) xfs_attr_shortform_remove()
674 xfs_attr_sf_entry_t *sfe; xfs_attr_shortform_lookup() local
683 sfe = &sf->list[0]; xfs_attr_shortform_lookup()
685 sfe = XFS_ATTR_SF_NEXTENTRY(sfe), i++) { xfs_attr_shortform_lookup()
686 if (sfe->namelen != args->namelen) xfs_attr_shortform_lookup()
688 if (memcmp(args->name, sfe->nameval, args->namelen) != 0) xfs_attr_shortform_lookup()
690 if (!xfs_attr_namesp_match(args->flags, sfe->flags)) xfs_attr_shortform_lookup()
705 xfs_attr_sf_entry_t *sfe; xfs_attr_shortform_getvalue() local
710 sfe = &sf->list[0]; xfs_attr_shortform_getvalue()
712 sfe = XFS_ATTR_SF_NEXTENTRY(sfe), i++) { xfs_attr_shortform_getvalue()
713 if (sfe->namelen != args->namelen) xfs_attr_shortform_getvalue()
715 if (memcmp(args->name, sfe->nameval, args->namelen) != 0) xfs_attr_shortform_getvalue()
717 if (!xfs_attr_namesp_match(args->flags, sfe->flags)) xfs_attr_shortform_getvalue()
720 args->valuelen = sfe->valuelen; xfs_attr_shortform_getvalue()
723 if (args->valuelen < sfe->valuelen) { xfs_attr_shortform_getvalue()
724 args->valuelen = sfe->valuelen; xfs_attr_shortform_getvalue()
727 args->valuelen = sfe->valuelen; xfs_attr_shortform_getvalue()
728 memcpy(args->value, &sfe->nameval[args->namelen], xfs_attr_shortform_getvalue()
743 xfs_attr_sf_entry_t *sfe; xfs_attr_shortform_to_leaf() local
801 sfe = &sf->list[0]; xfs_attr_shortform_to_leaf()
803 nargs.name = sfe->nameval; xfs_attr_shortform_to_leaf()
804 nargs.namelen = sfe->namelen; xfs_attr_shortform_to_leaf()
805 nargs.value = &sfe->nameval[nargs.namelen]; xfs_attr_shortform_to_leaf()
806 nargs.valuelen = sfe->valuelen; xfs_attr_shortform_to_leaf()
807 nargs.hashval = xfs_da_hashname(sfe->nameval, xfs_attr_shortform_to_leaf()
808 sfe->namelen); xfs_attr_shortform_to_leaf()
809 nargs.flags = XFS_ATTR_NSP_ONDISK_TO_ARGS(sfe->flags); xfs_attr_shortform_to_leaf()
816 sfe = XFS_ATTR_SF_NEXTENTRY(sfe); xfs_attr_shortform_to_leaf()
/linux-4.4.14/arch/powerpc/include/asm/
H A Dsfp-machine.h282 __asm__ ("{sf%I4|subf%I4c} %1,%5,%4\n\t{sfe|subfe} %0,%3,%2" \
/linux-4.4.14/arch/sparc/include/uapi/asm/
H A Dasi.h8 * Pioneer work for sun4m: Paul Hatchman (paul@sfe.com.au)
/linux-4.4.14/lib/mpi/
H A Dlonglong.h795 __asm__ ("{sf%I4|subf%I4c} %1,%5,%4\n\t{sfe|subfe} %0,%3,%2" \
/linux-4.4.14/arch/mips/include/asm/octeon/
H A Dcvmx-mio-defs.h4464 uint64_t sfe:1; member in struct:cvmx_mio_uartx_sfe::cvmx_mio_uartx_sfe_s
4466 uint64_t sfe:1;
5073 uint64_t sfe:1; member in struct:cvmx_mio_uart2_sfe::cvmx_mio_uart2_sfe_s
5075 uint64_t sfe:1;
/linux-4.4.14/arch/powerpc/xmon/
H A Dppc-opc.c3534 { "sfe", XO(31,136,0,0), XO_MASK, PWRCOM, { RT, RA, RB } },
3536 { "sfe.", XO(31,136,0,1), XO_MASK, PWRCOM, { RT, RA, RB } },

Completed in 372 milliseconds