Home
last modified time | relevance | path

Searched refs:new_val (Results 1 – 25 of 33) sorted by relevance

12

/trueos/contrib/ofed/management/opensm/include/complib/
HDcl_atomic_osd.h59 int32_t new_val; in cl_atomic_inc() local
62 new_val = *p_value + 1; in cl_atomic_inc()
63 *p_value = new_val; in cl_atomic_inc()
65 return (new_val); in cl_atomic_inc()
70 int32_t new_val; in cl_atomic_dec() local
73 new_val = *p_value - 1; in cl_atomic_dec()
74 *p_value = new_val; in cl_atomic_dec()
76 return (new_val); in cl_atomic_dec()
82 int32_t new_val; in cl_atomic_add() local
85 new_val = *p_value + increment; in cl_atomic_add()
[all …]
/trueos/sys/contrib/octeon-sdk/
HDcvmx-atomic.h238 … uint32_t cvmx_atomic_compare_and_store32_nosync(uint32_t *ptr, uint32_t old_val, uint32_t new_val) in cvmx_atomic_compare_and_store32_nosync() argument
254 : [old] "r" (old_val), [new_val] "r" (new_val) in cvmx_atomic_compare_and_store32_nosync()
273 … inline uint32_t cvmx_atomic_compare_and_store32(uint32_t *ptr, uint32_t old_val, uint32_t new_val) in cvmx_atomic_compare_and_store32() argument
277 ret = cvmx_atomic_compare_and_store32_nosync(ptr, old_val, new_val); in cvmx_atomic_compare_and_store32()
296 … uint64_t cvmx_atomic_compare_and_store64_nosync(uint64_t *ptr, uint64_t old_val, uint64_t new_val) in cvmx_atomic_compare_and_store64_nosync() argument
312 : [old] "r" (old_val), [new_val] "r" (new_val) in cvmx_atomic_compare_and_store64_nosync()
331 … inline uint64_t cvmx_atomic_compare_and_store64(uint64_t *ptr, uint64_t old_val, uint64_t new_val) in cvmx_atomic_compare_and_store64() argument
335 ret = cvmx_atomic_compare_and_store64_nosync(ptr, old_val, new_val); in cvmx_atomic_compare_and_store64()
655 static inline uint64_t cvmx_atomic_swap64_nosync(uint64_t *ptr, uint64_t new_val) in cvmx_atomic_swap64_nosync() argument
663 if (__builtin_constant_p(new_val) && new_val == 0) in cvmx_atomic_swap64_nosync()
[all …]
/trueos/sys/xen/
HDhypervisor.h138 uint64_t new_val, unsigned long flags) in MULTI_update_va_mapping() argument
143 mcl->args[1] = new_val; in MULTI_update_va_mapping()
145 mcl->args[1] = (uint32_t)(new_val & 0xffffffff) ; in MULTI_update_va_mapping()
146 mcl->args[2] = (uint32_t)(new_val >> 32); in MULTI_update_va_mapping()
148 mcl->args[1] = new_val; in MULTI_update_va_mapping()
/trueos/sys/i386/include/xen/
HDhypercall.h252 unsigned long va, uint64_t new_val, unsigned long flags) in HYPERVISOR_update_va_mapping() argument
256 lo = (uint32_t)(new_val & 0xffffffff); in HYPERVISOR_update_va_mapping()
257 hi = (uint32_t)(new_val >> 32); in HYPERVISOR_update_va_mapping()
321 unsigned long va, uint64_t new_val, unsigned long flags, domid_t domid) in HYPERVISOR_update_va_mapping_otherdomain() argument
325 lo = (uint32_t)(new_val & 0xffffffff); in HYPERVISOR_update_va_mapping_otherdomain()
326 hi = (uint32_t)(new_val >> 32); in HYPERVISOR_update_va_mapping_otherdomain()
/trueos/contrib/serf/buckets/
HDheaders_buckets.c171 char *new_val = serf_bucket_mem_alloc(headers_bucket->allocator, in serf_bucket_headers_get() local
173 memcpy(new_val, val, value_size); in serf_bucket_headers_get()
174 new_val[value_size] = ','; in serf_bucket_headers_get()
175 memcpy(new_val + value_size + 1, found->value, in serf_bucket_headers_get()
177 new_val[new_size] = '\0'; in serf_bucket_headers_get()
182 val = new_val; in serf_bucket_headers_get()
/trueos/contrib/subversion/subversion/libsvn_wc/
HDprops.c781 const svn_string_t *new_val, in apply_single_prop_add() argument
793 if (svn_string_compare(working_val, new_val)) in apply_single_prop_add()
808 new_val, in apply_single_prop_add()
838 *result_val = new_val; in apply_single_prop_add()
915 const svn_string_t *new_val, in apply_single_mergeinfo_prop_change() argument
928 if (svn_string_compare(working_val, new_val)) in apply_single_mergeinfo_prop_change()
937 SVN_ERR(combine_forked_mergeinfo_props(&new_val, old_val, in apply_single_mergeinfo_prop_change()
939 new_val, in apply_single_mergeinfo_prop_change()
942 *result_val = new_val; in apply_single_mergeinfo_prop_change()
964 old_val, new_val, scratch_pool)); in apply_single_mergeinfo_prop_change()
[all …]
/trueos/contrib/gcc/
HDtree-ssa-ccp.c414 set_lattice_value (tree var, prop_value_t new_val) in set_lattice_value() argument
429 gcc_assert (old_val->lattice_val <= new_val.lattice_val in set_lattice_value()
430 || (old_val->lattice_val == new_val.lattice_val in set_lattice_value()
431 && old_val->value == new_val.value in set_lattice_value()
432 && old_val->mem_ref == new_val.mem_ref) in set_lattice_value()
435 && new_val.lattice_val == UNKNOWN_VAL)); in set_lattice_value()
437 if (old_val->lattice_val != new_val.lattice_val) in set_lattice_value()
441 dump_lattice_value (dump_file, "Lattice value changed to ", new_val); in set_lattice_value()
443 new_val.lattice_val != UNDEFINED ? "A" : "Not a"); in set_lattice_value()
446 *old_val = new_val; in set_lattice_value()
[all …]
HDpredict.c920 tree val = NULL, new_val; in expr_expected_value() local
935 new_val = expr_expected_value (arg, visited); in expr_expected_value()
936 if (!new_val) in expr_expected_value()
939 val = new_val; in expr_expected_value()
940 else if (!operand_equal_p (val, new_val, false)) in expr_expected_value()
HDoptabs.c5779 expand_val_compare_and_swap_1 (rtx mem, rtx old_val, rtx new_val, in expand_val_compare_and_swap_1() argument
5793 if (GET_MODE (new_val) != VOIDmode && GET_MODE (new_val) != mode) in expand_val_compare_and_swap_1()
5794 new_val = convert_modes (mode, GET_MODE (new_val), new_val, 1); in expand_val_compare_and_swap_1()
5795 if (!insn_data[icode].operand[3].predicate (new_val, mode)) in expand_val_compare_and_swap_1()
5796 new_val = force_reg (mode, new_val); in expand_val_compare_and_swap_1()
5798 insn = GEN_FCN (icode) (target, mem, old_val, new_val); in expand_val_compare_and_swap_1()
5809 expand_val_compare_and_swap (rtx mem, rtx old_val, rtx new_val, rtx target) in expand_val_compare_and_swap() argument
5817 return expand_val_compare_and_swap_1 (mem, old_val, new_val, target, icode); in expand_val_compare_and_swap()
5825 expand_bool_compare_and_swap (rtx mem, rtx old_val, rtx new_val, rtx target) in expand_bool_compare_and_swap() argument
5838 subtarget = expand_val_compare_and_swap_1 (mem, old_val, new_val, in expand_bool_compare_and_swap()
[all …]
/trueos/sys/amd64/include/xen/
HDhypercall.h263 unsigned long va, uint64_t new_val, unsigned long flags) in HYPERVISOR_update_va_mapping() argument
265 return _hypercall3(int, update_va_mapping, va, new_val, flags); in HYPERVISOR_update_va_mapping()
329 unsigned long va, uint64_t new_val, unsigned long flags, domid_t domid) in HYPERVISOR_update_va_mapping_otherdomain() argument
332 new_val, flags, domid); in HYPERVISOR_update_va_mapping_otherdomain()
/trueos/contrib/libstdc++/include/ext/pb_ds/detail/binary_heap_/
Dinsert_fn_imps.hpp208 swap_value_imp(entry_pointer p_e, value_type new_val, true_type) in swap_value_imp() argument
210 * p_e = new_val; in swap_value_imp()
Dbinary_heap_.hpp287 swap_value_imp(entry_pointer p_e, value_type new_val, true_type);
/trueos/sys/dev/cpufreq/
HDichss.c326 uint8_t bmval, new_val, old_val, req_val; in ichss_set() local
354 new_val = ICH_GET_REG(sc->ctrl_reg); in ichss_set()
358 if (req_val != (new_val & ICHSS_CTRL_BIT)) { in ichss_set()
/trueos/contrib/gdb/gdb/
HDvalues.c851 struct value *new_val; in value_change_enclosing_type() local
854new_val = (struct value *) xrealloc (val, sizeof (struct value) + TYPE_LENGTH (new_encl_type)); in value_change_enclosing_type()
856 VALUE_ENCLOSING_TYPE (new_val) = new_encl_type; in value_change_enclosing_type()
869 prev->next = new_val; in value_change_enclosing_type()
875 return new_val; in value_change_enclosing_type()
HDvarobj.c1875 struct value *new_val; in c_value_of_root() local
1904 if (gdb_evaluate_expression (var->root->exp, &new_val)) in c_value_of_root()
1906 if (VALUE_LAZY (new_val)) in c_value_of_root()
1914 if (!gdb_value_fetch_lazy (new_val)) in c_value_of_root()
1923 release_value (new_val); in c_value_of_root()
1924 return new_val; in c_value_of_root()
HDvalops.c2676 struct value *new_val; in value_full_object() local
2712 new_val = value_at_lazy (real_type, VALUE_ADDRESS (argp) - top + in value_full_object()
2715 VALUE_TYPE (new_val) = VALUE_TYPE (argp); in value_full_object()
2716 VALUE_EMBEDDED_OFFSET (new_val) = using_enc ? top + VALUE_EMBEDDED_OFFSET (argp) : top; in value_full_object()
2717 return new_val; in value_full_object()
/trueos/contrib/ofed/management/infiniband-diags/scripts/
HDIBswcountlimits.pm165 my $new_val = $_[1];
166 my $rate = ($new_val - $old_val) / $IBswcountlimits::pause_time;
/trueos/contrib/hyperv/tools/
HDhv_kvp_daemon.c965 kvp_set_ip_info(char *if_name, struct hv_kvp_ipaddr_value *new_val) in kvp_set_ip_info() argument
1008 (char *)new_val->ip_addr); in kvp_set_ip_info()
1015 (char *)new_val->sub_net); in kvp_set_ip_info()
1023 (char *)new_val->gate_way); in kvp_set_ip_info()
1029 error = kvp_write_file(file, "DNS", "", (char *)new_val->dns_addr); in kvp_set_ip_info()
1035 if (new_val->dhcp_enabled) { in kvp_set_ip_info()
/trueos/sys/i386/xen/
HDxen_machdep.c692 uint64_t new_val = 0; in xen_destroy_contiguous_region() local
695 PANIC_IF(HYPERVISOR_update_va_mapping((vm_offset_t)((char *)addr + (i * PAGE_SIZE)), new_val, 0)); in xen_destroy_contiguous_region()
704 uint64_t new_val; in xen_destroy_contiguous_region() local
708 new_val = mfn << PAGE_SHIFT; in xen_destroy_contiguous_region()
710 new_val, PG_KERNEL)); in xen_destroy_contiguous_region()
/trueos/sys/kern/
HDsched_4bsd.c191 int error, new_val, period; in sysctl_kern_quantum() local
194 new_val = period * sched_slice; in sysctl_kern_quantum()
195 error = sysctl_handle_int(oidp, &new_val, 0, req); in sysctl_kern_quantum()
198 if (new_val <= 0) in sysctl_kern_quantum()
200 sched_slice = imax(1, (new_val + period / 2) / period); in sysctl_kern_quantum()
HDkern_sig.c3074 int new_val; in sysctl_debug_num_cores_check() local
3076 new_val = num_cores; in sysctl_debug_num_cores_check()
3077 error = sysctl_handle_int(oidp, &new_val, 0, req); in sysctl_debug_num_cores_check()
3080 if (new_val > MAX_NUM_CORES) in sysctl_debug_num_cores_check()
3081 new_val = MAX_NUM_CORES; in sysctl_debug_num_cores_check()
3082 if (new_val < 0) in sysctl_debug_num_cores_check()
3083 new_val = 0; in sysctl_debug_num_cores_check()
3084 num_cores = new_val; in sysctl_debug_num_cores_check()
HDsched_ule.c2843 int error, new_val, period; in sysctl_kern_quantum() local
2846 new_val = period * sched_slice; in sysctl_kern_quantum()
2847 error = sysctl_handle_int(oidp, &new_val, 0, req); in sysctl_kern_quantum()
2850 if (new_val <= 0) in sysctl_kern_quantum()
2852 sched_slice = imax(1, (new_val + period / 2) / period); in sysctl_kern_quantum()
/trueos/contrib/apr/tables/
HDapr_tables.c1151 char *new_val; in apr_table_compress() local
1157 new_val = (char *)apr_palloc(t->a.pool, len); in apr_table_compress()
1158 val_dst = new_val; in apr_table_compress()
1173 (*last)->val = new_val; in apr_table_compress()
/trueos/contrib/llvm/tools/lldb/include/lldb/Target/
HDThread.h291 SetQueueID (lldb::queue_id_t new_val) in SetQueueID() argument
/trueos/sys/dev/sound/pci/
HDemu10kx.c1589 int new_val; in sysctl_emu_digitalswitch_control() local
1594 new_val = (sc->mode == MODE_DIGITAL) ? 1 : 0; in sysctl_emu_digitalswitch_control()
1595 err = sysctl_handle_int(oidp, &new_val, 0, req); in sysctl_emu_digitalswitch_control()
1599 if (new_val < 0 || new_val > 1) in sysctl_emu_digitalswitch_control()
1602 switch (new_val) { in sysctl_emu_digitalswitch_control()

12