Home
last modified time | relevance | path

Searched refs:uuid_t (Results 1 – 25 of 157) sorted by relevance

1234567

/xnu-8792.41.9/libkern/uuid/
H A Duuid.c69 uuid_clear(uuid_t uu) in uuid_clear()
71 memset(uu, 0, sizeof(uuid_t)); in uuid_clear()
75 uuid_compare(const uuid_t uu1, const uuid_t uu2) in uuid_compare()
77 return memcmp(uu1, uu2, sizeof(uuid_t)); in uuid_compare()
81 uuid_copy(uuid_t dst, const uuid_t src) in uuid_copy()
83 memcpy(dst, src, sizeof(uuid_t)); in uuid_copy()
87 uuid_random_setflags(uuid_t out) in uuid_random_setflags()
94 uuid_generate_random(uuid_t out) in uuid_generate_random()
96 read_random(out, sizeof(uuid_t)); in uuid_generate_random()
101 uuid_generate_early_random(uuid_t out) in uuid_generate_early_random()
[all …]
/xnu-8792.41.9/bsd/uuid/
H A Duuid.h47 …static const uuid_t name __attribute__ ((unused)) = {u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13…
55 void uuid_clear(uuid_t uu);
57 int uuid_compare(const uuid_t uu1, const uuid_t uu2);
59 void uuid_copy(uuid_t dst, const uuid_t src);
61 void uuid_generate(uuid_t out);
62 void uuid_generate_random(uuid_t out);
63 void uuid_generate_time(uuid_t out);
66 void uuid_generate_early_random(uuid_t out);
69 int uuid_is_null(const uuid_t uu);
71 int uuid_parse(const uuid_string_t in, uuid_t uu);
[all …]
/xnu-8792.41.9/bsd/net/
H A Dnetwork_agent.h59 uuid_t trigger_proc_uuid;
63 uuid_t client_id;
67 uuid_t client_id;
72 uuid_t client_id;
77 uuid_t assign_client_id;
187 uuid_t netagent_uuid;
192 uuid_t netagent_uuid;
203 uuid_t netagent_uuid;
221 uuid_t netagent_uuid;
230 uuid_t netagent_uuid;
[all …]
H A Dnecp.h348 uuid_t service_uuid;
353 uuid_t netagents[NECP_MAX_NETAGENTS];
808 uuid_t netagent_uuid;
826 uuid_t nexus_agent;
848 uuid_t group_id;
853 uuid_t clients[0];
874 uuid_t agent_uuid;
875 uuid_t registration_id;
883 uuid_t agent_uuid;
888 uuid_t agent_uuid;
[all …]
H A Dif_ports_used.h65 uuid_t xng_wakeuuid; /* WakeUUID when list was built */
93 uuid_t npi_flow_uuid;
102 uuid_t npi_owner_uuid;
103 uuid_t npi_effective_uuid;
122 uuid_t wake_uuid;
131 uuid_t wake_pkt_owner_uuid;
132 uuid_t wake_pkt_effective_uuid;
154 uuid_t una_wake_uuid;
H A Dcontent_filter.h98 uuid_t cfs_uuid;
99 uuid_t cfs_e_uuid;
124 uuid_t flow_id;
132 uuid_t uuid;
133 uuid_t effective_uuid;
214 uuid_t cfs_uuid;
215 uuid_t cfs_e_uuid;
344 uuid_t cfb_client_uuid;
401 uuid_t cfs_uuid;
402 uuid_t cfs_e_uuid;
H A Dnetwork_agent.c83 uuid_t client_id;
84 uuid_t client_proc_uuid;
227 static struct netagent_wrapper *netagent_find_agent_with_uuid_and_lock(uuid_t uuid, bool exclusivel…
297 netagent_post_event(uuid_t agent_uuid, u_int32_t event_code, bool update_necp, bool should_update_i… in netagent_post_event()
378 netagent_send_client_message(struct netagent_wrapper *wrapper, uuid_t client_id, u_int8_t message_t… in netagent_send_client_message()
404 netagent_send_error_message(struct netagent_wrapper *wrapper, uuid_t client_id, u_int8_t message_ty… in netagent_send_error_message()
431 netagent_send_group_message(struct netagent_wrapper *wrapper, uuid_t client_id, u_int8_t message_ty… in netagent_send_group_message()
824 uuid_t unregistered_uuid; in netagent_unregister_session_wrapper()
930 uuid_t registered_uuid; in netagent_register()
975 uuid_t registered_uuid; in netagent_handle_register_setopt()
[all …]
H A Dpktap.h126 uuid_t pth_uuid;
127 uuid_t pth_euuid;
180 uint8_t pth_uuid[sizeof(uuid_t)];
181 uint8_t pth_e_uuid[sizeof(uuid_t)];
/xnu-8792.41.9/bsd/skywalk/nexus/
H A Dos_nexus.h221 uuid_t __uuid; /* flow UUID */
314 uuid_t *prov_uuid);
320 const uuid_t prov_uuid);
326 const nexus_controller_t ctl, const uuid_t prov_uuid, uuid_t *nx_uuid);
332 const nexus_controller_t ctl, const uuid_t nx_uuid);
366 const nexus_controller_t ctl, const uuid_t nx_uuid, const nexus_port_t port,
367 const pid_t pid, const uuid_t exec_uuid, const void *key,
376 const nexus_controller_t ctl, const uuid_t nx_uuid,
383 const uuid_t prov_uuid, nexus_attr_t attr);
394 uuid_t *rule_uuid);
[all …]
H A Dos_nexus_private.h190 uuid_t npre_prov_uuid; /* Nexus provider UUID */
218 uuid_t nl_prov_uuid; /* nexus provider UUID */
228 uuid_t nb_nx_uuid; /* nexus instance UUID */
231 uuid_t nb_exec_uuid; /* executable UUID */
249 uuid_t nu_nx_uuid; /* nexus instance UUID */
257 uuid_t cl_nx_uuid; /* nexus instance UUID */
309 uuid_t nmf_nx_uuid; /* nexus instance uuid */
310 uuid_t nmf_flow_id; /* flow rule id */
333 uuid_t nc_nx_uuid; /* nexus instance UUID */
345 uuid_t nsru_uuid;
[all …]
H A Dnexus_syscalls.c88 uuid_t nxctl_uuid; in __nexus_open()
184 uap->prov_uuid_len < sizeof(uuid_t))) { in __nexus_register()
225 err = copyout(&nxprov->nxprov_uuid, uap->prov_uuid, sizeof(uuid_t)); in __nexus_register()
254 uuid_t nxprov_uuid; in __nexus_deregister()
259 if (__improbable(uap->prov_uuid_len < sizeof(uuid_t))) { in __nexus_deregister()
261 sizeof(uuid_t)); in __nexus_deregister()
265 err = copyin(uap->prov_uuid, (caddr_t)&nxprov_uuid, sizeof(uuid_t)); in __nexus_deregister()
300 uuid_t nxprov_uuid; in __nexus_create()
305 if (__improbable(uap->prov_uuid_len < sizeof(uuid_t) || in __nexus_create()
306 uap->nx_uuid_len < sizeof(uuid_t) || in __nexus_create()
[all …]
H A Dnexus_var.h75 uuid_t nxctl_uuid;
76 uuid_t nxctl_proc_uuid;
98 uuid_t nxb_exec_uuid;
211 uuid_t nx_uuid;
254 uuid_t nxprov_uuid;
289 uuid_t nxdom_prov_uuid;
459 extern struct kern_nexus *nx_create(struct nxctl *, const uuid_t,
469 extern int nx_destroy(struct nxctl *, const uuid_t);
470 extern struct kern_nexus *nx_find(const uuid_t, boolean_t);
496 const uuid_t, int *);
[all …]
H A Dnexus_ioctl.h65 uuid_t atri_uuid;
71 uuid_t rtr_uuid;
84 uuid_t trg_uuid;
H A Dnexus_kern.c64 static int _kern_nexus_ifattach(struct nxctl *nxctl, const uuid_t nx_uuid,
65 struct ifnet *ifp, const uuid_t nx_uuid_attachee, boolean_t host,
66 uuid_t *nx_if_uuid);
519 nxdom_prov_find_uuid(const uuid_t dom_prov_uuid) in nxdom_prov_find_uuid()
549 const uint32_t init_len, uuid_t *dom_prov_uuid) in kern_nexus_register_domain_provider()
634 kern_nexus_deregister_domain_provider(const uuid_t dom_prov_uuid) in kern_nexus_deregister_domain_provider()
670 uuid_t *dom_prov_uuid) in kern_nexus_get_default_domain_provider()
803 uuid_t nxctl_uuid; in kern_nexus_controller_create()
940 const uuid_t dom_prov_uuid, const nexus_name_t name, in kern_nexus_controller_register_provider()
942 const nexus_attr_t nxa, uuid_t *prov_uuid) in kern_nexus_controller_register_provider()
[all …]
H A Dnexus_common.h408 __nexus_bind_req_prepare(struct nx_bind_req *nbr, const uuid_t nx_uuid, in __nexus_bind_req_prepare()
409 const nexus_port_t port, const pid_t pid, const uuid_t exec_uuid, in __nexus_bind_req_prepare()
414 bcopy(nx_uuid, nbr->nb_nx_uuid, sizeof(uuid_t)); in __nexus_bind_req_prepare()
417 bcopy(exec_uuid, nbr->nb_exec_uuid, sizeof(uuid_t)); in __nexus_bind_req_prepare()
436 __nexus_unbind_req_prepare(struct nx_unbind_req *nbu, const uuid_t nx_uuid, in __nexus_unbind_req_prepare()
441 bcopy(nx_uuid, nbu->nu_nx_uuid, sizeof(uuid_t)); in __nexus_unbind_req_prepare()
448 __nexus_config_req_prepare(struct nx_cfg_req *ncr, const uuid_t nx_uuid, in __nexus_config_req_prepare()
454 bcopy(nx_uuid, ncr->nc_nx_uuid, sizeof(uuid_t)); in __nexus_config_req_prepare()
/xnu-8792.41.9/libsyscall/wrappers/skywalk/
H A Dos_nexus.c123 const nexus_attr_t nxa, uuid_t *prov_uuid) in os_nexus_controller_register_provider()
130 prov_uuid, sizeof(uuid_t)); in os_nexus_controller_register_provider()
137 const uuid_t prov_uuid) in os_nexus_controller_deregister_provider()
139 return __nexus_deregister(ncd->ncd_fd, prov_uuid, sizeof(uuid_t)); in os_nexus_controller_deregister_provider()
144 const uuid_t prov_uuid, uuid_t *nx_uuid) in os_nexus_controller_alloc_provider_instance()
146 return __nexus_create(ncd->ncd_fd, prov_uuid, sizeof(uuid_t), in os_nexus_controller_alloc_provider_instance()
147 nx_uuid, sizeof(uuid_t)); in os_nexus_controller_alloc_provider_instance()
152 const uuid_t nx_uuid) in os_nexus_controller_free_provider_instance()
154 return __nexus_destroy(ncd->ncd_fd, nx_uuid, sizeof(uuid_t)); in os_nexus_controller_free_provider_instance()
159 const uuid_t nx_uuid, const nexus_port_t port, const pid_t pid, in os_nexus_controller_bind_provider_instance()
[all …]
/xnu-8792.41.9/bsd/kern/
H A Dproc_uuid_policy.c84 uuid_t uuid; /* Mach-O executable UUID */
89 proc_uuid_policy_insert(uuid_t uuid, uint32_t flags);
92 proc_uuid_policy_remove_locked(uuid_t uuid, uint32_t flags, int *should_delete);
95 proc_uuid_policy_remove(uuid_t uuid, uint32_t flags);
98 proc_uuid_policy_lookup_locked(uuid_t uuid);
112 proc_uuid_policy_insert(uuid_t uuid, uint32_t flags) in proc_uuid_policy_insert()
128 memcpy(entry->uuid, uuid, sizeof(uuid_t)); in proc_uuid_policy_insert()
166 proc_uuid_policy_remove_locked(uuid_t uuid, uint32_t flags, int *should_delete) in proc_uuid_policy_remove_locked()
190 proc_uuid_policy_remove(uuid_t uuid, uint32_t flags) in proc_uuid_policy_remove()
233 proc_uuid_policy_lookup_locked(uuid_t uuid) in proc_uuid_policy_lookup_locked()
[all …]
/xnu-8792.41.9/libsyscall/wrappers/
H A Dgethostuuid.c32 extern int __gethostuuid(uuid_t, const struct timespec *);
34 static volatile int (*_gethostuuid_callback)(uuid_t) = (void *)0;
37 gethostuuid(uuid_t uuid, const struct timespec *timeout) in gethostuuid()
56 _getprivatesystemidentifier(uuid_t uuid, const struct timespec *timeout) in _getprivatesystemidentifier()
62 _register_gethostuuid_callback(int (*new_callback)(uuid_t)) in _register_gethostuuid_callback() argument
H A Dgethostuuid_private.h38 int _getprivatesystemidentifier(uuid_t uuid, const struct timespec *timeout) __OSX_AVAILABLE_STARTI…
41 int _register_gethostuuid_callback(int (*)(uuid_t)) __OSX_AVAILABLE_STARTING(__MAC_10_9, __IPHONE_7…
H A Dgethostuuid.h37 int gethostuuid(uuid_t, const struct timespec *) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC…
39 int gethostuuid(uuid_t, const struct timespec *) __API_AVAILABLE(macos(10.5)) __SPI_AVAILABLE(ios(2…
/xnu-8792.41.9/tests/
H A Dproc_uuid_policy_26567533.c13 uuid_t null_uuid;
14 memset(null_uuid, 0, sizeof(uuid_t));
27 …ret = proc_uuid_policy(PROC_UUID_POLICY_OPERATION_ADD, null_uuid, sizeof(uuid_t), policy_flags[i]);
38 …ret = proc_uuid_policy(PROC_UUID_POLICY_OPERATION_REMOVE, null_uuid, sizeof(uuid_t), policy_flags[…
H A Dnet_tuntests.c92 static int create_tunsock_old(int enable_netif, int enable_flowswitch, int channel_count, uuid_t uu…
93 static int create_tunsock_new(int enable_netif, int enable_flowswitch, int channel_count, uuid_t uu…
94 static int (*create_tunsock)(int enable_netif, int enable_flowswitch, int channel_count, uuid_t uui…
153 check_enables(int tunsock, int enable_netif, int enable_flowswitch, int channel_count, uuid_t uuid[… in check_enables()
157 uuid_t scratchuuid[channel_count]; in check_enables()
178 uuidlen = sizeof(uuid_t) * (unsigned int)channel_count; in check_enables()
222 uuidlen = sizeof(uuid_t) * (unsigned int)channel_count; in check_enables()
225 …T_QUIET; T_EXPECT_EQ_ULONG((unsigned long)uuidlen, sizeof(uuid_t) * (unsigned long)channel_count, … in check_enables()
233 uuidlen = sizeof(uuid_t) * (unsigned int)channel_count; in check_enables()
236 …T_QUIET; T_EXPECT_EQ_ULONG((unsigned long)uuidlen, sizeof(uuid_t) * (unsigned long)channel_count, … in check_enables()
[all …]
/xnu-8792.41.9/iokit/IOKit/
H A DIONVRAM.h109 IOReturn chooseDictionary(IONVRAMOperation operation, const uuid_t varGuid,
111 IOReturn flushDict(const uuid_t guid, IONVRAMOperation op);
112 …bool handleSpecialVariables(const char *name, const uuid_t guid, const OSObject *obj, IOReturn *er…
116 OSSharedPtr<OSObject> copyPropertyWithGUIDAndName(const uuid_t guid, const char *name) const;
117 IOReturn removePropertyWithGUIDAndName(const uuid_t guid, const char *name);
118 IOReturn setPropertyWithGUIDAndName(const uuid_t guid, const char *name, OSObject *anObject);
/xnu-8792.41.9/bsd/sys/
H A Dproc_uuid_policy.h84 extern int proc_uuid_policy_lookup(uuid_t uuid, uint32_t *flags, int32_t *gencount);
88 extern int proc_uuid_policy_kernel(uint32_t operation, uuid_t uuid, uint32_t flags);
115 extern int proc_uuid_policy(uint32_t operation, uuid_t uuid, size_t uuidlen, uint32_t flags);
/xnu-8792.41.9/bsd/netinet6/
H A Din6_private.h319 uuid_t euuid;
326 in6_clat46_evhdlr_code_t, pid_t, uuid_t);
328 pid_t, uuid_t);
331 pid_t, uuid_t);

1234567