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/libmount/src/iter.c
struct libmnt_iter* mnt_new_iter(int direction)
{
    struct libmnt_iter* itr = calloc(1, sizeof(*itr));
    if (!itr)
        return NULL;
    itr->direction = direction;
    return itr;
}
/**
 * mnt_new_iter:
 * @direction: MNT_INTER_{FOR,BACK}WARD direction
 *
 * Returns: newly allocated generic libmount iterator.
 */


newly allocated generic libmount iterator.
newly allocated generic libmount iterator .
struct libmnt_iter* mnt_new_iter(int direction)
{
    struct libmnt_iter* itr = calloc(1, sizeof(*itr));
    if (!itr)
        return NULL;
    itr->direction = direction;
    return itr;
}
struct libmnt_iter * mnt_new_iter ( int direction ) { struct libmnt_iter * itr = calloc ( 1 , sizeof ( * itr ) ) ; if ( ! itr ) return NULL ; itr -> direction = direction ; return itr ; }
mnt_new_iter:
 @direction: MNT_INTER_{FOR,BACK}WARD direction
mnt_new_iter : @direction : MNT_INTER_ { FOR BACK } WARD direction