Lines Matching refs:stat
662 struct stat st; in gpt_utils_set_xbl_boot_partition()
670 if (!stat(XBL_BACKUP, &st)) in gpt_utils_set_xbl_boot_partition()
672 else if (!stat(XBL_AB_SECONDARY, &st)) in gpt_utils_set_xbl_boot_partition()
681 if (!stat(XBL_PRIMARY, &st)) in gpt_utils_set_xbl_boot_partition()
683 else if (!stat(XBL_AB_PRIMARY, &st)) in gpt_utils_set_xbl_boot_partition()
696 if((stat(XBL_PRIMARY, &st) || in gpt_utils_set_xbl_boot_partition()
697 stat(XBL_BACKUP, &st)) && in gpt_utils_set_xbl_boot_partition()
698 (stat(XBL_AB_PRIMARY, &st) || in gpt_utils_set_xbl_boot_partition()
699 stat(XBL_AB_SECONDARY, &st))) { in gpt_utils_set_xbl_boot_partition()
749 struct stat xbl_partition_stat; in prepare_partitions()
814 if(stat(XBL_PRIMARY, &xbl_partition_stat)|| in prepare_partitions()
815 stat(XBL_BACKUP, &xbl_partition_stat)){ in prepare_partitions()
858 if(stat(XBL_PRIMARY, &xbl_partition_stat)|| in prepare_partitions()
859 stat(XBL_BACKUP, &xbl_partition_stat)){ in prepare_partitions()
927 struct stat st; in add_lun_to_update_list()
933 if (stat(lun_path, &st)) { in add_lun_to_update_list()
973 struct stat ufs_dir_stat; in prepare_boot_update()
1011 if (stat(buf, &ufs_dir_stat)) { in prepare_boot_update()
1060 struct stat st; in get_dev_path_from_partition_name()
1072 if (stat(path, &st)) { in get_dev_path_from_partition_name()