Lines Matching defs:env
40 claim(fcode_env_t *env)
48 CHECK_DEPTH(env, 3, "claim-memory");
52 error = fc_run_priv(env->private, "claim-memory", 3, 1,
55 throw_from_fclib(env, 1, "client-services/claim failed\n");
61 release(fcode_env_t *env)
67 CHECK_DEPTH(env, 2, "release-memory");
70 error = fc_run_priv(env->private, "release-memory", 2, 0,
73 throw_from_fclib(env, 1, "client-services/release failed\n");
78 package_to_path(fcode_env_t *env)
86 CHECK_DEPTH(env, 3, "package-to-path");
90 CONVERT_PHANDLE(env, d, phandle);
92 p = get_path(env, d);
104 fc_vtop(fcode_env_t *env)
110 CHECK_DEPTH(env, 1, "vtop");
112 error = fc_run_priv(env->private, "vtop", 1, 2,
115 throw_from_fclib(env, 1, "fc_vtop: '>physical' failed\n");
122 install_openprom_nodes(fcode_env_t *env)
124 MYSELF = open_instance_chain(env, env->root_node, 0);
126 make_a_node(env, "openprom", 0);
127 make_a_node(env, "client-services", 0);
131 finish_device(env);
132 finish_device(env);
133 close_instance_chain(env, MYSELF, 0);
134 device_end(env);
144 fcode_env_t *env = initial_env;
146 ASSERT(env);