Home
last modified time | relevance | path

Searched refs:env (Results 1451 - 1475 of 3168) sorted by relevance

1...<<51525354555657585960>>...127

/kernel/linux/linux-6.6/drivers/firmware/arm_ffa/
H A Dbus.c62 static int ffa_device_uevent(const struct device *dev, struct kobj_uevent_env *env) in ffa_device_uevent() argument
66 return add_uevent_var(env, "MODALIAS=arm_ffa:%04x:%pUb", in ffa_device_uevent()
/kernel/linux/linux-6.6/drivers/gpu/drm/display/
H A Ddrm_dp_aux_bus.c164 static int dp_aux_ep_dev_modalias(const struct device *dev, struct kobj_uevent_env *env) in dp_aux_ep_dev_modalias() argument
166 return of_device_uevent_modalias(dev, env); in dp_aux_ep_dev_modalias()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dlog_buf.c86 if (env.verbosity > VERBOSE_NONE) { in obj_load_log_buf()
127 if (env.verbosity > VERBOSE_NONE) { in obj_load_log_buf()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage.c73 if (env.producer_cnt != 1) { in validate()
77 if (env.consumer_cnt != 0) { in validate()
H A Dbench_bpf_hashmap_full_update.c17 if (env.consumer_cnt != 0) { in validate()
H A Dbench_bpf_loop.c50 if (env.consumer_cnt != 0) { in validate()
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/stack/
H A Dstack_transform_test.cpp26 static napi_value TestStackTransform001(napi_env env, napi_callback_info info) in TestStackTransform001() argument
58 static napi_value TestStackTransform002(napi_env env, napi_callback_info info) in TestStackTransform002() argument
/kernel/linux/linux-5.10/drivers/base/
H A Dcore.c1895 struct kobj_uevent_env *env) in dev_uevent()
1909 add_uevent_var(env, "MAJOR=%u", MAJOR(dev->devt)); in dev_uevent()
1910 add_uevent_var(env, "MINOR=%u", MINOR(dev->devt)); in dev_uevent()
1913 add_uevent_var(env, "DEVNAME=%s", name); in dev_uevent()
1915 add_uevent_var(env, "DEVMODE=%#o", mode & 0777); in dev_uevent()
1917 add_uevent_var(env, "DEVUID=%u", from_kuid(&init_user_ns, uid)); in dev_uevent()
1919 add_uevent_var(env, "DEVGID=%u", from_kgid(&init_user_ns, gid)); in dev_uevent()
1925 add_uevent_var(env, "DEVTYPE=%s", dev->type->name); in dev_uevent()
1931 add_uevent_var(env, "DRIVER=%s", driver->name); in dev_uevent()
1935 of_device_uevent(dev, env); in dev_uevent()
1894 dev_uevent(struct kset *kset, struct kobject *kobj, struct kobj_uevent_env *env) dev_uevent() argument
1977 struct kobj_uevent_env *env = NULL; uevent_show() local
[all...]
/kernel/linux/linux-6.6/drivers/base/
H A Dcore.c2550 static int dev_uevent(const struct kobject *kobj, struct kobj_uevent_env *env) in dev_uevent() argument
2563 add_uevent_var(env, "MAJOR=%u", MAJOR(dev->devt)); in dev_uevent()
2564 add_uevent_var(env, "MINOR=%u", MINOR(dev->devt)); in dev_uevent()
2567 add_uevent_var(env, "DEVNAME=%s", name); in dev_uevent()
2569 add_uevent_var(env, "DEVMODE=%#o", mode & 0777); in dev_uevent()
2571 add_uevent_var(env, "DEVUID=%u", from_kuid(&init_user_ns, uid)); in dev_uevent()
2573 add_uevent_var(env, "DEVGID=%u", from_kgid(&init_user_ns, gid)); in dev_uevent()
2579 add_uevent_var(env, "DEVTYPE=%s", dev->type->name); in dev_uevent()
2582 add_uevent_var(env, "DRIVER=%s", dev->driver->name); in dev_uevent()
2585 of_device_uevent(dev, env); in dev_uevent()
2627 struct kobj_uevent_env *env = NULL; uevent_show() local
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/toggle/
H A Dtoggle_switch_test.cpp20 static napi_value TestToggleSwitch001(napi_env env, napi_callback_info info) in TestToggleSwitch001() argument
/kernel/linux/linux-5.10/tools/perf/ui/browsers/
H A Dhists.c2252 struct perf_env *env, in perf_evsel_browser__new()
2259 browser->env = env; in perf_evsel_browser__new()
2435 perf_env__lookup_objdump(browser->env, &browser->annotation_opts->objdump_path)) in do_annotate()
2944 struct perf_env *env, in perf_evsel__hists_browse()
2949 struct hist_browser *browser = perf_evsel_browser__new(evsel, hbt, env, annotation_opts); in perf_evsel__hists_browse()
3177 /* env->arch is NULL for live-mode (i.e. perf top) */ in perf_evsel__hists_browse()
3178 if (env->arch) in perf_evsel__hists_browse()
3179 tui__header_window(env); in perf_evsel__hists_browse()
3402 struct perf_env *env; member
2250 perf_evsel_browser__new(struct evsel *evsel, struct hist_browser_timer *hbt, struct perf_env *env, struct annotation_options *annotation_opts) perf_evsel_browser__new() argument
2939 perf_evsel__hists_browse(struct evsel *evsel, int nr_events, const char *helpline, bool left_exits, struct hist_browser_timer *hbt, float min_pcnt, struct perf_env *env, bool warn_lost_event, struct annotation_options *annotation_opts) perf_evsel__hists_browse() argument
3558 __perf_evlist__tui_browse_hists(struct evlist *evlist, int nr_entries, const char *help, struct hist_browser_timer *hbt, float min_pcnt, struct perf_env *env, bool warn_lost_event, struct annotation_options *annotation_opts) __perf_evlist__tui_browse_hists() argument
3613 perf_evlist__tui_browse_hists(struct evlist *evlist, const char *help, struct hist_browser_timer *hbt, float min_pcnt, struct perf_env *env, bool warn_lost_event, struct annotation_options *annotation_opts) perf_evlist__tui_browse_hists() argument
3667 block_hists_tui_browse(struct block_hist *bh, struct evsel *evsel, float min_percent, struct perf_env *env, struct annotation_options *annotation_opts) block_hists_tui_browse() argument
[all...]
/kernel/linux/linux-6.6/tools/perf/ui/browsers/
H A Dhists.c2253 struct perf_env *env, in perf_evsel_browser__new()
2260 browser->env = env; in perf_evsel_browser__new()
2436 perf_env__lookup_objdump(browser->env, &browser->annotation_opts->objdump_path)) in do_annotate()
2946 struct perf_env *env, bool warn_lost_event, in evsel__hists_browse()
2950 struct hist_browser *browser = perf_evsel_browser__new(evsel, hbt, env, annotation_opts); in evsel__hists_browse()
3179 /* env->arch is NULL for live-mode (i.e. perf top) */ in evsel__hists_browse()
3180 if (env->arch) in evsel__hists_browse()
3181 tui__header_window(env); in evsel__hists_browse()
3404 struct perf_env *env; member
2251 perf_evsel_browser__new(struct evsel *evsel, struct hist_browser_timer *hbt, struct perf_env *env, struct annotation_options *annotation_opts) perf_evsel_browser__new() argument
2944 evsel__hists_browse(struct evsel *evsel, int nr_events, const char *helpline, bool left_exits, struct hist_browser_timer *hbt, float min_pcnt, struct perf_env *env, bool warn_lost_event, struct annotation_options *annotation_opts) evsel__hists_browse() argument
3558 __evlist__tui_browse_hists(struct evlist *evlist, int nr_entries, const char *help, struct hist_browser_timer *hbt, float min_pcnt, struct perf_env *env, bool warn_lost_event, struct annotation_options *annotation_opts) __evlist__tui_browse_hists() argument
3609 evlist__tui_browse_hists(struct evlist *evlist, const char *help, struct hist_browser_timer *hbt, float min_pcnt, struct perf_env *env, bool warn_lost_event, struct annotation_options *annotation_opts) evlist__tui_browse_hists() argument
3656 block_hists_tui_browse(struct block_hist *bh, struct evsel *evsel, float min_percent, struct perf_env *env, struct annotation_options *annotation_opts) block_hists_tui_browse() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dhist.h469 struct perf_env *env,
481 float min_percent, struct perf_env *env,
489 struct perf_env *env __maybe_unused, in perf_evlist__tui_browse_hists()
530 struct perf_env *env __maybe_unused, in block_hists_tui_browse()
H A Devent.c657 struct perf_env *env = machine->env; in machine__resolve() local
659 if (env && env->cpu) in machine__resolve()
660 al->socket = env->cpu[al->cpu].socket_id; in machine__resolve()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dhist.h484 float min_pcnt, struct perf_env *env, bool warn_lost_event,
495 float min_percent, struct perf_env *env,
503 struct perf_env *env __maybe_unused, in evlist__tui_browse_hists()
544 struct perf_env *env __maybe_unused, in block_hists_tui_browse()
H A Devent.c744 struct perf_env *env = machine->env; in machine__resolve() local
746 if (env && env->cpu) in machine__resolve()
747 al->socket = env->cpu[al->cpu].socket_id; in machine__resolve()
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/
H A Dnapi_render_init.cpp116 static napi_value Init(napi_env env, napi_value exports) in Init() argument
119 if ((env == nullptr) || (exports == nullptr)) { in Init()
120 OH_LOG_Print(LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "Init", "env or exports is null"); in Init()
405 if (napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc) != napi_ok) { in Init()
410 PluginManager::GetInstance()->Export(env, exports); in Init()
/kernel/linux/linux-5.10/drivers/misc/mei/
H A Dbus.c920 * @env: uevent kobject
924 static int mei_cl_device_uevent(struct device *dev, struct kobj_uevent_env *env) in mei_cl_device_uevent() argument
930 if (add_uevent_var(env, "MEI_CL_VERSION=%d", version)) in mei_cl_device_uevent()
933 if (add_uevent_var(env, "MEI_CL_UUID=%pUl", uuid)) in mei_cl_device_uevent()
936 if (add_uevent_var(env, "MEI_CL_NAME=%s", cldev->name)) in mei_cl_device_uevent()
939 if (add_uevent_var(env, "MODALIAS=mei:%s:%pUl:%02X:", in mei_cl_device_uevent()
/kernel/linux/linux-6.6/fs/gfs2/
H A Dsys.c780 static int gfs2_uevent(const struct kobject *kobj, struct kobj_uevent_env *env) in gfs2_uevent() argument
785 add_uevent_var(env, "LOCKTABLE=%s", sdp->sd_table_name); in gfs2_uevent()
786 add_uevent_var(env, "LOCKPROTO=%s", sdp->sd_proto_name); in gfs2_uevent()
788 add_uevent_var(env, "JOURNALID=%d", sdp->sd_lockstruct.ls_jid); in gfs2_uevent()
790 add_uevent_var(env, "UUID=%pUB", &s->s_uuid); in gfs2_uevent()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_obj_id.c128 (env.jit_enabled && !prog_infos[i].jited_prog_len) || in test_bpf_obj_id()
129 (env.jit_enabled && in test_bpf_obj_id()
147 env.jit_enabled, in test_bpf_obj_id()
/kernel/linux/linux-5.10/drivers/soc/qcom/
H A Dapr.c252 static int apr_uevent(struct device *dev, struct kobj_uevent_env *env) in apr_uevent() argument
257 ret = of_device_uevent_modalias(dev, env); in apr_uevent()
261 return add_uevent_var(env, "MODALIAS=apr:%s", adev->name); in apr_uevent()
/kernel/linux/linux-5.10/drivers/rpmsg/
H A Drpmsg_core.c425 static int rpmsg_uevent(struct device *dev, struct kobj_uevent_env *env) in rpmsg_uevent() argument
430 ret = of_device_uevent_modalias(dev, env); in rpmsg_uevent()
434 return add_uevent_var(env, "MODALIAS=" RPMSG_DEVICE_MODALIAS_FMT, in rpmsg_uevent()
/kernel/linux/linux-6.6/drivers/amba/
H A Dbus.c238 static int amba_uevent(const struct device *dev, struct kobj_uevent_env *env) in amba_uevent() argument
243 retval = add_uevent_var(env, "AMBA_ID=%08x", pcdev->periphid); in amba_uevent()
247 retval = add_uevent_var(env, "MODALIAS=amba:d%08X", pcdev->periphid); in amba_uevent()
/kernel/linux/linux-6.6/drivers/rpmsg/
H A Drpmsg_core.c514 static int rpmsg_uevent(const struct device *dev, struct kobj_uevent_env *env) in rpmsg_uevent() argument
519 ret = of_device_uevent_modalias(dev, env); in rpmsg_uevent()
523 return add_uevent_var(env, "MODALIAS=" RPMSG_DEVICE_MODALIAS_FMT, in rpmsg_uevent()
/kernel/linux/linux-6.6/drivers/usb/phy/
H A Dphy.c148 static int usb_phy_uevent(const struct device *dev, struct kobj_uevent_env *env) in usb_phy_uevent() argument
168 if (add_uevent_var(env, uchger_state)) in usb_phy_uevent()
171 if (add_uevent_var(env, uchger_type)) in usb_phy_uevent()

Completed in 37 milliseconds

1...<<51525354555657585960>>...127