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/libfdisk/src/context.c
fdisk_sector_t fdisk_set_first_lba(struct fdisk_context* cxt,
                                   fdisk_sector_t lba)
{
    assert(cxt);
    DBG(CXT, ul_debugobj(cxt, "setting first LBA from %ju to %ju",
                         (uintmax_t)cxt->first_lba, (uintmax_t)lba));
    cxt->first_lba = lba;
    return 0;
}
/**
 * fdisk_set_first_lba:
 * @cxt: fdisk context
 * @lba: first possible logical sector for data
 *
 * It's strongly recommended to use the default library setting. The first LBA
 * is always reset by fdisk_assign_device(), fdisk_override_geometry()
 * and fdisk_reset_alignment(). This is very low level function and library
 * does not check if your setting makes any sense.
 *
 * This function is necessary only when you want to work with very unusual
 * partition tables like GPT protective MBR or hybrid partition tables on
 * bootable media where the first partition may start on very crazy offsets.
 *
 * Returns: 0 on success, <0 on error.
 */
@cxt: fdisk context
@lba: first possible logical sector for data

It's strongly recommended to use the default library setting. The first LBA
is always reset by fdisk_assign_device(), fdisk_override_geometry()
and fdisk_reset_alignment(). This is very low level function and library
does not check if your setting makes any sense.

This function is necessary only when you want to work with very unusual
partition tables like GPT protective MBR or hybrid partition tables on
bootable media where the first partition may start on very crazy offsets.

0 on success, <0 on error.
@cxt : fdisk context @lba : first possible logical sector for data It ' s strongly recommended to use the default library setting . The first LBA is always reset by fdisk_assign_device () fdisk_override_geometry () and fdisk_reset_alignment () . This is very low level function and library does not check if your setting makes any sense . This function is necessary only when you want to work with very unusual partition tables like GPT protective MBR or hybrid partition tables on bootable media where the first partition may start on very crazy offsets . 0 on success <0 on error .
fdisk_sector_t fdisk_set_first_lba(struct fdisk_context* cxt,
                                   fdisk_sector_t lba)
{
    assert(cxt);
    DBG(CXT, ul_debugobj(cxt, "setting first LBA from %ju to %ju",
                         (uintmax_t)cxt->first_lba, (uintmax_t)lba));
    cxt->first_lba = lba;
    return 0;
}
fdisk_sector_t fdisk_set_first_lba ( struct fdisk_context * cxt , fdisk_sector_t lba ) { assert ( cxt ) ; DBG ( CXT , ul_debugobj ( cxt , " " , ( uintmax_t ) cxt -> first_lba , ( uintmax_t ) lba ) ) ; cxt -> first_lba = lba ; return 0 ; }
fdisk_set_first_lba:
 @cxt: fdisk context
 @lba: first possible logical sector for data
fdisk_set_first_lba : @cxt : fdisk context @lba : first possible logical sector for data