Searched refs:tmp_val (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_subnet.c | 282 unsigned long int tmp_val; in opts_strtoul() local 285 tmp_val = strtoul(p_val_str, &endptr, 0); in opts_strtoul() 286 *val = tmp_val; in opts_strtoul() 292 if (tmp_val > max_value || in opts_strtoul() 293 ((tmp_val == ULONG_MAX) && errno == ERANGE)) { in opts_strtoul() 304 unsigned long long int tmp_val; in opts_strtoull() local 307 tmp_val = strtoull(p_val_str, &endptr, 0); in opts_strtoull() 308 *val = tmp_val; in opts_strtoull() 314 if (tmp_val > max_value || (tmp_val == ULLONG_MAX && errno == ERANGE)) { in opts_strtoull() 395 uint32_t tmp_val; in opts_parse_uint16() local [all …]
|
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_fw_counters.c | 124 struct list_head *tmp = NULL, *tmp_val = NULL; in adf_read_fw_counters() local 161 list_for_each_prev_safe(list_ptr, tmp_val, &ptr->param_head) in adf_read_fw_counters()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_parse.c | 4526 uint16_t tmp_val; in gps16x_message() local 4558 tmp_val = cfgh.health[i]; /* a 6 bit SV health code */ in gps16x_message() 4559 p = ap(buffer, sizeof(buffer), p, "; health=0x%02x (", tmp_val); in gps16x_message() 4561 if (tmp_val == 0x3F) /* satellite is unusable or doesn't even exist */ in gps16x_message() 4566 p = ap(buffer, sizeof(buffer), p, "DATA %s, ", (tmp_val & 0x20) ? "BAD" : "OK" ); in gps16x_message() 4569 switch (tmp_val & 0x1F) in gps16x_message() 4582 tmp_val = cfgh.cfg[i]; /* a 4 bit SV configuration/type code */ in gps16x_message() 4583 p = ap(buffer, sizeof(buffer), p, "; cfg=0x%02x (", tmp_val); in gps16x_message() 4584 switch (tmp_val & 0x7) in gps16x_message() 4594 if (tmp_val & 0x08) /* A-S is on, P-code is encrypted */ in gps16x_message()
|
/freebsd/sys/cam/scsi/ |
H A D | scsi_all.c | 7063 uint64_t tmp_val; in scsi_attrib_volcoh_sbuf() local 7069 tmp_val = 0; in scsi_attrib_volcoh_sbuf() 7106 tmp_val = *cur_ptr; in scsi_attrib_volcoh_sbuf() 7109 tmp_val = scsi_2btoul(cur_ptr); in scsi_attrib_volcoh_sbuf() 7112 tmp_val = scsi_3btoul(cur_ptr); in scsi_attrib_volcoh_sbuf() 7115 tmp_val = scsi_4btoul(cur_ptr); in scsi_attrib_volcoh_sbuf() 7118 tmp_val = scsi_8btou64(cur_ptr); in scsi_attrib_volcoh_sbuf() 7126 sbuf_printf(sb, " 0x%jx\n", (uintmax_t)tmp_val); in scsi_attrib_volcoh_sbuf() 7129 tmp_val = scsi_8btou64(cur_ptr); in scsi_attrib_volcoh_sbuf() 7130 sbuf_printf(sb, "\tVolume Coherency Count: %ju\n", (uintmax_t)tmp_val); in scsi_attrib_volcoh_sbuf() [all …]
|
/freebsd/sys/dev/bxe/ |
H A D | bxe_elink.c | 13898 uint32_t lfa_sts, cfg_idx, tmp_val; in elink_cannot_avoid_link_flap() local 13925 tmp_val = REG_RD(sc, params->lfa_base + in elink_cannot_avoid_link_flap() 13927 tmp_val &= ~REQ_FC_AUTO_ADV_MASK; in elink_cannot_avoid_link_flap() 13928 tmp_val |= params->req_fc_auto_adv; in elink_cannot_avoid_link_flap() 13931 offsetof(struct shmem_lfa, additional_config), tmp_val); in elink_cannot_avoid_link_flap()
|