/linux-4.4.14/tools/perf/util/ |
D | env.c | 7 void perf_env__exit(struct perf_env *env) in perf_env__exit() argument 9 zfree(&env->hostname); in perf_env__exit() 10 zfree(&env->os_release); in perf_env__exit() 11 zfree(&env->version); in perf_env__exit() 12 zfree(&env->arch); in perf_env__exit() 13 zfree(&env->cpu_desc); in perf_env__exit() 14 zfree(&env->cpuid); in perf_env__exit() 15 zfree(&env->cmdline); in perf_env__exit() 16 zfree(&env->cmdline_argv); in perf_env__exit() 17 zfree(&env->sibling_cores); in perf_env__exit() [all …]
|
D | header.c | 874 fprintf(fp, "# hostname : %s\n", ph->env.hostname); in print_hostname() 880 fprintf(fp, "# os release : %s\n", ph->env.os_release); in print_osrelease() 885 fprintf(fp, "# arch : %s\n", ph->env.arch); in print_arch() 891 fprintf(fp, "# cpudesc : %s\n", ph->env.cpu_desc); in print_cpudesc() 897 fprintf(fp, "# nrcpus online : %u\n", ph->env.nr_cpus_online); in print_nrcpus() 898 fprintf(fp, "# nrcpus avail : %u\n", ph->env.nr_cpus_avail); in print_nrcpus() 904 fprintf(fp, "# perf version : %s\n", ph->env.version); in print_version() 912 nr = ph->env.nr_cmdline; in print_cmdline() 917 fprintf(fp, "%s ", ph->env.cmdline_argv[i]); in print_cmdline() 926 int cpu_nr = ph->env.nr_cpus_online; in print_cpu_topology() [all …]
|
D | pager.c | 88 const char *env; in pager_in_use() local 93 env = getenv("PERF_PAGER_IN_USE"); in pager_in_use() 94 return env ? perf_config_bool("PERF_PAGER_IN_USE", env) : 0; in pager_in_use()
|
D | exec_cmd.c | 57 const char *env; in perf_exec_path() local 62 env = getenv(EXEC_PATH_ENVIRONMENT); in perf_exec_path() 63 if (env && *env) { in perf_exec_path() 64 return env; in perf_exec_path()
|
D | llvm-utils.c | 55 char *env, *path, *tmp = NULL; in search_program() local 70 env = getenv("PATH"); in search_program() 71 if (!env) in search_program() 73 env = strdup(env); in search_program() 74 if (!env) in search_program() 78 path = strtok_r(env, ":", &tmp); in search_program() 89 free(env); in search_program()
|
D | env.h | 38 void perf_env__exit(struct perf_env *env); 40 int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]); 42 int perf_env__read_cpu_topology_map(struct perf_env *env);
|
D | run-command.c | 105 if (cmd->env) { in start_command() 106 for (; *cmd->env; cmd->env++) { in start_command() 107 if (strchr(*cmd->env, '=')) in start_command() 108 putenv((char*)*cmd->env); in start_command() 110 unsetenv(*cmd->env); in start_command()
|
D | run-command.h | 40 const char *const *env; member
|
D | data-convert-bt.c | 870 ncpus = ph->env.nr_cpus_avail ?: MAX_CPUS; in setup_streams() 905 ADD("host", header->env.hostname); in ctf_writer__setup_env() 907 ADD("release", header->env.os_release); in ctf_writer__setup_env() 908 ADD("version", header->env.version); in ctf_writer__setup_env() 909 ADD("machine", header->env.arch); in ctf_writer__setup_env()
|
D | header.h | 76 struct perf_env env; member
|
D | hist.h | 322 struct perf_env *env); 330 struct perf_env *env __maybe_unused) in perf_evlist__tui_browse_hists()
|
D | event.c | 1027 struct perf_env *env = machine->env; in perf_event__preprocess_sample() local 1029 if (env && env->cpu) in perf_event__preprocess_sample() 1030 al->socket = env->cpu[al->cpu].socket_id; in perf_event__preprocess_sample()
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | cl_lock.c | 76 static int cl_lock_invariant_trusted(const struct lu_env *env, in cl_lock_invariant_trusted() argument 92 static int cl_lock_invariant(const struct lu_env *env, in cl_lock_invariant() argument 98 cl_lock_invariant_trusted(env, lock); in cl_lock_invariant() 99 if (!result && env != NULL) in cl_lock_invariant() 100 CL_LOCK_DEBUG(D_ERROR, env, lock, "invariant broken"); in cl_lock_invariant() 115 static struct cl_thread_counters *cl_lock_counters(const struct lu_env *env, in cl_lock_counters() argument 121 info = cl_env_info(env); in cl_lock_counters() 127 static void cl_lock_trace0(int level, const struct lu_env *env, in cl_lock_trace0() argument 138 env, h->coh_nesting, cl_lock_nr_mutexed(env), in cl_lock_trace0() 142 #define cl_lock_trace(level, env, prefix, lock) \ argument [all …]
|
D | cl_page.c | 51 static void cl_page_delete0(const struct lu_env *env, struct cl_page *pg, 54 # define PASSERT(env, page, expr) \ argument 57 CL_PAGE_DEBUG(D_ERROR, (env), (page), #expr "\n"); \ 62 # define PINVRNT(env, page, exp) \ argument 63 ((void)sizeof(env), (void)sizeof(page), (void)sizeof !!(exp)) 148 int cl_page_gang_lookup(const struct lu_env *env, struct cl_object *obj, in cl_page_gang_lookup() argument 166 pvec = cl_env_info(env)->clt_pvec; in cl_page_gang_lookup() 191 PASSERT(env, page, slice != NULL); in cl_page_gang_lookup() 221 res = (*cb)(env, io, page, cbdata); in cl_page_gang_lookup() 224 cl_page_put(env, page); in cl_page_gang_lookup() [all …]
|
D | cl_object.c | 108 struct cl_object *cl_object_find(const struct lu_env *env, in cl_object_find() argument 113 return lu2cl(lu_object_find_slice(env, cl2lu_dev(cd), fid, &c->coc_lu)); in cl_object_find() 125 void cl_object_put(const struct lu_env *env, struct cl_object *o) in cl_object_put() argument 127 lu_object_put(env, &o->co_lu); in cl_object_put() 209 int cl_object_attr_get(const struct lu_env *env, struct cl_object *obj, in cl_object_attr_get() argument 221 result = obj->co_ops->coo_attr_get(env, obj, attr); in cl_object_attr_get() 240 int cl_object_attr_set(const struct lu_env *env, struct cl_object *obj, in cl_object_attr_set() argument 253 result = obj->co_ops->coo_attr_set(env, obj, attr, v); in cl_object_attr_set() 273 int cl_object_glimpse(const struct lu_env *env, struct cl_object *obj, in cl_object_glimpse() argument 284 result = obj->co_ops->coo_glimpse(env, obj, lvb); in cl_object_glimpse() [all …]
|
D | cl_io.c | 74 int cl_io_is_going(const struct lu_env *env) in cl_io_is_going() argument 76 return cl_env_info(env)->clt_current_io != NULL; in cl_io_is_going() 102 void cl_io_fini(const struct lu_env *env, struct cl_io *io) in cl_io_fini() argument 115 slice->cis_iop->op[io->ci_type].cio_fini(env, slice); in cl_io_fini() 124 info = cl_env_info(env); in cl_io_fini() 149 static int cl_io_init0(const struct lu_env *env, struct cl_io *io, in cl_io_init0() argument 168 result = scan->co_ops->coo_io_init(env, scan, io); in cl_io_init0() 183 int cl_io_sub_init(const struct lu_env *env, struct cl_io *io, in cl_io_sub_init() argument 186 struct cl_thread_info *info = cl_env_info(env); in cl_io_sub_init() 191 return cl_io_init0(env, io, iot, obj); in cl_io_sub_init() [all …]
|
D | llog_cat.c | 64 static int llog_cat_id2handle(const struct lu_env *env, in llog_cat_id2handle() argument 97 rc = llog_open(env, cathandle->lgh_ctxt, &loghandle, logid, NULL, in llog_cat_id2handle() 106 rc = llog_init_handle(env, loghandle, LLOG_F_IS_PLAIN, NULL); in llog_cat_id2handle() 108 llog_close(env, loghandle); in llog_cat_id2handle() 127 int llog_cat_close(const struct lu_env *env, struct llog_handle *cathandle) in llog_cat_close() argument 136 llog_close(env, loghandle); in llog_cat_close() 141 rc = llog_close(env, cathandle); in llog_cat_close() 146 static int llog_cat_process_cb(const struct lu_env *env, in llog_cat_process_cb() argument 163 rc = llog_cat_id2handle(env, cat_llh, &llh, &lir->lid_id); in llog_cat_process_cb() 179 rc = llog_process_or_fork(env, llh, d->lpd_cb, d->lpd_data, in llog_cat_process_cb() [all …]
|
D | lu_object.c | 61 static void lu_object_free(const struct lu_env *env, struct lu_object *o); 69 void lu_object_put(const struct lu_env *env, struct lu_object *o) in lu_object_put() argument 96 o->lo_ops->loo_object_release(env, o); in lu_object_put() 98 lu_object_free(env, orig); in lu_object_put() 123 o->lo_ops->loo_object_release(env, o); in lu_object_put() 155 lu_object_free(env, orig); in lu_object_put() 163 void lu_object_unhash(const struct lu_env *env, struct lu_object *o) in lu_object_unhash() argument 195 static struct lu_object *lu_object_alloc(const struct lu_env *env, in lu_object_alloc() argument 212 top = dev->ld_ops->ldo_object_alloc(env, NULL, dev); in lu_object_alloc() 236 result = scan->lo_ops->loo_object_init(env, scan, conf); in lu_object_alloc() [all …]
|
D | llog.c | 107 static int llog_read_header(const struct lu_env *env, in llog_read_header() argument 121 rc = lop->lop_read_header(env, handle); in llog_read_header() 141 int llog_init_handle(const struct lu_env *env, struct llog_handle *handle, in llog_init_handle() argument 155 rc = llog_read_header(env, handle, uuid); in llog_init_handle() 342 struct lu_env env; in llog_process_thread_daemonize() local 348 rc = lu_env_init(&env, LCT_LOCAL | LCT_MG_THREAD); in llog_process_thread_daemonize() 351 lpi->lpi_env = &env; in llog_process_thread_daemonize() 355 lu_env_fini(&env); in llog_process_thread_daemonize() 361 int llog_process_or_fork(const struct lu_env *env, in llog_process_or_fork() argument 393 lpi->lpi_env = env; in llog_process_or_fork() [all …]
|
D | llog_obd.c | 71 int __llog_ctxt_put(const struct lu_env *env, struct llog_ctxt *ctxt) in __llog_ctxt_put() argument 99 rc = CTXTP(ctxt, cleanup)(env, ctxt); in __llog_ctxt_put() 107 int llog_cleanup(const struct lu_env *env, struct llog_ctxt *ctxt) in llog_cleanup() argument 132 rc = __llog_ctxt_put(env, ctxt); in llog_cleanup() 144 int llog_setup(const struct lu_env *env, struct obd_device *obd, in llog_setup() argument 196 rc = op->lop_setup(env, obd, olg, index, disk_obd); in llog_setup()
|
D | llog_internal.h | 69 int class_config_dump_handler(const struct lu_env *env, 72 int llog_process_or_fork(const struct lu_env *env, 75 int llog_cat_cleanup(const struct lu_env *env, struct llog_handle *cathandle,
|
D | cl_internal.h | 119 struct cl_thread_info *cl_env_info(const struct lu_env *env);
|
D | obd_config.c | 1064 int class_config_llog_handler(const struct lu_env *env, in class_config_llog_handler() argument 1252 int class_config_parse_llog(const struct lu_env *env, struct llog_ctxt *ctxt, in class_config_parse_llog() argument 1261 rc = llog_open(env, ctxt, &llh, NULL, name, LLOG_OPEN_EXISTS); in class_config_parse_llog() 1265 rc = llog_init_handle(env, llh, LLOG_F_IS_PLAIN, NULL); in class_config_parse_llog() 1280 rc = llog_process(env, llh, callback, cfg, &cd); in class_config_parse_llog() 1288 llog_close(env, llh); in class_config_parse_llog() 1346 int class_config_dump_handler(const struct lu_env *env, in class_config_dump_handler() argument
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
D | cl_object.h | 143 int (*cdo_req_init)(const struct lu_env *env, struct cl_device *dev, 322 int (*coo_page_init)(const struct lu_env *env, struct cl_object *obj, 331 int (*coo_lock_init)(const struct lu_env *env, 343 int (*coo_io_init)(const struct lu_env *env, 356 int (*coo_attr_get)(const struct lu_env *env, struct cl_object *obj, 369 int (*coo_attr_set)(const struct lu_env *env, struct cl_object *obj, 377 int (*coo_conf_set)(const struct lu_env *env, struct cl_object *obj, 387 int (*coo_glimpse)(const struct lu_env *env, 844 struct page *(*cpo_vmpage)(const struct lu_env *env, 855 int (*cpo_own)(const struct lu_env *env, [all …]
|
D | lclient.h | 49 int cl_glimpse_lock(const struct lu_env *env, struct cl_io *io, 114 int cl_is_normalio(const struct lu_env *env, const struct cl_io *io); 125 static inline struct ccc_thread_info *ccc_env_info(const struct lu_env *env) in ccc_env_info() argument 129 info = lu_context_key_get(&env->le_ctx, &ccc_key); in ccc_env_info() 134 static inline struct cl_attr *ccc_env_thread_attr(const struct lu_env *env) in ccc_env_thread_attr() argument 136 struct cl_attr *attr = &ccc_env_info(env)->cti_attr; in ccc_env_thread_attr() 142 static inline struct cl_io *ccc_env_thread_io(const struct lu_env *env) in ccc_env_thread_io() argument 144 struct cl_io *io = &ccc_env_info(env)->cti_io; in ccc_env_thread_io() 154 static inline struct ccc_session *ccc_env_session(const struct lu_env *env) in ccc_env_session() argument 158 ses = lu_context_key_get(env->le_ses, &ccc_session_key); in ccc_env_session() [all …]
|
D | lustre_log.h | 86 int llog_init_handle(const struct lu_env *env, struct llog_handle *handle, 88 int llog_process(const struct lu_env *env, struct llog_handle *loghandle, 90 int llog_process_or_fork(const struct lu_env *env, 93 int llog_open(const struct lu_env *env, struct llog_ctxt *ctxt, 96 int llog_close(const struct lu_env *env, struct llog_handle *cathandle); 97 int llog_backup(const struct lu_env *env, struct obd_device *obd, 136 int llog_cat_close(const struct lu_env *env, struct llog_handle *cathandle); 137 int llog_cat_process(const struct lu_env *env, struct llog_handle *cat_llh, 141 int llog_setup(const struct lu_env *env, struct obd_device *obd, 144 int __llog_ctxt_put(const struct lu_env *env, struct llog_ctxt *ctxt); [all …]
|
D | lu_object.h | 141 struct lu_object *(*ldo_object_alloc)(const struct lu_env *env, 147 int (*ldo_process_config)(const struct lu_env *env, 192 typedef int (*lu_printer_t)(const struct lu_env *env, 210 int (*loo_object_init)(const struct lu_env *env, 218 int (*loo_object_start)(const struct lu_env *env, 225 void (*loo_object_delete)(const struct lu_env *env, 231 void (*loo_object_free)(const struct lu_env *env, 237 void (*loo_object_release)(const struct lu_env *env, 242 int (*loo_object_print)(const struct lu_env *env, void *cookie, 350 struct lu_device *(*ldto_device_alloc)(const struct lu_env *env, [all …]
|
D | obd_class.h | 112 int class_config_llog_handler(const struct lu_env *env, 137 int class_config_parse_llog(const struct lu_env *env, struct llog_ctxt *ctxt, 412 static inline int obd_get_info(const struct lu_env *env, in obd_get_info() argument 422 rc = OBP(exp->exp_obd, get_info)(env, exp, keylen, key, vallen, val, in obd_get_info() 427 static inline int obd_set_info_async(const struct lu_env *env, in obd_set_info_async() argument 437 rc = OBP(exp->exp_obd, set_info_async)(env, exp, keylen, key, vallen, in obd_set_info_async() 472 struct lu_env env; in obd_setup() local 478 rc = lu_env_init(&env, ldt->ldt_ctx_tags); in obd_setup() 480 env.le_ses = &session_ctx; in obd_setup() 481 d = ldt->ldt_ops->ldto_device_alloc(&env, ldt, cfg); in obd_setup() [all …]
|
D | lustre_fld.h | 132 __u32 flags, const struct lu_env *env); 136 const struct lu_env *env); 139 const struct lu_env *env);
|
D | obd.h | 969 int (*o_get_info)(const struct lu_env *env, struct obd_export *, 991 int (*o_connect)(const struct lu_env *env, 995 int (*o_reconnect)(const struct lu_env *env, 1025 int (*o_create)(const struct lu_env *env, struct obd_export *exp, 1028 int (*o_destroy)(const struct lu_env *env, struct obd_export *exp, 1036 int (*o_getattr)(const struct lu_env *env, struct obd_export *exp, 1042 int (*o_preprw)(const struct lu_env *env, int cmd, 1047 int (*o_commitrw)(const struct lu_env *env, int cmd, 1065 int (*o_health_check)(const struct lu_env *env, struct obd_device *);
|
D | lustre_fid.h | 375 int seq_client_alloc_fid(const struct lu_env *env, struct lu_client_seq *seq, 378 int fid_is_local(const struct lu_env *env,
|
D | lustre_net.h | 483 typedef int (*ptlrpc_interpterer_t)(const struct lu_env *env, 1518 static inline int ptlrpc_req_interpret(const struct lu_env *env, in ptlrpc_req_interpret() argument 1522 req->rq_status = req->rq_interpret_reply(env, req, in ptlrpc_req_interpret() 2356 int ptlrpc_check_set(const struct lu_env *env, struct ptlrpc_request_set *set); 2821 int client_connect_import(const struct lu_env *env,
|
/linux-4.4.14/lib/ |
D | kobject_uevent.c | 129 static int init_uevent_argv(struct kobj_uevent_env *env, const char *subsystem) in init_uevent_argv() argument 133 len = strlcpy(&env->buf[env->buflen], subsystem, in init_uevent_argv() 134 sizeof(env->buf) - env->buflen); in init_uevent_argv() 135 if (len >= (sizeof(env->buf) - env->buflen)) { in init_uevent_argv() 140 env->argv[0] = uevent_helper; in init_uevent_argv() 141 env->argv[1] = &env->buf[env->buflen]; in init_uevent_argv() 142 env->argv[2] = NULL; in init_uevent_argv() 144 env->buflen += len + 1; in init_uevent_argv() 167 struct kobj_uevent_env *env; in kobject_uevent_env() local 227 env = kzalloc(sizeof(struct kobj_uevent_env), GFP_KERNEL); in kobject_uevent_env() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/lclient/ |
D | glimpse.c | 86 int cl_glimpse_lock(const struct lu_env *env, struct cl_io *io, in cl_glimpse_lock() argument 89 struct cl_lock_descr *descr = &ccc_env_info(env)->cti_descr; in cl_glimpse_lock() 92 struct ccc_io *cio = ccc_env_io(env); in cl_glimpse_lock() 128 lock = cl_lock_request(env, io, descr, "glimpse", in cl_glimpse_lock() 139 result = cl_wait(env, lock); in cl_glimpse_lock() 141 cl_merge_lvb(env, inode); in cl_glimpse_lock() 152 cl_unuse(env, lock); in cl_glimpse_lock() 154 cl_lock_release(env, lock, "glimpse", current); in cl_glimpse_lock() 157 cl_merge_lvb(env, inode); in cl_glimpse_lock() 167 struct lu_env *env; in cl_io_get() local [all …]
|
D | lcommon_cl.c | 167 int ccc_device_init(const struct lu_env *env, struct lu_device *d, in ccc_device_init() argument 179 env, next, next->ld_type->ldt_name, NULL); in ccc_device_init() 187 struct lu_device *ccc_device_fini(const struct lu_env *env, in ccc_device_fini() argument 193 struct lu_device *ccc_device_alloc(const struct lu_env *env, in ccc_device_alloc() argument 226 ccc_device_free(env, lud); in ccc_device_alloc() 232 struct lu_device *ccc_device_free(const struct lu_env *env, in ccc_device_free() argument 248 int ccc_req_init(const struct lu_env *env, struct cl_device *dev, in ccc_req_init() argument 321 struct lu_object *ccc_object_alloc(const struct lu_env *env, in ccc_object_alloc() argument 347 int ccc_object_init0(const struct lu_env *env, in ccc_object_init0() argument 357 int ccc_object_init(const struct lu_env *env, struct lu_object *obj, in ccc_object_init() argument [all …]
|
D | lcommon_misc.c | 129 struct lu_env *env; in cl_get_grouplock() local 137 env = cl_env_get(&refcheck); in cl_get_grouplock() 138 if (IS_ERR(env)) in cl_get_grouplock() 139 return PTR_ERR(env); in cl_get_grouplock() 141 io = ccc_env_thread_io(env); in cl_get_grouplock() 145 rc = cl_io_init(env, io, CIT_MISC, io->ci_obj); in cl_get_grouplock() 150 cl_env_put(env, &refcheck); in cl_get_grouplock() 154 descr = &ccc_env_info(env)->cti_descr; in cl_get_grouplock() 164 lock = cl_lock_request(env, io, descr, GROUPLOCK_SCOPE, current); in cl_get_grouplock() 166 cl_io_fini(env, io); in cl_get_grouplock() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/lov/ |
D | lovsub_lock.c | 55 static void lovsub_lock_fini(const struct lu_env *env, in lovsub_lock_fini() argument 65 static void lovsub_parent_lock(const struct lu_env *env, struct lov_lock *lov) in lovsub_parent_lock() argument 72 cl_lock_mutex_get(env, parent); in lovsub_parent_lock() 75 static void lovsub_parent_unlock(const struct lu_env *env, struct lov_lock *lov) in lovsub_parent_unlock() argument 80 cl_lock_mutex_put(env, lov->lls_cl.cls_lock); in lovsub_parent_unlock() 82 cl_lock_put(env, parent); in lovsub_parent_unlock() 90 static void lovsub_lock_state(const struct lu_env *env, in lovsub_lock_state() argument 104 lovsub_parent_lock(env, lov); in lovsub_lock_state() 105 cl_lock_signal(env, parent); in lovsub_lock_state() 106 lovsub_parent_unlock(env, lov); in lovsub_lock_state() [all …]
|
D | lov_lock.c | 49 static struct cl_lock_closure *lov_closure_get(const struct lu_env *env, 52 static int lov_lock_unuse(const struct lu_env *env, 60 static struct lov_sublock_env *lov_sublock_env_get(const struct lu_env *env, in lov_sublock_env_get() argument 65 struct lov_io *lio = lov_env_io(env); in lov_sublock_env_get() 69 subenv = &lov_env_session(env)->ls_subenv; in lov_sublock_env_get() 81 subenv->lse_env = env; in lov_sublock_env_get() 85 sub = lov_sub_get(env, lio, lls->sub_stripe); in lov_sublock_env_get() 103 static void lov_sublock_adopt(const struct lu_env *env, struct lov_lock *lck, in lov_sublock_adopt() argument 118 LASSERT(lov_lock_link_find(env, lck, lsl) == NULL); in lov_sublock_adopt() 130 cl_lock_user_add(env, sublock); in lov_sublock_adopt() [all …]
|
D | lov_object.c | 57 int (*llo_init)(const struct lu_env *env, struct lov_device *dev, 61 int (*llo_delete)(const struct lu_env *env, struct lov_object *lov, 63 void (*llo_fini)(const struct lu_env *env, struct lov_object *lov, 65 void (*llo_install)(const struct lu_env *env, struct lov_object *lov, 67 int (*llo_print)(const struct lu_env *env, void *cookie, 69 int (*llo_page_init)(const struct lu_env *env, struct cl_object *obj, 71 int (*llo_lock_init)(const struct lu_env *env, 74 int (*llo_io_init)(const struct lu_env *env, 76 int (*llo_getattr)(const struct lu_env *env, struct cl_object *obj, 80 static int lov_layout_wait(const struct lu_env *env, struct lov_object *lov); [all …]
|
D | lov_page.c | 66 static void lov_page_fini(const struct lu_env *env, in lov_page_fini() argument 78 cl_page_put(env, sub); in lov_page_fini() 82 static int lov_page_own(const struct lu_env *env, in lov_page_own() argument 86 struct lov_io *lio = lov_env_io(env); in lov_page_own() 92 sub = lov_page_subio(env, lio, slice); in lov_page_own() 101 static void lov_page_assume(const struct lu_env *env, in lov_page_assume() argument 104 lov_page_own(env, slice, io, 0); in lov_page_assume() 107 static int lov_page_cache_add(const struct lu_env *env, in lov_page_cache_add() argument 111 struct lov_io *lio = lov_env_io(env); in lov_page_cache_add() 118 sub = lov_page_subio(env, lio, slice); in lov_page_cache_add() [all …]
|
D | lov_io.c | 60 static void lov_io_sub_fini(const struct lu_env *env, struct lov_io *lio, in lov_io_sub_fini() argument 134 static int lov_io_sub_init(const struct lu_env *env, struct lov_io *lio, in lov_io_sub_init() argument 213 lov_io_sub_fini(env, lio, sub); in lov_io_sub_init() 217 struct lov_io_sub *lov_sub_get(const struct lu_env *env, in lov_sub_get() argument 227 rc = lov_io_sub_init(env, lio, sub); in lov_sub_get() 259 struct lov_io_sub *lov_page_subio(const struct lu_env *env, struct lov_io *lio, in lov_page_subio() argument 272 return lov_sub_get(env, lio, stripe); in lov_page_subio() 275 static int lov_io_subio_init(const struct lu_env *env, struct lov_io *lio, in lov_io_subio_init() argument 355 static void lov_io_fini(const struct lu_env *env, const struct cl_io_slice *ios) in lov_io_fini() argument 357 struct lov_io *lio = cl2lov_io(env, ios); in lov_io_fini() [all …]
|
D | lov_cl_internal.h | 582 int lov_object_init(const struct lu_env *env, struct lu_object *obj, 584 int lovsub_object_init(const struct lu_env *env, struct lu_object *obj, 586 int lov_lock_init(const struct lu_env *env, struct cl_object *obj, 588 int lov_io_init(const struct lu_env *env, struct cl_object *obj, 590 int lovsub_lock_init(const struct lu_env *env, struct cl_object *obj, 593 int lov_lock_init_raid0(const struct lu_env *env, struct cl_object *obj, 595 int lov_lock_init_empty(const struct lu_env *env, struct cl_object *obj, 597 int lov_io_init_raid0(const struct lu_env *env, struct cl_object *obj, 599 int lov_io_init_empty(const struct lu_env *env, struct cl_object *obj, 601 int lov_io_init_released(const struct lu_env *env, struct cl_object *obj, [all …]
|
D | lovsub_object.c | 55 int lovsub_object_init(const struct lu_env *env, struct lu_object *obj, in lovsub_object_init() argument 65 below = under->ld_ops->ldo_object_alloc(env, obj->lo_header, under); in lovsub_object_init() 76 static void lovsub_object_free(const struct lu_env *env, struct lu_object *obj) in lovsub_object_free() argument 97 static int lovsub_object_print(const struct lu_env *env, void *cookie, in lovsub_object_print() argument 102 return (*p)(env, cookie, "[%d]", los->lso_index); in lovsub_object_print() 105 static int lovsub_attr_set(const struct lu_env *env, struct cl_object *obj, in lovsub_attr_set() argument 114 static int lovsub_object_glimpse(const struct lu_env *env, in lovsub_object_glimpse() argument 120 return cl_object_glimpse(env, &los->lso_super->lo_cl, lvb); in lovsub_object_glimpse() 139 struct lu_object *lovsub_object_alloc(const struct lu_env *env, in lovsub_object_alloc() argument
|
D | lov_dev.c | 121 static void lov_req_completion(const struct lu_env *env, in lov_req_completion() argument 196 static struct lu_device *lov_device_fini(const struct lu_env *env, in lov_device_fini() argument 211 cl_stack_fini(env, lovsub2cl_dev(lsd)); in lov_device_fini() 218 static int lov_device_init(const struct lu_env *env, struct lu_device *d, in lov_device_init() argument 238 cl = cl_type_setup(env, d->ld_site, &lovsub_device_type, in lov_device_init() 251 lov_device_fini(env, d); in lov_device_init() 258 static int lov_req_init(const struct lu_env *env, struct cl_device *dev, in lov_req_init() argument 295 static struct lu_device *lov_device_free(const struct lu_env *env, in lov_device_free() argument 309 static void lov_cl_del_target(const struct lu_env *env, struct lu_device *dev, in lov_cl_del_target() argument 315 cl_stack_fini(env, lovsub2cl_dev(ld->ld_target[index])); in lov_cl_del_target() [all …]
|
D | lovsub_dev.c | 53 static void lovsub_req_completion(const struct lu_env *env, in lovsub_req_completion() argument 67 static void lovsub_req_attr_set(const struct lu_env *env, in lovsub_req_attr_set() argument 93 static int lovsub_device_init(const struct lu_env *env, struct lu_device *d, in lovsub_device_init() argument 103 rc = ldt->ldt_ops->ldto_device_init(env, next, ldt->ldt_name, NULL); in lovsub_device_init() 115 static struct lu_device *lovsub_device_fini(const struct lu_env *env, in lovsub_device_fini() argument 128 static struct lu_device *lovsub_device_free(const struct lu_env *env, in lovsub_device_free() argument 136 lu_site_print(env, d->ld_site, &msgdata, lu_cdebug_printer); in lovsub_device_free() 143 static int lovsub_req_init(const struct lu_env *env, struct cl_device *dev, in lovsub_req_init() argument 168 static struct lu_device *lovsub_device_alloc(const struct lu_env *env, in lovsub_device_alloc() argument
|
D | lovsub_page.c | 53 static void lovsub_page_fini(const struct lu_env *env, in lovsub_page_fini() argument 62 int lovsub_page_init(const struct lu_env *env, struct cl_object *obj, in lovsub_page_init() argument
|
D | lov_obd.c | 199 static int lov_connect(const struct lu_env *env, in lov_connect() argument 1021 static int lov_create(const struct lu_env *env, struct obd_export *exp, in lov_create() argument 1061 static int lov_destroy(const struct lu_env *env, struct obd_export *exp, in lov_destroy() argument 1094 err = obd_destroy(env, lov->lov_tgts[req->rq_idx]->ltd_exp, in lov_destroy() 1364 static int lov_statfs(const struct lu_env *env, struct obd_export *exp, in lov_statfs() argument 1951 static int lov_get_info(const struct lu_env *env, struct obd_export *exp, in lov_get_info() argument 2017 rc = obd_get_info(env, tgt->ltd_exp, keylen, key, in lov_get_info() 2059 static int lov_set_info_async(const struct lu_env *env, struct obd_export *exp, in lov_set_info_async() argument 2125 err = obd_set_info_async(env, tgt->ltd_exp, in lov_set_info_async() 2129 err = obd_set_info_async(env, tgt->ltd_exp, in lov_set_info_async() [all …]
|
/linux-4.4.14/kernel/bpf/ |
D | verifier.c | 242 static void print_verifier_state(struct verifier_env *env) in print_verifier_state() argument 248 t = env->cur_state.regs[i].type; in print_verifier_state() 253 verbose("%d", env->cur_state.regs[i].imm); in print_verifier_state() 257 env->cur_state.regs[i].map_ptr->key_size, in print_verifier_state() 258 env->cur_state.regs[i].map_ptr->value_size); in print_verifier_state() 261 if (env->cur_state.stack_slot_type[i] == STACK_SPILL) in print_verifier_state() 263 reg_type_str[env->cur_state.spilled_regs[i / BPF_REG_SIZE].type]); in print_verifier_state() 413 static int pop_stack(struct verifier_env *env, int *prev_insn_idx) in pop_stack() argument 418 if (env->head == NULL) in pop_stack() 421 memcpy(&env->cur_state, &env->head->st, sizeof(env->cur_state)); in pop_stack() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/osc/ |
D | osc_lock.c | 63 static void osc_lock_to_lockless(const struct lu_env *env, 146 static void osc_lock_detach(const struct lu_env *env, struct osc_lock *olck) in osc_lock_detach() argument 167 struct cl_attr *attr = &osc_env_info(env)->oti_attr; in osc_lock_detach() 177 cl_object_attr_set(env, obj, attr, CAT_KMS); in osc_lock_detach() 201 static int osc_lock_unuse(const struct lu_env *env, in osc_lock_unuse() argument 217 osc_lock_detach(env, ols); in osc_lock_unuse() 237 static void osc_lock_fini(const struct lu_env *env, in osc_lock_fini() argument 257 static void osc_lock_build_policy(const struct lu_env *env, in osc_lock_build_policy() argument 318 static void osc_ast_data_put(const struct lu_env *env, struct osc_lock *olck) in osc_ast_data_put() argument 324 cl_lock_put(env, lock); in osc_ast_data_put() [all …]
|
D | osc_page.c | 47 static int osc_lru_reserve(const struct lu_env *env, struct osc_object *obj, 62 static int osc_page_is_dlocked(const struct lu_env *env, 77 info = osc_env_info(env); 89 osc_lock_build_res(env, obj, resname); 99 static int osc_page_protected(const struct lu_env *env, 121 result = osc_page_is_dlocked(env, opg, mode, 1, unref); 125 descr = &osc_env_info(env)->oti_descr; 152 static int osc_page_protected(const struct lu_env *env, in osc_page_protected() argument 165 static void osc_page_fini(const struct lu_env *env, in osc_page_fini() argument 184 static void osc_page_transfer_put(const struct lu_env *env, in osc_page_transfer_put() argument [all …]
|
D | osc_io.c | 62 static struct osc_io *cl2osc_io(const struct lu_env *env, in cl2osc_io() argument 67 LINVRNT(oio == osc_env_io(env)); in cl2osc_io() 87 static void osc_io_fini(const struct lu_env *env, const struct cl_io_slice *io) in osc_io_fini() argument 98 static int osc_io_submit(const struct lu_env *env, in osc_io_submit() argument 127 brw_flags = osc_io_srvlock(cl2osc_io(env, ios)) ? OBD_BRW_SRVLOCK : 0; in osc_io_submit() 152 result = cl_page_prep(env, io, page, crt); in osc_io_submit() 170 osc_page_submit(env, opg, crt, brw_flags); in osc_io_submit() 174 result = osc_queue_sync_pages(env, osc, &list, cmd, in osc_io_submit() 182 result = osc_queue_sync_pages(env, osc, &list, cmd, brw_flags); in osc_io_submit() 188 static void osc_page_touch_at(const struct lu_env *env, in osc_page_touch_at() argument [all …]
|
D | osc_cl_internal.h | 414 int osc_lock_init(const struct lu_env *env, 417 int osc_io_init (const struct lu_env *env, 419 int osc_req_init (const struct lu_env *env, struct cl_device *dev, 421 struct lu_object *osc_object_alloc(const struct lu_env *env, 424 int osc_page_init(const struct lu_env *env, struct cl_object *obj, 429 int osc_lvb_print (const struct lu_env *env, void *cookie, 432 void osc_page_submit(const struct lu_env *env, struct osc_page *opg, 434 int osc_cancel_async_page(const struct lu_env *env, struct osc_page *ops); 439 int osc_queue_async_io(const struct lu_env *env, struct cl_io *io, 441 int osc_teardown_async_page(const struct lu_env *env, struct osc_object *obj, [all …]
|
D | osc_cache.c | 50 static int osc_extent_wait(const struct lu_env *env, struct osc_extent *ext, 52 static void osc_ap_completion(const struct lu_env *env, struct client_obd *cli, 54 static int osc_make_ready(const struct lu_env *env, struct osc_async_page *oap, 56 static int osc_refresh_count(const struct lu_env *env, 58 static int osc_io_unplug_async(const struct lu_env *env, 378 static void osc_extent_put(const struct lu_env *env, struct osc_extent *ext) in osc_extent_put() argument 388 cl_lock_put(env, ext->oe_osclock); in osc_extent_put() 526 static int osc_extent_merge(const struct lu_env *env, struct osc_extent *cur, in osc_extent_merge() argument 568 osc_extent_put(env, victim); in osc_extent_merge() 577 void osc_extent_release(const struct lu_env *env, struct osc_extent *ext) in osc_extent_release() argument [all …]
|
D | osc_object.c | 72 static int osc_object_init(const struct lu_env *env, struct lu_object *obj, in osc_object_init() argument 103 static void osc_object_free(const struct lu_env *env, struct lu_object *obj) in osc_object_free() argument 128 int osc_lvb_print(const struct lu_env *env, void *cookie, in osc_lvb_print() argument 131 return (*p)(env, cookie, "size: %llu mtime: %llu atime: %llu ctime: %llu blocks: %llu", in osc_lvb_print() 136 static int osc_object_print(const struct lu_env *env, void *cookie, in osc_object_print() argument 143 …(*p)(env, cookie, "id: " DOSTID " idx: %d gen: %d kms_valid: %u kms %llu rc: %d force_sync: %d min… in osc_object_print() 147 osc_lvb_print(env, cookie, p, &oinfo->loi_lvb); in osc_object_print() 151 static int osc_attr_get(const struct lu_env *env, struct cl_object *obj, in osc_attr_get() argument 161 int osc_attr_set(const struct lu_env *env, struct cl_object *obj, in osc_attr_set() argument 185 static int osc_object_glimpse(const struct lu_env *env, in osc_object_glimpse() argument [all …]
|
D | osc_dev.c | 173 static int osc_cl_process_config(const struct lu_env *env, in osc_cl_process_config() argument 189 static int osc_device_init(const struct lu_env *env, struct lu_device *d, in osc_device_init() argument 195 static struct lu_device *osc_device_fini(const struct lu_env *env, in osc_device_fini() argument 201 static struct lu_device *osc_device_free(const struct lu_env *env, in osc_device_free() argument 211 static struct lu_device *osc_device_alloc(const struct lu_env *env, in osc_device_alloc() argument 234 osc_device_free(env, d); in osc_device_alloc()
|
D | osc_request.c | 105 static int brw_interpret(const struct lu_env *env, 213 static int osc_getattr_interpret(const struct lu_env *env, in osc_getattr_interpret() argument 271 static int osc_getattr(const struct lu_env *env, struct obd_export *exp, in osc_getattr() argument 314 static int osc_setattr(const struct lu_env *env, struct obd_export *exp, in osc_setattr() argument 355 static int osc_setattr_interpret(const struct lu_env *env, in osc_setattr_interpret() argument 564 static int osc_sync_interpret(const struct lu_env *env, in osc_sync_interpret() argument 663 static int osc_destroy_interpret(const struct lu_env *env, in osc_destroy_interpret() argument 692 int osc_create(const struct lu_env *env, struct obd_export *exp, in osc_create() argument 726 static int osc_destroy(const struct lu_env *env, struct obd_export *exp, in osc_destroy() argument 860 static int osc_set_info_async(const struct lu_env *env, struct obd_export *exp, [all …]
|
D | osc_internal.h | 92 int osc_create(const struct lu_env *env, struct obd_export *exp, 134 int osc_build_rpc(const struct lu_env *env, struct client_obd *cli,
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | vvp_io.c | 49 static struct vvp_io *cl2vvp_io(const struct lu_env *env, 55 int cl_is_normalio(const struct lu_env *env, const struct cl_io *io) in cl_is_normalio() argument 57 struct vvp_io *vio = vvp_env_io(env); in cl_is_normalio() 70 static bool can_populate_pages(const struct lu_env *env, struct cl_io *io, in can_populate_pages() argument 74 struct ccc_io *cio = ccc_env_io(env); in can_populate_pages() 103 static int vvp_io_fault_iter_init(const struct lu_env *env, in vvp_io_fault_iter_init() argument 106 struct vvp_io *vio = cl2vvp_io(env, ios); in vvp_io_fault_iter_init() 110 file_inode(cl2ccc_io(env, ios)->cui_fd->fd_file)); in vvp_io_fault_iter_init() 115 static void vvp_io_fini(const struct lu_env *env, const struct cl_io_slice *ios) in vvp_io_fini() argument 119 struct ccc_io *cio = cl2ccc_io(env, ios); in vvp_io_fini() [all …]
|
D | vvp_dev.c | 138 static struct lu_device *vvp_device_alloc(const struct lu_env *env, in vvp_device_alloc() argument 142 return ccc_device_alloc(env, t, cfg, &vvp_lu_ops, &vvp_cl_ops); in vvp_device_alloc() 198 struct lu_env *env; in cl_sb_init() local 203 env = cl_env_get(&refcheck); in cl_sb_init() 204 if (!IS_ERR(env)) { in cl_sb_init() 205 cl = cl_type_setup(env, NULL, &vvp_device_type, in cl_sb_init() 212 cl_env_put(env, &refcheck); in cl_sb_init() 214 rc = PTR_ERR(env); in cl_sb_init() 221 struct lu_env *env; in cl_sb_fini() local 227 env = cl_env_get(&refcheck); in cl_sb_fini() [all …]
|
D | vvp_page.c | 63 static void vvp_page_fini(const struct lu_env *env, in vvp_page_fini() argument 77 static int vvp_page_own(const struct lu_env *env, in vvp_page_own() argument 102 static void vvp_page_assume(const struct lu_env *env, in vvp_page_assume() argument 113 static void vvp_page_unassume(const struct lu_env *env, in vvp_page_unassume() argument 123 static void vvp_page_disown(const struct lu_env *env, in vvp_page_disown() argument 134 static void vvp_page_discard(const struct lu_env *env, in vvp_page_discard() argument 157 static int vvp_page_unmap(const struct lu_env *env, in vvp_page_unmap() argument 176 static void vvp_page_delete(const struct lu_env *env, in vvp_page_delete() argument 196 static void vvp_page_export(const struct lu_env *env, in vvp_page_export() argument 210 static int vvp_page_is_vmlocked(const struct lu_env *env, in vvp_page_is_vmlocked() argument [all …]
|
D | rw26.c | 76 struct lu_env *env; in ll_invalidatepage() local 91 env = cl_env_get(&refcheck); in ll_invalidatepage() 92 if (!IS_ERR(env)) { in ll_invalidatepage() 100 cl_page_delete(env, page); in ll_invalidatepage() 103 cl_page_put(env, page); in ll_invalidatepage() 107 cl_env_put(env, &refcheck); in ll_invalidatepage() 120 struct lu_env *env; in ll_releasepage() local 143 env = cl_env_nested_get(&nest); in ll_releasepage() 144 if (IS_ERR(env)) in ll_releasepage() 156 cl_page_delete(env, page); in ll_releasepage() [all …]
|
D | rw.c | 68 struct lu_env *env = lcc->lcc_env; in ll_cl_fini() local 73 LASSERT(env != NULL); in ll_cl_fini() 77 cl_page_put(env, page); in ll_cl_fini() 80 cl_env_put(env, &lcc->lcc_refcheck); in ll_cl_fini() 91 struct lu_env *env; in ll_cl_init() local 102 env = cl_env_get(&refcheck); in ll_cl_init() 103 if (IS_ERR(env)) in ll_cl_init() 104 return ERR_CAST(env); in ll_cl_init() 106 lcc = &vvp_env_info(env)->vti_io_ctx; in ll_cl_init() 108 lcc->lcc_env = env; in ll_cl_init() [all …]
|
D | llite_mmap.c | 106 struct lu_env *env; in ll_fault_io_init() local 120 env = cl_env_nested_get(nest); in ll_fault_io_init() 121 if (IS_ERR(env)) in ll_fault_io_init() 124 *env_ret = env; in ll_fault_io_init() 126 io = ccc_env_thread_io(env); in ll_fault_io_init() 147 rc = cl_io_init(env, io, CIT_FAULT, io->ci_obj); in ll_fault_io_init() 149 struct ccc_io *cio = ccc_env_io(env); in ll_fault_io_init() 160 cl_io_fini(env, io); in ll_fault_io_init() 161 cl_env_nested_put(nest, env); in ll_fault_io_init() 172 struct lu_env *env; in ll_page_mkwrite0() local [all …]
|
D | vvp_internal.h | 45 int vvp_io_init (const struct lu_env *env, 47 int vvp_lock_init (const struct lu_env *env, 50 int vvp_page_init (const struct lu_env *env, 53 struct lu_object *vvp_object_alloc(const struct lu_env *env,
|
D | vvp_object.c | 56 static int vvp_object_print(const struct lu_env *env, void *cookie, in vvp_object_print() argument 63 (*p)(env, cookie, "(%s %d %d) inode: %p ", in vvp_object_print() 69 (*p)(env, cookie, "%lu/%u %o %u %d %p "DFID, in vvp_object_print() 77 static int vvp_attr_get(const struct lu_env *env, struct cl_object *obj, in vvp_attr_get() argument 99 static int vvp_attr_set(const struct lu_env *env, struct cl_object *obj, in vvp_attr_set() argument 122 static int vvp_conf_set(const struct lu_env *env, struct cl_object *obj, in vvp_conf_set() argument 195 struct lu_object *vvp_object_alloc(const struct lu_env *env, in vvp_object_alloc() argument 199 return ccc_object_alloc(env, hdr, dev, &vvp_ops, &vvp_lu_obj_ops); in vvp_object_alloc()
|
D | vvp_lock.c | 60 static unsigned long vvp_lock_weigh(const struct lu_env *env, in vvp_lock_weigh() argument 80 int vvp_lock_init(const struct lu_env *env, struct cl_object *obj, in vvp_lock_init() argument 83 return ccc_lock_init(env, obj, lock, io, &vvp_lock_ops); in vvp_lock_init()
|
D | file.c | 979 int ll_merge_lvb(const struct lu_env *env, struct inode *inode) in ll_merge_lvb() argument 983 struct cl_attr *attr = ccc_env_thread_attr(env); in ll_merge_lvb() 1001 rc = cl_object_attr_get(env, obj, attr); in ll_merge_lvb() 1095 ll_file_io_generic(const struct lu_env *env, struct vvp_io_args *args, in ll_file_io_generic() argument 1105 io = ccc_env_thread_io(env); in ll_file_io_generic() 1108 if (cl_io_rw_init(env, io, iot, *ppos, count) == 0) { in ll_file_io_generic() 1109 struct vvp_io *vio = vvp_env_io(env); in ll_file_io_generic() 1110 struct ccc_io *cio = ccc_env_io(env); in ll_file_io_generic() 1140 result = cl_io_loop(env, io); in ll_file_io_generic() 1156 cl_io_fini(env, io); in ll_file_io_generic() [all …]
|
D | lloop.c | 187 const struct lu_env *env = lo->lo_env; in do_bio_lustrebacked() local 209 ret = cl_io_init(env, io, CIT_MISC, obj); in do_bio_lustrebacked() 261 bytes = ll_direct_rw_pages(env, io, rw, inode, pvec); in do_bio_lustrebacked() 263 cl_io_fini(env, io); in do_bio_lustrebacked() 406 struct lu_env *env; in loop_thread() local 414 env = cl_env_get(&refcheck); in loop_thread() 415 if (IS_ERR(env)) { in loop_thread() 416 ret = PTR_ERR(env); in loop_thread() 420 lo->lo_env = env; in loop_thread() 466 cl_env_put(env, &refcheck); in loop_thread()
|
D | llite_internal.h | 698 int ll_readahead(const struct lu_env *env, struct cl_io *io, 745 int ll_merge_lvb(const struct lu_env *env, struct inode *inode); 912 static inline struct vvp_thread_info *vvp_env_info(const struct lu_env *env) in vvp_env_info() argument 917 info = lu_context_key_get(&env->le_ctx, &vvp_key); in vvp_env_info() 922 static inline struct vvp_io_args *vvp_env_args(const struct lu_env *env, in vvp_env_args() argument 925 struct vvp_io_args *ret = &vvp_env_info(env)->vti_args; in vvp_env_args() 936 static inline struct vvp_session *vvp_env_session(const struct lu_env *env) in vvp_env_session() argument 941 ses = lu_context_key_get(env->le_ses, &vvp_session_key); in vvp_env_session() 946 static inline struct vvp_io *vvp_env_io(const struct lu_env *env) in vvp_env_io() argument 948 return &vvp_env_session(env)->vs_ios; in vvp_env_io() [all …]
|
/linux-4.4.14/arch/x86/kernel/fpu/ |
D | regset.c | 205 convert_from_fxsr(struct user_i387_ia32_struct *env, struct task_struct *tsk) in convert_from_fxsr() argument 208 struct _fpreg *to = (struct _fpreg *) &env->st_space[0]; in convert_from_fxsr() 212 env->cwd = fxsave->cwd | 0xffff0000u; in convert_from_fxsr() 213 env->swd = fxsave->swd | 0xffff0000u; in convert_from_fxsr() 214 env->twd = twd_fxsr_to_i387(fxsave); in convert_from_fxsr() 217 env->fip = fxsave->rip; in convert_from_fxsr() 218 env->foo = fxsave->rdp; in convert_from_fxsr() 223 env->fcs = task_pt_regs(tsk)->cs; in convert_from_fxsr() 225 savesegment(ds, env->fos); in convert_from_fxsr() 227 env->fos = tsk->thread.ds; in convert_from_fxsr() [all …]
|
D | signal.c | 58 struct user_i387_ia32_struct env; in save_fsave_header() local 61 convert_from_fxsr(&env, tsk); in save_fsave_header() 63 if (__copy_to_user(buf, &env, sizeof(env)) || in save_fsave_header() 298 struct user_i387_ia32_struct env; in __fpu__restore_sig() local 312 __copy_from_user(&env, buf, sizeof(env))) { in __fpu__restore_sig() 316 sanitize_restored_xstate(tsk, &env, xfeatures, fx_only); in __fpu__restore_sig()
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/ |
D | echo_client.c | 96 static int echo_client_setup(const struct lu_env *env, 145 static inline struct echo_thread_info *echo_env_info(const struct lu_env *env) in echo_env_info() argument 149 info = lu_context_key_get(&env->le_ctx, &echo_thread_key); in echo_env_info() 171 static struct echo_thread_info *echo_env_info(const struct lu_env *env); 226 static struct page *echo_page_vmpage(const struct lu_env *env, in echo_page_vmpage() argument 232 static int echo_page_own(const struct lu_env *env, in echo_page_own() argument 245 static void echo_page_disown(const struct lu_env *env, in echo_page_disown() argument 255 static void echo_page_discard(const struct lu_env *env, in echo_page_discard() argument 259 cl_page_delete(env, slice->cpl_page); in echo_page_discard() 262 static int echo_page_is_vmlocked(const struct lu_env *env, in echo_page_is_vmlocked() argument [all …]
|
/linux-4.4.14/arch/mips/alchemy/common/ |
D | prom.c | 64 char **env = prom_envp; in prom_getenv() local 66 int yamon = (*env && strchr(*env, '=') == NULL); in prom_getenv() 68 while (*env) { in prom_getenv() 70 if (strcmp(envname, *env++) == 0) in prom_getenv() 71 return *env; in prom_getenv() 72 } else if (strncmp(envname, *env, i) == 0 && (*env)[i] == '=') in prom_getenv() 73 return *env + i + 1; in prom_getenv() 74 env++; in prom_getenv()
|
/linux-4.4.14/security/tomoyo/ |
D | environ.c | 23 return tomoyo_path_matches_pattern(r->param.environ.name, acl->env); in tomoyo_check_env_acl() 49 int tomoyo_env_perm(struct tomoyo_request_info *r, const char *env) in tomoyo_env_perm() argument 54 if (!env || !*env) in tomoyo_env_perm() 56 environ.name = env; in tomoyo_env_perm() 81 return p1->env == p2->env; in tomoyo_same_env_acl() 101 e.env = tomoyo_get_name(data); in tomoyo_write_env() 102 if (!e.env) in tomoyo_write_env() 106 tomoyo_put_name(e.env); in tomoyo_write_env()
|
/linux-4.4.14/kernel/sched/ |
D | fair.c | 1191 static void task_numa_assign(struct task_numa_env *env, in task_numa_assign() argument 1194 if (env->best_task) in task_numa_assign() 1195 put_task_struct(env->best_task); in task_numa_assign() 1199 env->best_task = p; in task_numa_assign() 1200 env->best_imp = imp; in task_numa_assign() 1201 env->best_cpu = env->dst_cpu; in task_numa_assign() 1205 struct task_numa_env *env) in load_too_imbalanced() argument 1218 src_capacity = env->src_stats.compute_capacity; in load_too_imbalanced() 1219 dst_capacity = env->dst_stats.compute_capacity; in load_too_imbalanced() 1227 src_load * dst_capacity * env->imbalance_pct; in load_too_imbalanced() [all …]
|
/linux-4.4.14/tools/perf/arch/ |
D | common.c | 66 char *env = getenv("PATH"); in lookup_path() local 68 if (!env) in lookup_path() 71 env = strdup(env); in lookup_path() 72 if (!env) in lookup_path() 75 path = strtok_r(env, ":", &tmp); in lookup_path() 84 free(env); in lookup_path() 131 static int perf_env__lookup_binutils_path(struct perf_env *env, in perf_env__lookup_binutils_path() argument 140 arch = normalize_arch(env->arch); in perf_env__lookup_binutils_path() 208 int perf_env__lookup_objdump(struct perf_env *env) in perf_env__lookup_objdump() argument 214 if (env->arch == NULL) in perf_env__lookup_objdump() [all …]
|
D | common.h | 8 int perf_env__lookup_objdump(struct perf_env *env);
|
/linux-4.4.14/arch/mips/loongson32/common/ |
D | prom.c | 24 char **env = prom_envp; in prom_getenv() local 29 while (*env) { in prom_getenv() 30 if (strncmp(envname, *env, i) == 0 && *(*env + i) == '=') in prom_getenv() 31 return *env + i + 1; in prom_getenv() 32 env++; in prom_getenv() 38 static inline unsigned long env_or_default(char *env, unsigned long dfl) in env_or_default() argument 40 char *str = prom_getenv(env); in env_or_default()
|
/linux-4.4.14/drivers/of/ |
D | device.c | 232 void of_device_uevent(struct device *dev, struct kobj_uevent_env *env) in of_device_uevent() argument 241 add_uevent_var(env, "OF_NAME=%s", dev->of_node->name); in of_device_uevent() 242 add_uevent_var(env, "OF_FULLNAME=%s", dev->of_node->full_name); in of_device_uevent() 244 add_uevent_var(env, "OF_TYPE=%s", dev->of_node->type); in of_device_uevent() 251 add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in of_device_uevent() 257 add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen); in of_device_uevent() 263 add_uevent_var(env, "OF_ALIAS_%d=%s", seen, in of_device_uevent() 271 int of_device_uevent_modalias(struct device *dev, struct kobj_uevent_env *env) in of_device_uevent_modalias() argument 279 if (add_uevent_var(env, "MODALIAS=")) in of_device_uevent_modalias() 282 sl = of_device_get_modalias(dev, &env->buf[env->buflen-1], in of_device_uevent_modalias() [all …]
|
/linux-4.4.14/arch/mips/pnx833x/common/ |
D | prom.c | 48 char **env = prom_envp; in prom_getenv() local 53 while (*env) { in prom_getenv() 54 if (strncmp(envname, *env, i) == 0 && *(*env+i) == '=') in prom_getenv() 55 return *env + i + 1; in prom_getenv() 56 env++; in prom_getenv()
|
/linux-4.4.14/sound/aoa/soundbus/ |
D | core.c | 59 static int soundbus_uevent(struct device *dev, struct kobj_uevent_env *env) in soundbus_uevent() argument 77 retval = add_uevent_var(env, "OF_NAME=%s", of->dev.of_node->name); in soundbus_uevent() 81 retval = add_uevent_var(env, "OF_TYPE=%s", of->dev.of_node->type); in soundbus_uevent() 91 int tmp = env->buflen; in soundbus_uevent() 92 retval = add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat); in soundbus_uevent() 95 compat += env->buflen - tmp; in soundbus_uevent() 96 cplen -= env->buflen - tmp; in soundbus_uevent() 100 retval = add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen); in soundbus_uevent() 103 retval = add_uevent_var(env, "MODALIAS=%s", soundbus_dev->modalias); in soundbus_uevent()
|
/linux-4.4.14/drivers/mtd/maps/ |
D | pmcmsp-flash.c | 56 char *env; in init_msp_flash() local 70 for (fcnt = 0; (env = prom_getenv(flash_name)); fcnt++) in init_msp_flash() 95 for (pcnt = 0; (env = prom_getenv(part_name)); pcnt++) in init_msp_flash() 111 env = prom_getenv(flash_name); in init_msp_flash() 113 if (sscanf(env, "%x:%x", &addr, &size) < 2) { in init_msp_flash() 155 env = prom_getenv(part_name); in init_msp_flash() 157 if (sscanf(env, "%x:%x:%n", &offset, &size, in init_msp_flash() 168 msp_parts[i][j].name = env + coff; in init_msp_flash()
|
/linux-4.4.14/drivers/firmware/ |
D | dmi-id.c | 148 static int dmi_dev_uevent(struct device *dev, struct kobj_uevent_env *env) in dmi_dev_uevent() argument 152 if (add_uevent_var(env, "MODALIAS=")) in dmi_dev_uevent() 154 len = get_modalias(&env->buf[env->buflen - 1], in dmi_dev_uevent() 155 sizeof(env->buf) - env->buflen); in dmi_dev_uevent() 156 if (len >= (sizeof(env->buf) - env->buflen)) in dmi_dev_uevent() 158 env->buflen += len; in dmi_dev_uevent()
|
/linux-4.4.14/arch/x86/um/ |
D | signal.c | 85 unsigned long env[7]; in convert_fxsr_to_user() local 90 env[0] = (unsigned long)fxsave->cwd | 0xffff0000ul; in convert_fxsr_to_user() 91 env[1] = (unsigned long)fxsave->swd | 0xffff0000ul; in convert_fxsr_to_user() 92 env[2] = twd_fxsr_to_i387(fxsave); in convert_fxsr_to_user() 93 env[3] = fxsave->fip; in convert_fxsr_to_user() 94 env[4] = fxsave->fcs | ((unsigned long)fxsave->fop << 16); in convert_fxsr_to_user() 95 env[5] = fxsave->foo; in convert_fxsr_to_user() 96 env[6] = fxsave->fos; in convert_fxsr_to_user() 98 if (__copy_to_user(buf, env, 7 * sizeof(unsigned long))) in convert_fxsr_to_user() 118 unsigned long env[7]; in convert_fxsr_from_user() local [all …]
|
/linux-4.4.14/drivers/hwmon/ |
D | ultra45_env.c | 60 struct env { struct 67 static u8 env_read(struct env *p, u8 ireg) in env_read() argument 79 static void env_write(struct env *p, u8 ireg, u8 val) in env_write() 100 struct env *p = dev_get_drvdata(dev); in show_fan_speed() 119 struct env *p = dev_get_drvdata(dev); in set_fan_speed() 142 struct env *p = dev_get_drvdata(dev); in show_fan_fault() 165 struct env *p = dev_get_drvdata(dev); in show_temp() 186 struct env *p = dev_get_drvdata(dev); in show_stat_bit() 202 struct env *p = dev_get_drvdata(dev); in show_fwver() 255 struct env *p = devm_kzalloc(&op->dev, sizeof(*p), GFP_KERNEL); in env_probe() [all …]
|
/linux-4.4.14/tools/perf/tests/ |
D | topology.c | 68 for (i = 0; i < session->header.env.nr_cpus_online; i++) { in check_cpu_topology() 70 session->header.env.cpu[i].core_id, in check_cpu_topology() 71 session->header.env.cpu[i].socket_id); in check_cpu_topology() 76 (session->header.env.cpu[map->map[i]].core_id == (cpu_map__get_core(map, i, NULL) & 0xffff))); in check_cpu_topology() 79 (session->header.env.cpu[map->map[i]].socket_id == cpu_map__get_socket(map, i, NULL))); in check_cpu_topology()
|
/linux-4.4.14/drivers/zorro/ |
D | zorro-driver.c | 143 static int zorro_uevent(struct device *dev, struct kobj_uevent_env *env) in zorro_uevent() argument 154 if (add_uevent_var(env, "ZORRO_ID=%08X", z->id) || in zorro_uevent() 155 add_uevent_var(env, "ZORRO_SLOT_NAME=%s", dev_name(dev)) || in zorro_uevent() 156 add_uevent_var(env, "ZORRO_SLOT_ADDR=%04X", z->slotaddr) || in zorro_uevent() 157 add_uevent_var(env, "MODALIAS=" ZORRO_DEVICE_MODALIAS_FMT, z->id)) in zorro_uevent()
|
/linux-4.4.14/drivers/acpi/ |
D | device_sysfs.c | 241 struct kobj_uevent_env *env) in __acpi_device_uevent_modalias() argument 251 if (add_uevent_var(env, "MODALIAS=")) in __acpi_device_uevent_modalias() 254 len = create_pnp_modalias(adev, &env->buf[env->buflen - 1], in __acpi_device_uevent_modalias() 255 sizeof(env->buf) - env->buflen); in __acpi_device_uevent_modalias() 259 env->buflen += len; in __acpi_device_uevent_modalias() 263 if (len > 0 && add_uevent_var(env, "MODALIAS=")) in __acpi_device_uevent_modalias() 266 len = create_of_modalias(adev, &env->buf[env->buflen - 1], in __acpi_device_uevent_modalias() 267 sizeof(env->buf) - env->buflen); in __acpi_device_uevent_modalias() 271 env->buflen += len; in __acpi_device_uevent_modalias() 284 int acpi_device_uevent_modalias(struct device *dev, struct kobj_uevent_env *env) in acpi_device_uevent_modalias() argument [all …]
|
D | internal.h | 107 struct kobj_uevent_env *env);
|
/linux-4.4.14/include/linux/ |
D | of_device.h | 41 extern void of_device_uevent(struct device *dev, struct kobj_uevent_env *env); 42 extern int of_device_uevent_modalias(struct device *dev, struct kobj_uevent_env *env); 68 struct kobj_uevent_env *env) { } in of_device_uevent() argument 82 struct kobj_uevent_env *env) in of_device_uevent_modalias() argument
|
D | kobject.h | 136 struct kobj_uevent_env *env); 220 int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...);
|
/linux-4.4.14/drivers/xen/xenbus/ |
D | xenbus_probe_backend.c | 97 struct kobj_uevent_env *env) in xenbus_uevent_backend() argument 111 if (add_uevent_var(env, "MODALIAS=xen-backend:%s", xdev->devicetype)) in xenbus_uevent_backend() 115 if (add_uevent_var(env, "XENBUS_TYPE=%s", xdev->devicetype)) in xenbus_uevent_backend() 118 if (add_uevent_var(env, "XENBUS_PATH=%s", xdev->nodename)) in xenbus_uevent_backend() 121 if (add_uevent_var(env, "XENBUS_BASE_PATH=%s", bus->root)) in xenbus_uevent_backend() 127 return drv->uevent(xdev, env); in xenbus_uevent_backend()
|
D | xenbus_probe_frontend.c | 79 struct kobj_uevent_env *env) in xenbus_uevent_frontend() argument 83 if (add_uevent_var(env, "MODALIAS=xen:%s", dev->devicetype)) in xenbus_uevent_frontend()
|
/linux-4.4.14/arch/mips/ar7/ |
D | prom.c | 183 static void __init ar7_init_env(struct env_var *env) in ar7_init_env() argument 192 for (i = 0; i < MAX_ENTRY; i++, env++) in ar7_init_env() 193 if (env->name) in ar7_init_env() 194 add_adam2_var(env->name, env->value); in ar7_init_env()
|
/linux-4.4.14/tools/perf/ui/browsers/ |
D | header.c | 94 int tui__header_window(struct perf_env *env) in tui__header_window() argument 103 session = container_of(env, struct perf_session, header.env); in tui__header_window()
|
D | hists.c | 29 struct perf_env *env; member 1228 struct perf_env *env) in hist_browser__new() argument 1240 browser->env = env; in hist_browser__new() 1455 if (!objdump_path && perf_env__lookup_objdump(browser->env)) in do_annotate() 1748 struct perf_env *env) in perf_evsel__hists_browse() argument 1751 struct hist_browser *browser = hist_browser__new(hists, hbt, env); in perf_evsel__hists_browse() 1921 if (env->arch) in perf_evsel__hists_browse() 1922 tui__header_window(env); in perf_evsel__hists_browse() 2104 struct perf_env *env; member 2199 menu->env); in perf_evsel_menu__run() [all …]
|
/linux-4.4.14/arch/x86/include/asm/fpu/ |
D | signal.h | 22 extern void convert_from_fxsr(struct user_i387_ia32_struct *env, 25 const struct user_i387_ia32_struct *env);
|
/linux-4.4.14/scripts/kconfig/ |
D | confdata.c | 114 char *env, *name; in conf_get_default_confname() local 117 env = getenv(SRCTREE); in conf_get_default_confname() 118 if (env) { in conf_get_default_confname() 119 sprintf(fullname, "%s/%s", env, name); in conf_get_default_confname() 747 char *env; in conf_write() local 772 env = getenv("KCONFIG_OVERWRITECONFIG"); in conf_write() 773 if (!env || !*env) { in conf_write() 1134 char *env = getenv("KCONFIG_PROBABILITY"); in conf_set_all_new_symbols() local 1136 while( env && *env ) { in conf_set_all_new_symbols() 1138 int tmp = strtol( env, &endp, 10 ); in conf_set_all_new_symbols() [all …]
|
D | streamline_config.pl | 168 my $env = $1; 170 $source =~ s/\$$env/$ENV{$env}/;
|
D | zconf.gperf | 47 env, T_OPT_ENV, TF_OPTION
|
D | symbol.c | 1351 static void prop_add_env(const char *env) in prop_add_env() argument 1361 if (strcmp(sym2->name, env)) in prop_add_env() 1368 prop->expr = expr_alloc_symbol(sym_lookup(env, SYMBOL_CONST)); in prop_add_env() 1373 p = getenv(env); in prop_add_env() 1377 menu_warn(current_entry, "environment variable %s undefined", env); in prop_add_env()
|
D | zconf.lex.c | 2377 char *env, fullname[PATH_MAX+1]; in zconf_fopen() local 2382 env = getenv(SRCTREE); in zconf_fopen() 2383 if (env) { in zconf_fopen() 2384 sprintf(fullname, "%s/%s", env, name); in zconf_fopen()
|
D | zconf.hash.c_shipped | 114 char kconf_id_strings_str33[sizeof("env")]; 151 "env",
|
/linux-4.4.14/arch/mips/pnx833x/stb22x/ |
D | board.c | 52 static inline unsigned long env_or_default(char *env, unsigned long dfl) in env_or_default() argument 54 char *str = prom_getenv(env); in env_or_default()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | ptlrpcd.c | 277 static int ptlrpcd_check(struct lu_env *env, struct ptlrpcd_ctl *pc) in ptlrpcd_check() argument 304 rc2 = lu_env_refill(env); in ptlrpcd_check() 321 rc |= ptlrpc_check_set(env, set); in ptlrpcd_check() 390 struct lu_env env = { .le_ses = NULL }; in ptlrpcd() local 417 rc = lu_context_init(&env.le_ctx, in ptlrpcd() 438 lu_context_enter(&env.le_ctx); in ptlrpcd() 440 ptlrpcd_check(&env, pc), &lwi); in ptlrpcd() 441 lu_context_exit(&env.le_ctx); in ptlrpcd() 463 lu_context_fini(&env.le_ctx); in ptlrpcd()
|
D | llog_client.c | 79 static int llog_client_open(const struct lu_env *env, in llog_client_open() argument 146 static int llog_client_next_block(const struct lu_env *env, in llog_client_next_block() argument 205 static int llog_client_prev_block(const struct lu_env *env, in llog_client_prev_block() argument 258 static int llog_client_read_header(const struct lu_env *env, in llog_client_read_header() argument 315 static int llog_client_close(const struct lu_env *env, in llog_client_close() argument
|
D | service.c | 1987 struct lu_env *env; in ptlrpc_main() local 2017 env = kzalloc(sizeof(*env), GFP_NOFS); in ptlrpc_main() 2018 if (!env) { in ptlrpc_main() 2023 rc = lu_context_init(&env->le_ctx, in ptlrpc_main() 2028 thread->t_env = env; in ptlrpc_main() 2029 env->le_ctx.lc_thread = thread; in ptlrpc_main() 2030 env->le_ctx.lc_cookie = 0x6; in ptlrpc_main() 2095 lu_context_enter(&env->le_ctx); in ptlrpc_main() 2096 env->le_ses = NULL; in ptlrpc_main() 2098 lu_context_exit(&env->le_ctx); in ptlrpc_main() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/fid/ |
D | fid_request.c | 147 const struct lu_env *env) in seq_client_alloc_super() argument 167 static int seq_client_alloc_meta(const struct lu_env *env, in seq_client_alloc_meta() argument 185 static int seq_client_alloc_seq(const struct lu_env *env, in seq_client_alloc_seq() argument 193 rc = seq_client_alloc_meta(env, seq); in seq_client_alloc_seq() 244 int seq_client_alloc_fid(const struct lu_env *env, in seq_client_alloc_fid() argument 274 rc = seq_client_alloc_seq(env, seq, &seqnr); in seq_client_alloc_fid()
|
D | fid_internal.h | 48 const struct lu_env *env);
|
/linux-4.4.14/sound/hda/ |
D | hda_bus_type.c | 67 static int hda_uevent(struct device *dev, struct kobj_uevent_env *env) in hda_uevent() argument 73 if (add_uevent_var(env, "MODALIAS=%s", modalias)) in hda_uevent()
|
/linux-4.4.14/arch/alpha/kernel/ |
D | err_marvel.c | 27 struct ev7_pal_environmental_subpacket *env; in marvel_print_680_frame() local 48 env = lf_subpackets->env[ev7_lf_env_index(ev_packets[i].type)]; in marvel_print_680_frame() 49 if (!env) in marvel_print_680_frame() 55 env->cabinet, in marvel_print_680_frame() 56 env->drawer); in marvel_print_680_frame() 60 env->module_type, in marvel_print_680_frame() 61 env->unit_id, in marvel_print_680_frame() 62 env->condition); in marvel_print_680_frame() 76 if (lf_subpackets->env[i]) in marvel_process_680_frame()
|
D | err_ev7.c | 103 lf_subpackets->env[ev7_lf_env_index(subpacket->type)] = in ev7_collect_logout_frame_subpackets()
|
/linux-4.4.14/drivers/base/ |
D | core.c | 299 struct kobj_uevent_env *env) in dev_uevent() argument 312 add_uevent_var(env, "MAJOR=%u", MAJOR(dev->devt)); in dev_uevent() 313 add_uevent_var(env, "MINOR=%u", MINOR(dev->devt)); in dev_uevent() 316 add_uevent_var(env, "DEVNAME=%s", name); in dev_uevent() 318 add_uevent_var(env, "DEVMODE=%#o", mode & 0777); in dev_uevent() 320 add_uevent_var(env, "DEVUID=%u", from_kuid(&init_user_ns, uid)); in dev_uevent() 322 add_uevent_var(env, "DEVGID=%u", from_kgid(&init_user_ns, gid)); in dev_uevent() 328 add_uevent_var(env, "DEVTYPE=%s", dev->type->name); in dev_uevent() 331 add_uevent_var(env, "DRIVER=%s", dev->driver->name); in dev_uevent() 334 of_device_uevent(dev, env); in dev_uevent() [all …]
|
D | firmware_class.c | 566 static int do_firmware_uevent(struct firmware_priv *fw_priv, struct kobj_uevent_env *env) in do_firmware_uevent() argument 568 if (add_uevent_var(env, "FIRMWARE=%s", fw_priv->buf->fw_id)) in do_firmware_uevent() 570 if (add_uevent_var(env, "TIMEOUT=%i", loading_timeout)) in do_firmware_uevent() 572 if (add_uevent_var(env, "ASYNC=%d", fw_priv->nowait)) in do_firmware_uevent() 578 static int firmware_uevent(struct device *dev, struct kobj_uevent_env *env) in firmware_uevent() argument 585 err = do_firmware_uevent(fw_priv, env); in firmware_uevent()
|
D | cpu.c | 335 static int cpu_uevent(struct device *dev, struct kobj_uevent_env *env) in cpu_uevent() argument 340 add_uevent_var(env, "MODALIAS=%s", buf); in cpu_uevent()
|
D | platform.c | 852 static int platform_uevent(struct device *dev, struct kobj_uevent_env *env) in platform_uevent() argument 858 rc = of_device_uevent_modalias(dev, env); in platform_uevent() 862 rc = acpi_device_uevent_modalias(dev, env); in platform_uevent() 866 add_uevent_var(env, "MODALIAS=%s%s", PLATFORM_MODULE_PREFIX, in platform_uevent()
|
/linux-4.4.14/drivers/input/ |
D | input.c | 1528 static int input_add_uevent_bm_var(struct kobj_uevent_env *env, in input_add_uevent_bm_var() argument 1533 if (add_uevent_var(env, "%s", name)) in input_add_uevent_bm_var() 1536 len = input_print_bitmap(&env->buf[env->buflen - 1], in input_add_uevent_bm_var() 1537 sizeof(env->buf) - env->buflen, in input_add_uevent_bm_var() 1539 if (len >= (sizeof(env->buf) - env->buflen)) in input_add_uevent_bm_var() 1542 env->buflen += len; in input_add_uevent_bm_var() 1546 static int input_add_uevent_modalias_var(struct kobj_uevent_env *env, in input_add_uevent_modalias_var() argument 1551 if (add_uevent_var(env, "MODALIAS=")) in input_add_uevent_modalias_var() 1554 len = input_print_modalias(&env->buf[env->buflen - 1], in input_add_uevent_modalias_var() 1555 sizeof(env->buf) - env->buflen, in input_add_uevent_modalias_var() [all …]
|
/linux-4.4.14/drivers/mmc/core/ |
D | bus.c | 68 mmc_bus_uevent(struct device *dev, struct kobj_uevent_env *env) in mmc_bus_uevent() argument 92 retval = add_uevent_var(env, "MMC_TYPE=%s", type); in mmc_bus_uevent() 97 retval = add_uevent_var(env, "MMC_NAME=%s", mmc_card_name(card)); in mmc_bus_uevent() 105 retval = add_uevent_var(env, "MODALIAS=mmc:block"); in mmc_bus_uevent()
|
D | sdio_bus.c | 109 sdio_bus_uevent(struct device *dev, struct kobj_uevent_env *env) in sdio_bus_uevent() argument 113 if (add_uevent_var(env, in sdio_bus_uevent() 117 if (add_uevent_var(env, in sdio_bus_uevent() 121 if (add_uevent_var(env, in sdio_bus_uevent()
|
/linux-4.4.14/drivers/staging/lustre/lustre/mgc/ |
D | mgc_request.c | 632 static int mgc_llog_init(const struct lu_env *env, struct obd_device *obd) in mgc_llog_init() argument 639 rc = llog_setup(env, obd, &obd->obd_olg, LLOG_CONFIG_REPL_CTXT, obd, in mgc_llog_init() 653 static int mgc_llog_fini(const struct lu_env *env, struct obd_device *obd) in mgc_llog_fini() argument 659 llog_cleanup(env, ctxt); in mgc_llog_fini() 952 static int mgc_set_info_async(const struct lu_env *env, struct obd_export *exp, in mgc_set_info_async() argument 1030 static int mgc_get_info(const struct lu_env *env, struct obd_export *exp, in mgc_get_info() argument 1454 struct lu_env *env; in mgc_process_cfg_log() local 1469 env = kzalloc(sizeof(*env), GFP_KERNEL); in mgc_process_cfg_log() 1470 if (!env) in mgc_process_cfg_log() 1473 rc = lu_env_init(env, LCT_MG_THREAD); in mgc_process_cfg_log() [all …]
|
/linux-4.4.14/drivers/ide/ |
D | ide.c | 115 static int ide_uevent(struct device *dev, struct kobj_uevent_env *env) in ide_uevent() argument 119 add_uevent_var(env, "MEDIA=%s", ide_media_string(drive)); in ide_uevent() 120 add_uevent_var(env, "DRIVENAME=%s", drive->name); in ide_uevent() 121 add_uevent_var(env, "MODALIAS=ide:m-%s", ide_media_string(drive)); in ide_uevent()
|
/linux-4.4.14/drivers/bus/ |
D | mips_cdmm.c | 68 static int mips_cdmm_uevent(struct device *dev, struct kobj_uevent_env *env) in mips_cdmm_uevent() argument 73 retval = add_uevent_var(env, "CDMM_CPU=%u", cdev->cpu); in mips_cdmm_uevent() 77 retval = add_uevent_var(env, "CDMM_TYPE=0x%02x", cdev->type); in mips_cdmm_uevent() 81 retval = add_uevent_var(env, "CDMM_REV=%u", cdev->rev); in mips_cdmm_uevent() 85 retval = add_uevent_var(env, "MODALIAS=mipscdmm:t%02X", cdev->type); in mips_cdmm_uevent()
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | picoxcell-pc7302-pc3x2.dts | 64 boot-env@300000 { 69 redundant-boot-env@320000 {
|
D | picoxcell-pc7302-pc3x3.dts | 70 boot-env@300000 { 75 redundant-boot-env@320000 {
|
D | kirkwood-t5325.dts | 108 label = "u-boot env"; 113 label = "permanent u-boot env"; 118 label = "permanent u-boot env";
|
D | logicpd-torpedo-som.dtsi | 63 …/* u-boot uses mtdparts=omap2-nand.0:512k(x-loader),1920k(u-boot),128k(u-boot-env),4m(kernel),-(fs… 76 label = "u-boot-env";
|
D | imx28-apf28.dts | 36 label = "env";
|
D | kirkwood-dreamplug.dts | 57 label = "u-boot env";
|
D | sama5d3xcm.dtsi | 93 label = "bootloader env";
|
D | imx27-apf27.dts | 96 label = "env";
|
D | kirkwood-openblocks_a6.dts | 138 label = "env";
|
D | dra72-evm.dts | 553 label = "NAND.u-boot-env"; 557 label = "NAND.u-boot-env.backup1"; 755 label = "QSPI.u-boot-env"; 759 label = "QSPI.u-boot-env.backup1";
|
D | kirkwood-iconnect.dts | 163 label = "env";
|
D | kirkwood-mplcec4.dts | 173 label = "env";
|
D | dra7-evm.dts | 697 label = "QSPI.u-boot-env"; 701 label = "QSPI.u-boot-env.backup1"; 801 label = "NAND.u-boot-env"; 805 label = "NAND.u-boot-env.backup1";
|
D | kirkwood-topkick.dts | 182 label = "u-boot env";
|
D | at91sam9rlek.dts | 83 label = "bootloader env";
|
D | kirkwood-openblocks_a7.dts | 156 label = "env";
|
D | at91sam9261ek.dts | 88 label = "bootloader env";
|
/linux-4.4.14/drivers/platform/x86/ |
D | wmi.c | 650 static int wmi_dev_uevent(struct device *dev, struct kobj_uevent_env *env) in wmi_dev_uevent() argument 656 if (add_uevent_var(env, "MODALIAS=")) in wmi_dev_uevent() 665 strcpy(&env->buf[env->buflen - 1], "wmi:"); in wmi_dev_uevent() 666 memcpy(&env->buf[env->buflen - 1 + 4], guid_string, 36); in wmi_dev_uevent() 667 env->buflen += 40; in wmi_dev_uevent()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | ldc.c | 61 u8 env; member 442 p->env = lp->cfg.mode; in send_rts() 447 p->env, p->seqid); in send_rts() 462 p->env = lp->cfg.mode; in send_rtr() 466 p->env, p->seqid); in send_rtr() 481 p->env = 0; in send_rdx() 486 p->env, p->seqid, p->u.r.ackid); in send_rdx() 679 p->stype, p->seqid, p->env); in process_rts() 683 p->env != lp->cfg.mode) in process_rts() 699 p->stype, p->seqid, p->env); in process_rtr() [all …]
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | types.h | 25 unsigned long env; member
|
/linux-4.4.14/drivers/md/bcache/ |
D | sysfs.c | 196 struct kobj_uevent_env *env; in STORE() local 254 env = kzalloc(sizeof(struct kobj_uevent_env), GFP_KERNEL); in STORE() 255 if (!env) in STORE() 257 add_uevent_var(env, "DRIVER=bcache"); in STORE() 258 add_uevent_var(env, "CACHED_UUID=%pU", dc->sb.uuid), in STORE() 259 add_uevent_var(env, "CACHED_LABEL=%s", buf); in STORE() 261 &disk_to_dev(dc->disk.disk)->kobj, KOBJ_CHANGE, env->envp); in STORE() 262 kfree(env); in STORE()
|
D | super.c | 841 char *env[] = { in bch_cached_dev_run() local 850 env[2] = kasprintf(GFP_KERNEL, "CACHED_LABEL=%s", buf); in bch_cached_dev_run() 853 kfree(env[1]); in bch_cached_dev_run() 854 kfree(env[2]); in bch_cached_dev_run() 872 kobject_uevent_env(&disk_to_dev(d->disk)->kobj, KOBJ_CHANGE, env); in bch_cached_dev_run() 873 kfree(env[1]); in bch_cached_dev_run() 874 kfree(env[2]); in bch_cached_dev_run()
|
/linux-4.4.14/drivers/rapidio/ |
D | rio-driver.c | 201 static int rio_uevent(struct device *dev, struct kobj_uevent_env *env) in rio_uevent() argument 212 if (add_uevent_var(env, "MODALIAS=rapidio:v%04Xd%04Xav%04Xad%04X", in rio_uevent()
|
/linux-4.4.14/drivers/power/ |
D | power_supply_sysfs.c | 273 int power_supply_uevent(struct device *dev, struct kobj_uevent_env *env) in power_supply_uevent() argument 289 ret = add_uevent_var(env, "POWER_SUPPLY_NAME=%s", psy->desc->name); in power_supply_uevent() 326 ret = add_uevent_var(env, "POWER_SUPPLY_%s=%s", attrname, prop_buf); in power_supply_uevent()
|
D | power_supply.h | 20 extern int power_supply_uevent(struct device *dev, struct kobj_uevent_env *env);
|
/linux-4.4.14/arch/mips/fw/arc/ |
D | Makefile | 5 lib-y += cmdline.o env.o file.o identify.o init.o \
|
/linux-4.4.14/ |
D | Kconfig | 9 option env="SRCARCH"
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | err_ev7.h | 181 struct ev7_pal_environmental_subpacket env; /* Type 10-16 */ member 195 struct ev7_pal_environmental_subpacket *env[7]; /* Type 10-16 */ member
|
/linux-4.4.14/arch/cris/include/asm/ |
D | eshlibld.h | 77 char **env, int envc,
|
/linux-4.4.14/arch/mips/loongson64/common/ |
D | Makefile | 5 obj-y += setup.o init.o cmdline.o env.o time.o reset.o irq.o \
|
/linux-4.4.14/drivers/usb/common/ |
D | ulpi.c | 50 static int ulpi_uevent(struct device *dev, struct kobj_uevent_env *env) in ulpi_uevent() argument 54 if (add_uevent_var(env, "MODALIAS=ulpi:v%04xp%04x", in ulpi_uevent()
|
/linux-4.4.14/net/atm/ |
D | atm_sysfs.c | 116 static int atm_uevent(struct device *cdev, struct kobj_uevent_env *env) in atm_uevent() argument 127 if (add_uevent_var(env, "NAME=%s%d", adev->type, adev->number)) in atm_uevent()
|
/linux-4.4.14/drivers/misc/mic/bus/ |
D | mic_bus.c | 87 static int mbus_uevent(struct device *dv, struct kobj_uevent_env *env) in mbus_uevent() argument 91 return add_uevent_var(env, "MODALIAS=mbus:d%08Xv%08X", in mbus_uevent()
|
D | scif_bus.c | 86 static int scif_uevent(struct device *dv, struct kobj_uevent_env *env) in scif_uevent() argument 90 return add_uevent_var(env, "MODALIAS=scif:d%08Xv%08X", in scif_uevent()
|
/linux-4.4.14/arch/mips/boot/dts/ralink/ |
D | rt2880_eval.dts | 33 label = "uboot-env";
|
D | rt3052_eval.dts | 33 label = "uboot-env";
|
/linux-4.4.14/drivers/misc/mei/ |
D | bus.c | 701 static int mei_cl_device_uevent(struct device *dev, struct kobj_uevent_env *env) in mei_cl_device_uevent() argument 707 if (add_uevent_var(env, "MEI_CL_VERSION=%d", version)) in mei_cl_device_uevent() 710 if (add_uevent_var(env, "MEI_CL_UUID=%pUl", uuid)) in mei_cl_device_uevent() 713 if (add_uevent_var(env, "MEI_CL_NAME=%s", cldev->name)) in mei_cl_device_uevent() 716 if (add_uevent_var(env, "MODALIAS=mei:%s:%pUl:%02X:", in mei_cl_device_uevent()
|
/linux-4.4.14/drivers/memstick/core/ |
D | memstick.c | 63 static int memstick_uevent(struct device *dev, struct kobj_uevent_env *env) in memstick_uevent() argument 68 if (add_uevent_var(env, "MEMSTICK_TYPE=%02X", card->id.type)) in memstick_uevent() 71 if (add_uevent_var(env, "MEMSTICK_CATEGORY=%02X", card->id.category)) in memstick_uevent() 74 if (add_uevent_var(env, "MEMSTICK_CLASS=%02X", card->id.class)) in memstick_uevent()
|
/linux-4.4.14/drivers/media/dvb-core/ |
D | dvbdev.c | 577 static int dvb_uevent(struct device *dev, struct kobj_uevent_env *env) in dvb_uevent() argument 581 add_uevent_var(env, "DVB_ADAPTER_NUM=%d", dvbdev->adapter->num); in dvb_uevent() 582 add_uevent_var(env, "DVB_DEVICE_TYPE=%s", dnames[dvbdev->type]); in dvb_uevent() 583 add_uevent_var(env, "DVB_DEVICE_NUM=%d", dvbdev->id); in dvb_uevent()
|
/linux-4.4.14/arch/um/ |
D | Kconfig.common | 61 option env="SUBARCH"
|
/linux-4.4.14/drivers/s390/net/ |
D | qeth_l2_main.c | 1572 char *env[8]; in qeth_bridge_emit_host_event() local 1580 env[i] = str[i]; i++; in qeth_bridge_emit_host_event() 1584 env[i] = str[i]; i++; in qeth_bridge_emit_host_event() 1589 env[i] = str[i]; i++; in qeth_bridge_emit_host_event() 1593 env[i] = str[i]; i++; in qeth_bridge_emit_host_event() 1595 env[i] = str[i]; i++; in qeth_bridge_emit_host_event() 1598 env[i] = str[i]; i++; in qeth_bridge_emit_host_event() 1600 env[i] = str[i]; i++; in qeth_bridge_emit_host_event() 1604 env[i] = str[i]; i++; in qeth_bridge_emit_host_event() 1608 env[i] = str[i]; i++; in qeth_bridge_emit_host_event() [all …]
|
/linux-4.4.14/fs/gfs2/ |
D | sys.c | 710 struct kobj_uevent_env *env) in gfs2_uevent() argument 716 add_uevent_var(env, "LOCKTABLE=%s", sdp->sd_table_name); in gfs2_uevent() 717 add_uevent_var(env, "LOCKPROTO=%s", sdp->sd_proto_name); in gfs2_uevent() 719 add_uevent_var(env, "JOURNALID=%d", sdp->sd_lockstruct.ls_jid); in gfs2_uevent() 721 add_uevent_var(env, "UUID=%pUB", uuid); in gfs2_uevent()
|
/linux-4.4.14/drivers/fmc/ |
D | fmc-core.c | 31 static int fmc_uevent(struct device *dev, struct kobj_uevent_env *env) in fmc_uevent() argument 36 add_uevent_var(env, "MODALIAS=%s", "fmc"); in fmc_uevent()
|
/linux-4.4.14/arch/m68k/68360/ |
D | head-rom.S | 252 pea env 268 env: label
|
D | head-ram.S | 242 pea env 258 env: label
|
/linux-4.4.14/drivers/mcb/ |
D | mcb-core.c | 47 static int mcb_uevent(struct device *dev, struct kobj_uevent_env *env) in mcb_uevent() argument 52 ret = add_uevent_var(env, "MODALIAS=mcb:16z%03d", mdev->id); in mcb_uevent()
|
/linux-4.4.14/drivers/s390/cio/ |
D | scm.c | 38 static int scmdev_uevent(struct device *dev, struct kobj_uevent_env *env) in scmdev_uevent() argument 40 return add_uevent_var(env, "MODALIAS=scm:scmdev"); in scmdev_uevent()
|
D | device.c | 101 static int ccw_uevent(struct device *dev, struct kobj_uevent_env *env) in ccw_uevent() argument 109 ret = add_uevent_var(env, "CU_TYPE=%04X", id->cu_type); in ccw_uevent() 114 ret = add_uevent_var(env, "CU_MODEL=%02X", id->cu_model); in ccw_uevent() 120 ret = add_uevent_var(env, "DEV_TYPE=%04X", id->dev_type); in ccw_uevent() 125 ret = add_uevent_var(env, "DEV_MODEL=%02X", id->dev_model); in ccw_uevent() 131 ret = add_uevent_var(env, "MODALIAS=%s", modalias_buf); in ccw_uevent()
|
/linux-4.4.14/drivers/pci/ |
D | pci-driver.c | 1397 static int pci_uevent(struct device *dev, struct kobj_uevent_env *env) in pci_uevent() argument 1406 if (add_uevent_var(env, "PCI_CLASS=%04X", pdev->class)) in pci_uevent() 1409 if (add_uevent_var(env, "PCI_ID=%04X:%04X", pdev->vendor, pdev->device)) in pci_uevent() 1412 if (add_uevent_var(env, "PCI_SUBSYS_ID=%04X:%04X", pdev->subsystem_vendor, in pci_uevent() 1416 if (add_uevent_var(env, "PCI_SLOT_NAME=%s", pci_name(pdev))) in pci_uevent() 1419 if (add_uevent_var(env, "MODALIAS=pci:v%08Xd%08Xsv%08Xsd%08Xbc%02Xsc%02Xi%02X", in pci_uevent()
|
/linux-4.4.14/arch/mips/boot/dts/netlogic/ |
D | xlp_gvp.dts | 66 label = "env";
|
D | xlp_rvp.dts | 66 label = "env";
|
D | xlp_svp.dts | 108 label = "env";
|
D | xlp_fvp.dts | 108 label = "env";
|
D | xlp_evp.dts | 108 label = "env";
|
/linux-4.4.14/tools/perf/ |
D | builtin-annotate.c | 214 ret = perf_env__lookup_objdump(&session->header.env); in __cmd_annotate() 365 ret = symbol__init(&annotate.session->header.env); in cmd_annotate()
|
D | builtin-timechart.c | 1516 tchart->numcpus = ph->env.nr_cpus_avail; in process_header() 1523 if (svg_build_topology_map(ph->env.sibling_cores, in process_header() 1524 ph->env.nr_sibling_cores, in process_header() 1525 ph->env.sibling_threads, in process_header() 1526 ph->env.nr_sibling_threads)) in process_header() 1613 symbol__init(&session->header.env); in __cmd_timechart()
|
/linux-4.4.14/arch/mips/sgi-ip22/ |
D | ip22-gio.c | 198 static int gio_device_uevent(struct device *dev, struct kobj_uevent_env *env) in gio_device_uevent() argument 202 add_uevent_var(env, "MODALIAS=gio:%x", gio_dev->id.id); in gio_device_uevent()
|
/linux-4.4.14/drivers/misc/ |
D | tifm_core.c | 62 static int tifm_uevent(struct device *dev, struct kobj_uevent_env *env) in tifm_uevent() argument 66 if (add_uevent_var(env, "TIFM_CARD_TYPE=%s", tifm_media_type_name(sock->type, 1))) in tifm_uevent()
|
/linux-4.4.14/drivers/amba/ |
D | bus.c | 54 static int amba_uevent(struct device *dev, struct kobj_uevent_env *env) in amba_uevent() argument 59 retval = add_uevent_var(env, "AMBA_ID=%08x", pcdev->periphid); in amba_uevent() 63 retval = add_uevent_var(env, "MODALIAS=amba:d%08X", pcdev->periphid); in amba_uevent()
|
/linux-4.4.14/tools/perf/ui/ |
D | browser.h | 65 int tui__header_window(struct perf_env *env);
|
/linux-4.4.14/drivers/usb/gadget/udc/ |
D | udc-core.c | 703 static int usb_udc_uevent(struct device *dev, struct kobj_uevent_env *env) in usb_udc_uevent() argument 708 ret = add_uevent_var(env, "USB_UDC_NAME=%s", udc->gadget->name); in usb_udc_uevent() 715 ret = add_uevent_var(env, "USB_UDC_DRIVER=%s", in usb_udc_uevent()
|
/linux-4.4.14/drivers/isdn/mISDN/ |
D | core.c | 151 static int mISDN_uevent(struct device *dev, struct kobj_uevent_env *env) in mISDN_uevent() argument 158 if (add_uevent_var(env, "nchans=%d", mdev->nrbchan)) in mISDN_uevent()
|
/linux-4.4.14/drivers/virtio/ |
D | virtio.c | 95 static int virtio_uevent(struct device *_dv, struct kobj_uevent_env *env) in virtio_uevent() argument 99 return add_uevent_var(env, "MODALIAS=virtio:d%08Xv%08X", in virtio_uevent()
|
/linux-4.4.14/drivers/usb/core/ |
D | usb.c | 293 static int usb_dev_uevent(struct device *dev, struct kobj_uevent_env *env) in usb_dev_uevent() argument 299 if (add_uevent_var(env, "BUSNUM=%03d", usb_dev->bus->busnum)) in usb_dev_uevent() 302 if (add_uevent_var(env, "DEVNUM=%03d", usb_dev->devnum)) in usb_dev_uevent()
|
/linux-4.4.14/drivers/bcma/ |
D | main.c | 31 static int bcma_device_uevent(struct device *dev, struct kobj_uevent_env *env); 661 static int bcma_device_uevent(struct device *dev, struct kobj_uevent_env *env) in bcma_device_uevent() argument 665 return add_uevent_var(env, in bcma_device_uevent()
|
/linux-4.4.14/arch/powerpc/boot/dts/ |
D | o2d.dtsi | 101 label = "env";
|
D | a3m071.dts | 114 label = "env";
|
D | lite5200b.dts | 151 label = "u-boot-env";
|
D | pcm032.dts | 135 label = "env";
|
/linux-4.4.14/net/wireless/ |
D | sysfs.c | 83 static int wiphy_uevent(struct device *dev, struct kobj_uevent_env *env) in wiphy_uevent() argument
|
/linux-4.4.14/arch/parisc/kernel/ |
D | drivers.c | 551 static int parisc_uevent(struct device *dev, struct kobj_uevent_env *env) in parisc_uevent() argument 563 if (add_uevent_var(env, "PARISC_NAME=%s", padev->name)) in parisc_uevent() 567 if (add_uevent_var(env, "MODALIAS=%s", modalias)) in parisc_uevent()
|
/linux-4.4.14/drivers/eisa/ |
D | eisa-bus.c | 131 static int eisa_bus_uevent(struct device *dev, struct kobj_uevent_env *env) in eisa_bus_uevent() argument 135 add_uevent_var(env, "MODALIAS=" EISA_DEVICE_MODALIAS_FMT, edev->id.sig); in eisa_bus_uevent()
|
/linux-4.4.14/net/rfkill/ |
D | core.c | 760 static int rfkill_dev_uevent(struct device *dev, struct kobj_uevent_env *env) in rfkill_dev_uevent() argument 767 error = add_uevent_var(env, "RFKILL_NAME=%s", rfkill->name); in rfkill_dev_uevent() 770 error = add_uevent_var(env, "RFKILL_TYPE=%s", in rfkill_dev_uevent() 777 error = add_uevent_var(env, "RFKILL_STATE=%d", in rfkill_dev_uevent()
|
/linux-4.4.14/arch/powerpc/boot/dts/fsl/ |
D | ppa8548.dts | 77 label = "env";
|
/linux-4.4.14/drivers/ipack/ |
D | ipack.c | 88 static int ipack_uevent(struct device *dev, struct kobj_uevent_env *env) in ipack_uevent() argument 97 if (add_uevent_var(env, in ipack_uevent()
|
/linux-4.4.14/drivers/w1/ |
D | w1.c | 188 static int w1_uevent(struct device *dev, struct kobj_uevent_env *env); 595 static int w1_uevent(struct device *dev, struct kobj_uevent_env *env) in w1_uevent() argument 621 err = add_uevent_var(env, "W1_FID=%02X", sl->reg_num.family); in w1_uevent() 625 err = add_uevent_var(env, "W1_SLAVE_ID=%024LX", in w1_uevent()
|
/linux-4.4.14/drivers/net/xen-netback/ |
D | xenbus.c | 400 struct kobj_uevent_env *env) in netback_uevent() argument 407 if (add_uevent_var(env, "script=%s", be->hotplug_script)) in netback_uevent() 413 return add_uevent_var(env, "vif=%s", be->vif->dev->name); in netback_uevent()
|
/linux-4.4.14/drivers/pcmcia/ |
D | ds.c | 938 static int pcmcia_bus_uevent(struct device *dev, struct kobj_uevent_env *env) in pcmcia_bus_uevent() argument 956 if (add_uevent_var(env, "SOCKET_NO=%u", p_dev->socket->sock)) in pcmcia_bus_uevent() 959 if (add_uevent_var(env, "DEVICE_NO=%02X", p_dev->device_no)) in pcmcia_bus_uevent() 962 if (add_uevent_var(env, "MODALIAS=pcmcia:m%04Xc%04Xf%02Xfn%02Xpfn%02X" in pcmcia_bus_uevent()
|