Home
last modified time | relevance | path

Searched refs:host (Results 1 – 25 of 57) sorted by relevance

123

/xnu-11215/osfmk/mach/
H A Dhost_special_ports.h134 #define host_get_host_port(host, port) \ argument
135 (host_get_special_port((host), \
176 #define host_get_lockd_port(host, port) \ argument
179 #define host_set_lockd_port(host, port) \ argument
188 #define host_get_kextd_port(host, port) \ argument
191 #define host_set_kextd_port(host, port) \ argument
200 #define host_get_chud_port(host, port) host_get_launchctl_port(host, port) argument
201 #define host_set_chud_port(host, port) host_set_launchctl_port(host, port) argument
209 #define host_get_amfid_port(host, port) \ argument
212 #define host_set_amfid_port(host, port) \ argument
[all …]
H A Dmach_host.defs95 host : host_t;
103 host : host_t;
116 host : host_t;
125 host :host_t;
160 host : host_t;
170 host : host_t;
182 host : host_t;
195 host : host_t;
206 host : host_t;
212 host :host_t;
[all …]
H A Dhost_priv.defs99 * Reboot this host.
108 * Return privileged statistics from this host.
168 * Get list of processors on this host.
237 * Set an exception handler for a host on one or more exception types.
238 * These handlers are invoked for all threads on the host if there are
251 * Lookup some of the old exception handlers for a host
299 * List all processor sets on host.
322 * Set the UserNotification daemon access port for this host.
327 host : host_priv_t;
331 * Get the UserNotification daemon access port for this host.
[all …]
H A Dmach_types.h126 typedef struct host *host_t;
127 typedef struct host *host_priv_t;
128 typedef struct host *host_security_t;
155 struct host;
H A Dhost_security.defs63 * Mach host security operations support.
86 host : host_t;
96 host : host_t);
/xnu-11215/libsyscall/mach/
H A Dhost.c37 host_get_atm_diagnostic_flag(host_t host __unused, in host_get_atm_diagnostic_flag()
45 host_get_multiuser_config_flags(host_t host __unused, in host_get_multiuser_config_flags()
58 host_check_multiuser_mode(host_t host __unused, in host_check_multiuser_mode()
65 kr = host_get_multiuser_config_flags(host, &multiuser_flags); in host_check_multiuser_mode()
78 _kernelrpc_host_create_mach_voucher(mach_port_name_t host,
84 host_create_mach_voucher(mach_port_name_t host, in host_create_mach_voucher() argument
91 rv = host_create_mach_voucher_trap(host, recipes, recipesCnt, voucher); in host_create_mach_voucher()
106 rv = _kernelrpc_host_create_mach_voucher(host, recipes, recipesCnt, voucher); in host_create_mach_voucher()
115 host_t host,
120 host_t host, in host_get_io_master() argument
[all …]
H A Dmach_init.c89 host_page_size(__unused host_t host, vm_size_t *out_page_size) in host_page_size() argument
H A Derr_kern.sub62 "(os/kern) invalid host",
164 "(os/unix) host is down",
165 "(os/unix) there is no route to host",
H A Derr_server.sub42 "(server/netname) no such host",
43 "(server/netname) host not found",
163 "(server/sunrpc) unknown host name",
/xnu-11215/osfmk/kern/
H A Dhost.h79 struct host { struct
85 typedef struct host host_data_t; argument
89 #define host_lock(host) lck_mtx_lock(&(host)->lock) argument
90 #define host_unlock(host) lck_mtx_unlock(&(host)->lock) argument
H A Dipc_host.c219 host_t host, in processor_set_default() argument
222 if (host == HOST_NULL) { in processor_set_default()
244 host_t host = HOST_NULL; in convert_port_to_host() local
251 if (host && host != &realhost) { in convert_port_to_host()
256 return host; in convert_port_to_host()
272 host_t host = HOST_NULL; in convert_port_to_host_priv() local
281 if (host && host != &realhost) { in convert_port_to_host_priv()
282 panic("unexpected host object: %p", host); in convert_port_to_host_priv()
286 return host; in convert_port_to_host_priv()
405 host_t host) in convert_host_to_port() argument
[all …]
H A Dhost.c192 if (host == HOST_NULL) { in host_info()
408 if (host == HOST_NULL) { in host_statistics()
915 if (host == HOST_NULL) { in host_statistics64()
957 if (host == HOST_NULL) { in host_statistics64_from_user()
984 if (host == HOST_NULL) { in host_statistics_from_user()
1078 if (host == HOST_NULL) { in host_page_size()
1096 if (host == HOST_NULL) { in host_kernel_version()
1162 host_processor_info(host_t host, in host_processor_info() argument
1177 if (host == HOST_NULL) { in host_processor_info()
1415 if (host == HOST_NULL) { in host_get_io_main()
[all …]
H A Dkmod.c94 host_t host __unused,
99 host_t host __unused, in kmod_get_info()
H A Dprocessor.c796 *host = &realhost; in processor_info()
818 *host = &realhost; in processor_info()
1292 *host = &realhost; in processor_set_info()
1305 *host = &realhost; in processor_set_info()
1318 *host = &realhost; in processor_set_info()
1332 *host = &realhost; in processor_set_info()
1345 *host = &realhost; in processor_set_info()
1358 *host = &realhost; in processor_set_info()
1371 *host = &realhost; in processor_set_info()
1384 *host = &realhost; in processor_set_info()
[all …]
H A Dhost_notify.c64 host_t host, in host_request_notification() argument
71 if (host == HOST_NULL) { in host_request_notification()
H A Dipc_host.h105 host_t host);
/xnu-11215/tests/
H A Dprocessor_info.c29 host_t host = mach_host_self();
32 kern_return_t kr = host_get_host_priv_port(host, &priv_port);
60 kr = processor_info(cpu_ports[i], PROCESSOR_CPU_STAT64, &host,
80 kr = processor_info(cpu_ports[i], PROCESSOR_CPU_STAT64, &host,
119 host_t host = mach_host_self(); variable
122 kern_return_t kr = host_get_host_priv_port(host, &priv_port);
H A Dimm_pinned_control_port.c246 mach_port_t host = mach_host_self(); in test_task_thread_port_values() local
292 kr = host_processor_sets(host, &psets, &pcnt); in test_task_thread_port_values()
296 kr = host_processor_set_priv(host, psets[0], &pset_priv); in test_task_thread_port_values()
301 mach_port_deallocate(mach_task_self(), host); in test_task_thread_port_values()
/xnu-11215/tests/sched/
H A Dall_cores_running.c73 static host_t host; variable
83 host = mach_host_self(); in init_host_and_cpu_count()
85 kr = host_get_host_priv_port(host, &priv_host); in init_host_and_cpu_count()
100 …kr = processor_info(cpu_ports[i], PROCESSOR_CPU_LOAD_INFO, &host, (processor_info_t)&cpu_loads[i],… in record_cpu_loads()
/xnu-11215/bsd/kern/
H A Dnetboot.c124 parse_booter_path(char * path, struct in_addr * iaddr_p, char const * * host, in parse_booter_path() argument
148 *host = start; in parse_booter_path()
211 parse_netboot_path(char * path, struct in_addr * iaddr_p, char const * * host, in parse_netboot_path() argument
247 *host = inet_ntop(AF_INET, iaddr_p, tmp, sizeof(tmp)); in parse_netboot_path()
252 parse_image_path(char * path, struct in_addr * iaddr_p, char const * * host, in parse_image_path() argument
256 return parse_booter_path(path, iaddr_p, host, mount_dir, in parse_image_path()
259 return parse_netboot_path(path, iaddr_p, host, mount_dir, in parse_image_path()
/xnu-11215/tests/vm/
H A Dvm_parameter_validation_replacement_mach_host.defs16 host :host_t;
/xnu-11215/osfmk/ipc/
H A Dmach_kernelrpc.c480 host_t host = port_name_to_host(args->host); in host_create_mach_voucher_trap() local
486 if (host == HOST_NULL) { in host_create_mach_voucher_trap()
511 kr = host_create_mach_voucher(host, krecipes, args->recipes_size, &new_voucher); in host_create_mach_voucher_trap()
/xnu-11215/tests/ipc/
H A Dipc_read_inspect.c224 mach_port_t host = mach_host_self(); in test_processor_set_tasks() local
231 kr = host_processor_sets(host, &psets, &pcnt); in test_processor_set_tasks()
235 kr = host_processor_set_priv(host, psets[0], &pset_priv); in test_processor_set_tasks()
240 mach_port_deallocate(mach_task_self(), host); in test_processor_set_tasks()
/xnu-11215/bsd/skywalk/nexus/flowswitch/
H A Dfsw.c753 boolean_t host) in fsw_netif_port_setup() argument
762 chr.cr_port = host ? NEXUS_PORT_NET_IF_HOST : NEXUS_PORT_NET_IF_DEV; in fsw_netif_port_setup()
763 chr.cr_mode |= CHMODE_CONFIG | (host ? CHMODE_HOST : 0); in fsw_netif_port_setup()
769 host ? "host" : "dev", err); in fsw_netif_port_setup()
772 if (host) { in fsw_netif_port_setup()
782 fsw_netif_port_teardown(struct nx_flowswitch *fsw, boolean_t host) in fsw_netif_port_teardown() argument
786 ch = host ? fsw->fsw_host_ch : fsw->fsw_dev_ch; in fsw_netif_port_teardown()
790 if (host) { in fsw_netif_port_teardown()
1567 boolean_t ifattach, boolean_t host) in fsw_port_alloc() argument
1575 nx_port = (host ? FSW_VP_HOST : FSW_VP_DEV); in fsw_port_alloc()
[all …]
/xnu-11215/makedefs/
H A DMakeInc.color38 # Start a host command: bold text

123