openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/util-linux/2.33.2-r0/util-linux-2.33.2/libblkid/src/probe.c
int __blkid_probe_invert_filter(blkid_probe pr, int chain)
{
    size_t i;
    struct blkid_chain* chn;

    chn = &pr->chains[chain];

    if (!chn->driver->has_fltr || !chn->fltr)
        return -1;

    for (i = 0; i < blkid_bmp_nwords(chn->driver->nidinfos); i++)
        chn->fltr[i] = ~chn->fltr[i];

    DBG(LOWPROBE, ul_debug("probing filter inverted"));
    /* blkid_probe_dump_filter(pr, chain); */
    return 0;
}
/*
 * Generic private functions for filter setting
 */
Generic private functions for filter setting
Generic private functions for filter setting
int __blkid_probe_invert_filter(blkid_probe pr, int chain)
{
    size_t i;
    struct blkid_chain* chn;
    chn = &pr->chains[chain];
    if (!chn->driver->has_fltr || !chn->fltr)
        return -1;
    for (i = 0; i < blkid_bmp_nwords(chn->driver->nidinfos); i++)
        chn->fltr[i] = ~chn->fltr[i];
    DBG(LOWPROBE, ul_debug("probing filter inverted"));
    return 0;
}
int __blkid_probe_invert_filter ( blkid_probe pr , int chain ) { size_t i ; struct blkid_chain * chn ; chn = & pr -> chains [ chain ] ; if ( ! chn -> driver -> has_fltr || ! chn -> fltr ) return -1 ; for ( i = 0 ; i < blkid_bmp_nwords ( chn -> driver -> nidinfos ) ; i ++ ) chn -> fltr [ i ] = ~ chn -> fltr [ i ] ; DBG ( LOWPROBE , ul_debug ( " " ) ) ; return 0 ; }
Generic private functions for filter setting
Generic private functions for filter setting
/* blkid_probe_dump_filter(pr, chain); */