Lines Matching refs:cnt
106 unsigned int cnt; in tpm_bios_log_setup() local
118 cnt = 0; in tpm_bios_log_setup()
119 chip->bios_dir[cnt] = securityfs_create_dir(name, NULL); in tpm_bios_log_setup()
123 if (IS_ERR(chip->bios_dir[cnt])) in tpm_bios_log_setup()
125 cnt++; in tpm_bios_log_setup()
136 chip->bios_dir[cnt] = in tpm_bios_log_setup()
141 if (IS_ERR(chip->bios_dir[cnt])) in tpm_bios_log_setup()
143 cnt++; in tpm_bios_log_setup()
151 chip->bios_dir[cnt] = in tpm_bios_log_setup()
156 if (IS_ERR(chip->bios_dir[cnt])) in tpm_bios_log_setup()
158 cnt++; in tpm_bios_log_setup()
164 chip->bios_dir[cnt] = NULL; in tpm_bios_log_setup()