Home
last modified time | relevance | path

Searched refs:is_valid (Results 1 – 25 of 70) sorted by relevance

123

/kernel/linux/linux-5.10/tools/power/cpupower/utils/idle_monitor/
Dnhm_idle.c69 static int *is_valid; variable
106 if (!is_valid[cpu]) in nhm_get_count_percent()
135 is_valid[cpu] = !nhm_get_count(num, &val, cpu); in nhm_start()
154 is_valid[cpu] = !nhm_get_count(num, &val, cpu); in nhm_stop()
180 is_valid = calloc(cpu_count, sizeof(int)); in intel_nhm_register()
200 free(is_valid); in intel_nhm_unregister()
Dmperf_monitor.c81 static int *is_valid; variable
138 is_valid[cpu] = !ret; in mperf_init_stats()
151 is_valid[cpu] = !ret; in mperf_measure_stats()
162 if (!is_valid[cpu]) in mperf_get_count_percent()
201 if (!is_valid[cpu]) in mperf_get_count_freq()
351 is_valid = calloc(cpu_count, sizeof(int)); in mperf_register()
367 free(is_valid); in mperf_unregister()
Dhsw_ext_idle.c60 static int *is_valid; variable
93 if (!is_valid[cpu]) in hsw_ext_get_count_percent()
137 is_valid[cpu] = !hsw_ext_get_count(num, &val, cpu); in hsw_ext_stop()
161 is_valid = calloc(cpu_count, sizeof(int)); in hsw_ext_register()
175 free(is_valid); in hsw_ext_unregister()
Dsnb_idle.c58 static int *is_valid; variable
91 if (!is_valid[cpu]) in snb_get_count_percent()
135 is_valid[cpu] = !snb_get_count(num, &val, cpu); in snb_stop()
166 is_valid = calloc(cpu_count, sizeof(int)); in snb_register()
180 free(is_valid); in snb_unregister()
/kernel/linux/linux-5.10/drivers/iio/chemical/
Dvz89x.c48 bool is_valid; member
223 return data->is_valid ? 0 : -EAGAIN; in vz89x_get_measurement()
225 data->is_valid = false; in vz89x_get_measurement()
236 data->is_valid = true; in vz89x_get_measurement()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_link_encoder.c789 bool is_valid; in dcn10_link_encoder_validate_output_with_stream() local
799 is_valid = dcn10_link_encoder_validate_dvi_output( in dcn10_link_encoder_validate_output_with_stream()
806 is_valid = dcn10_link_encoder_validate_hdmi_output( in dcn10_link_encoder_validate_output_with_stream()
814 is_valid = dcn10_link_encoder_validate_dp_output( in dcn10_link_encoder_validate_output_with_stream()
818 is_valid = (stream->timing.pixel_encoding == PIXEL_ENCODING_RGB) ? true : false; in dcn10_link_encoder_validate_output_with_stream()
821 is_valid = true; in dcn10_link_encoder_validate_output_with_stream()
824 is_valid = false; in dcn10_link_encoder_validate_output_with_stream()
828 return is_valid; in dcn10_link_encoder_validate_output_with_stream()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/adv7511/
Dadv7511_cec.c197 bool is_valid = adv7511->cec_valid_addrs & (1 << i); in adv7511_cec_adap_log_addr() local
199 if (free_idx == ADV7511_MAX_ADDRS && !is_valid) in adv7511_cec_adap_log_addr()
201 if (is_valid && adv7511->cec_addr[i] == addr) in adv7511_cec_adap_log_addr()
/kernel/linux/linux-5.10/drivers/bus/
Darm-cci.c268 bool is_valid; in cci_disable_port_by_cpu() local
270 is_valid = cpu_port_is_valid(&cpu_port[cpu]); in cci_disable_port_by_cpu()
271 if (is_valid && cpu_port_match(&cpu_port[cpu], mpidr)) { in cci_disable_port_by_cpu()
/kernel/linux/linux-5.10/drivers/scsi/isci/
Dscu_remote_node_context.h112 u32 is_valid:1; member
Dremote_node_context.c140 rnc->ssp.is_valid = false; in sci_remote_node_context_construct_buffer()
248 rnc_buffer->ssp.is_valid = true; in sci_remote_node_context_validate_context_buffer()
269 rnc_buffer->ssp.is_valid = false; in sci_remote_node_context_invalidate_context_buffer()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.c1098 bool is_valid = true; in mac_addr_valid() local
1104 is_valid = false; in mac_addr_valid()
1109 is_valid = false; in mac_addr_valid()
1114 is_valid = false; in mac_addr_valid()
1116 return is_valid; in mac_addr_valid()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_link_encoder.c923 bool is_valid; in dce110_link_encoder_validate_output_with_stream() local
928 is_valid = dce110_link_encoder_validate_dvi_output( in dce110_link_encoder_validate_output_with_stream()
935 is_valid = dce110_link_encoder_validate_hdmi_output( in dce110_link_encoder_validate_output_with_stream()
942 is_valid = dce110_link_encoder_validate_dp_output( in dce110_link_encoder_validate_output_with_stream()
947 is_valid = in dce110_link_encoder_validate_output_with_stream()
952 is_valid = true; in dce110_link_encoder_validate_output_with_stream()
955 is_valid = false; in dce110_link_encoder_validate_output_with_stream()
959 return is_valid; in dce110_link_encoder_validate_output_with_stream()
/kernel/linux/linux-5.10/drivers/net/wireguard/
Dsend.c131 send = keypair && READ_ONCE(keypair->sending.is_valid) && in keep_key_fresh()
362 if (unlikely(!READ_ONCE(keypair->sending.is_valid))) in wg_packet_send_staged_packets()
391 WRITE_ONCE(keypair->sending.is_valid, false); in wg_packet_send_staged_packets()
Dcookie.h25 bool is_valid; member
Dcookie.c170 if (peer->latest_cookie.is_valid && in wg_cookie_add_mac_to_packet()
226 peer->latest_cookie.is_valid = true; in wg_cookie_message_consume()
Dnoise.h27 bool is_valid; member
Dreceive.c237 send = keypair && READ_ONCE(keypair->sending.is_valid) && in keep_key_fresh()
259 if (unlikely(!READ_ONCE(keypair->receiving.is_valid) || in decrypt_packet()
262 WRITE_ONCE(keypair->receiving.is_valid, false); in decrypt_packet()
Dnoise.c190 keypair->sending.is_valid = false; in wg_noise_expire_current_peer_keypairs()
194 keypair->sending.is_valid = false; in wg_noise_expire_current_peer_keypairs()
368 first_dst->is_valid = second_dst->is_valid = true; in derive_keys()
/kernel/linux/linux-5.10/arch/arc/mm/
Dtlb.c901 int is_valid, way; in do_tlb_overlap_fault() local
905 for (way = 0, is_valid = 0; way < n_ways; way++) { in do_tlb_overlap_fault()
910 is_valid |= pd0[way] & _PAGE_PRESENT; in do_tlb_overlap_fault()
915 if (!is_valid) in do_tlb_overlap_fault()
/kernel/linux/linux-5.10/drivers/net/dsa/b53/
Db53_priv.h263 u8 is_valid:1; member
273 ent->is_valid = !!(fwd_entry & ARLTBL_VALID); in b53_arl_to_entry()
286 if (ent->is_valid) in b53_arl_from_entry()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Ducode.c279 palive->is_valid, palive->ver_type, in iwl_alive_fn()
288 alive_data->valid = palive->is_valid == UCODE_VALID_OK; in iwl_alive_fn()
/kernel/linux/linux-5.10/fs/btrfs/
Ddev-replace.c120 dev_replace->is_valid = 0; in btrfs_init_dev_replace()
150 dev_replace->is_valid = 1; in btrfs_init_dev_replace()
346 if (!dev_replace->is_valid || in btrfs_run_dev_replace()
525 dev_replace->is_valid = 1; in btrfs_dev_replace_start()
1092 if (!dev_replace->is_valid) in btrfs_dev_replace_is_ongoing()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dsclp.h26 int is_valid; member
/kernel/linux/linux-5.10/fs/f2fs/
Dsegment.h733 bool is_valid = test_bit_le(0, raw_sit->valid_map) ? true : false; in check_block_count() local
740 if (is_valid) { in check_block_count()
750 is_valid = !is_valid; in check_block_count()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/
Dcodec-v4l2-fwht.c65 bool is_valid = v4l2_fwht_validate_fmt(&v4l2_fwht_pixfmts[i], in v4l2_fwht_find_nth_fmt() local
68 if (is_valid) { in v4l2_fwht_find_nth_fmt()

123