Home
last modified time | relevance | path

Searched refs:init_val (Results 1 – 25 of 46) sorted by relevance

12

/linux/drivers/acpi/acpica/
H A Dnsaccess.c37 const struct acpi_predefined_names *init_val = NULL; in acpi_ns_root_initialize() local
85 for (init_val = acpi_gbl_pre_defined_names; init_val->name; init_val++) { in acpi_ns_root_initialize()
90 if (!strcmp(init_val->name, "_OSI") in acpi_ns_root_initialize()
102 acpi_ns_create_node(*ACPI_CAST_PTR(u32, init_val->name)); in acpi_ns_root_initialize()
109 new_node->type = init_val->type; in acpi_ns_root_initialize()
124 if (init_val->val) { in acpi_ns_root_initialize()
125 status = acpi_os_predefined_override(init_val, &val); in acpi_ns_root_initialize()
129 init_val->name)); in acpi_ns_root_initialize()
133 val = init_val->val; in acpi_ns_root_initialize()
141 acpi_ut_create_internal_object(init_val->type); in acpi_ns_root_initialize()
[all …]
/linux/samples/bpf/
H A Dmap_perf_test.bpf.c107 long init_val = 1; in BPF_KSYSCALL() local
112 bpf_map_update_elem(&hash_map, &key, &init_val, BPF_ANY); in BPF_KSYSCALL()
125 long init_val = 1; in BPF_KSYSCALL() local
130 bpf_map_update_elem(&percpu_hash_map, &key, &init_val, BPF_ANY); in BPF_KSYSCALL()
142 long init_val = 1; in BPF_KSYSCALL() local
147 bpf_map_update_elem(&hash_map_alloc, &key, &init_val, BPF_ANY); in BPF_KSYSCALL()
159 long init_val = 1; in BPF_KSYSCALL() local
164 bpf_map_update_elem(&percpu_hash_map_alloc, &key, &init_val, BPF_ANY); in BPF_KSYSCALL()
H A Dsampleip_kern.c26 u32 *value, init_val = 1; in do_sample() local
34 bpf_map_update_elem(&ip_map, &ip, &init_val, BPF_NOEXIST); in do_sample()
H A Dlwt_len_hist.bpf.c49 __u64 *value, key, init_val = 1; in do_len_hist() local
57 bpf_map_update_elem(&lwt_len_hist_map, &key, &init_val, BPF_ANY); in do_len_hist()
H A Dsyscall_tp_kern.c49 u32 *value, init_val = 1; in count() local
55 bpf_map_update_elem(map, &key, &init_val, BPF_NOEXIST); in count()
/linux/arch/powerpc/include/asm/
H A Dpkeys.h147 unsigned long init_val);
149 unsigned long init_val) in arch_set_user_pkey_access() argument
161 return init_val ? -EINVAL : 0; in arch_set_user_pkey_access()
163 return __arch_set_user_pkey_access(tsk, pkey, init_val); in arch_set_user_pkey_access()
/linux/drivers/leds/
H A Dleds-cpcap.c22 u16 init_val; member
49 .init_val = 0x5FF0,
58 .init_val = 0x0008,
195 led->info->init_mask, led->info->init_val); in cpcap_led_probe()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_hashmap_full_update_bench.c24 u64 init_val = 1; in loop_update_callback() local
26 bpf_map_update_elem(&hash_map_bench, key, &init_val, BPF_ANY); in loop_update_callback()
H A Drcu_read_lock.c54 long init_val = 2; in task_succ() local
66 ptr = bpf_task_storage_get(&map_a, real_parent, &init_val, in task_succ()
/linux/tools/lib/bpf/
H A Dskel_internal.h144 static inline void *skel_finalize_map_data(__u64 *init_val, size_t mmap_sz, int flags, int fd) in skel_finalize_map_data() argument
149 kvfree((void *) (long) *init_val); in skel_finalize_map_data()
150 *init_val = ~0ULL; in skel_finalize_map_data()
196 static inline void *skel_finalize_map_data(__u64 *init_val, size_t mmap_sz, int flags, int fd) in skel_finalize_map_data() argument
200 addr = mmap((void *) (long) *init_val, mmap_sz, flags, MAP_SHARED | MAP_FIXED, fd, 0); in skel_finalize_map_data()
/linux/arch/powerpc/mm/book3s64/
H A Dpkeys.c339 unsigned long init_val) in __arch_set_user_pkey_access() argument
357 if (init_val & PKEY_DISABLE_EXECUTE) { in __arch_set_user_pkey_access()
365 if (init_val & PKEY_DISABLE_ACCESS) in __arch_set_user_pkey_access()
367 else if (init_val & PKEY_DISABLE_WRITE) in __arch_set_user_pkey_access()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_init_ops.c136 p_hwfn->rt_data.init_val[rt_offset] = val; in qed_init_store_rt_reg()
154 p_hwfn->rt_data.init_val[rt_offset + i] = p_val[i]; in qed_init_store_rt_agg()
163 u32 *p_init_val = &p_hwfn->rt_data.init_val[rt_offset]; in qed_init_rt()
218 rt_data->init_val = kcalloc(RUNTIME_ARRAY_SIZE, sizeof(u32), in qed_init_alloc()
220 if (!rt_data->init_val) { in qed_init_alloc()
231 kfree(p_hwfn->rt_data.init_val); in qed_init_free()
232 p_hwfn->rt_data.init_val = NULL; in qed_init_free()
/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_eqs.c592 static void aeq_elements_init(struct hinic_eq *eq, u32 init_val) in aeq_elements_init() argument
599 aeqe->desc = cpu_to_be32(init_val); in aeq_elements_init()
610 static void ceq_elements_init(struct hinic_eq *eq, u32 init_val) in ceq_elements_init() argument
617 *(ceqe) = cpu_to_be32(init_val); in ceq_elements_init()
633 u32 init_val, addr, val; in alloc_eq_pages() local
669 init_val = HINIC_EQ_ELEM_DESC_SET(eq->wrapped, WRAPPED); in alloc_eq_pages()
672 aeq_elements_init(eq, init_val); in alloc_eq_pages()
674 ceq_elements_init(eq, init_val); in alloc_eq_pages()
/linux/drivers/net/wireless/ath/ath5k/
H A Dattach.c46 u32 init_val; in ath5k_hw_post() local
54 init_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post()
87 ath5k_hw_reg_write(ah, init_val, cur_reg); in ath5k_hw_post()
/linux/tools/perf/util/
H A Dutil.c436 * x elements of size msz, initializing new entries to *init_val or zero if in perf_tip()
437 * init_val is NULL in perf_tip()
439 int do_realloc_array_as_needed(void **arr, size_t *arr_sz, size_t x, size_t msz, const void *init_val) in perf_tip()
458 if (init_val) { in perf_exe()
460 memcpy(new_arr + (i * msz), init_val, msz); in perf_exe()
518 do_realloc_array_as_needed(void ** arr,size_t * arr_sz,size_t x,size_t msz,const void * init_val) do_realloc_array_as_needed() argument
H A Dutil.h88 size_t msz, const void *init_val);
/linux/include/linux/
H A Dpkeys.h39 unsigned long init_val) in arch_set_user_pkey_access() argument
/linux/drivers/perf/
H A Driscv_pmu.c245 u64 init_val; in riscv_pmu_start() local
252 init_val = local64_read(&hwc->prev_count) & max_period; in riscv_pmu_start()
253 rvpmu->ctr_start(event, init_val); in riscv_pmu_start()
H A Driscv_pmu_sbi.c873 u64 init_val = 0; in pmu_sbi_start_ovf_ctrs_sbi() local
888 init_val = local64_read(&hwc->prev_count) & max_period; in pmu_sbi_start_ovf_ctrs_sbi()
891 flag, init_val, init_val >> 32, 0); in pmu_sbi_start_ovf_ctrs_sbi()
894 flag, init_val, 0, 0); in pmu_sbi_start_ovf_ctrs_sbi()
909 u64 max_period, init_val = 0; in pmu_sbi_start_ovf_ctrs_snapshot() local
918 init_val = local64_read(&hwc->prev_count) & max_period; in pmu_sbi_start_ovf_ctrs_snapshot()
919 cpu_hw_evt->snapshot_cval_shcopy[idx] = init_val; in pmu_sbi_start_ovf_ctrs_snapshot()
/linux/include/drm/
H A Ddrm_mode_object.h139 uint64_t init_val);
/linux/arch/arm64/include/asm/
H A Dpkeys.h16 unsigned long init_val);
/linux/arch/x86/include/asm/
H A Dpkeys.h13 unsigned long init_val);
/linux/include/linux/perf/
H A Driscv_pmu.h63 void (*ctr_start)(struct perf_event *event, u64 init_val);
/linux/drivers/i2c/
H A Di2c-core-smbus.c302 static void i2c_smbus_try_get_dmabuf(struct i2c_msg *msg, u8 init_val) in i2c_smbus_try_get_dmabuf() argument
314 if (init_val) in i2c_smbus_try_get_dmabuf()
315 msg->buf[0] = init_val; in i2c_smbus_try_get_dmabuf()
/linux/tools/testing/selftests/mm/
H A Dprotection_keys.c483 int sys_pkey_alloc(unsigned long flags, unsigned long init_val) in sys_pkey_alloc() argument
485 int ret = syscall(SYS_pkey_alloc, flags, init_val); in sys_pkey_alloc()
487 __func__, flags, init_val, ret, errno); in sys_pkey_alloc()
494 unsigned long init_val = 0x0; in alloc_pkey() local
498 ret = sys_pkey_alloc(0, init_val); in alloc_pkey()
521 init_val); in alloc_pkey()

12