Lines Matching refs:stat
669 struct stat st; in gpt_utils_set_xbl_boot_partition()
677 if (!stat(XBL_BACKUP, &st)) in gpt_utils_set_xbl_boot_partition()
679 else if (!stat(XBL_AB_SECONDARY, &st)) in gpt_utils_set_xbl_boot_partition()
688 if (!stat(XBL_PRIMARY, &st)) in gpt_utils_set_xbl_boot_partition()
690 else if (!stat(XBL_AB_PRIMARY, &st)) in gpt_utils_set_xbl_boot_partition()
703 if((stat(XBL_PRIMARY, &st) || in gpt_utils_set_xbl_boot_partition()
704 stat(XBL_BACKUP, &st)) && in gpt_utils_set_xbl_boot_partition()
705 (stat(XBL_AB_PRIMARY, &st) || in gpt_utils_set_xbl_boot_partition()
706 stat(XBL_AB_SECONDARY, &st))) { in gpt_utils_set_xbl_boot_partition()
756 struct stat xbl_partition_stat; in prepare_partitions()
821 if(stat(XBL_PRIMARY, &xbl_partition_stat)|| in prepare_partitions()
822 stat(XBL_BACKUP, &xbl_partition_stat)){ in prepare_partitions()
865 if(stat(XBL_PRIMARY, &xbl_partition_stat)|| in prepare_partitions()
866 stat(XBL_BACKUP, &xbl_partition_stat)){ in prepare_partitions()
934 struct stat st; in add_lun_to_update_list()
940 if (stat(lun_path, &st)) { in add_lun_to_update_list()
980 struct stat ufs_dir_stat; in prepare_boot_update()
1018 if (stat(buf, &ufs_dir_stat)) { in prepare_boot_update()
1067 struct stat st; in get_dev_path_from_partition_name()
1079 if (stat(path, &st)) { in get_dev_path_from_partition_name()