Home
last modified time | relevance | path

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

123456789

/xnu-11215.81.4/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-11215.81.4/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-11215.81.4/bsd/net/ !
H A Dnetwork_agent.h60 uuid_t trigger_proc_uuid;
64 uuid_t client_id;
68 uuid_t client_id;
73 uuid_t client_id;
78 uuid_t assign_client_id;
188 uuid_t netagent_uuid;
193 uuid_t netagent_uuid;
204 uuid_t netagent_uuid;
222 uuid_t netagent_uuid;
231 uuid_t netagent_uuid;
[all …]
H A Dnecp.h63 uuid_t effective_uuid;
400 uuid_t service_uuid;
406 uuid_t netagents[NECP_MAX_NETAGENTS];
880 uuid_t netagent_uuid;
903 uuid_t nexus_agent;
925 uuid_t group_id;
930 uuid_t clients[0];
952 uuid_t agent_uuid;
953 uuid_t registration_id;
962 uuid_t agent_uuid;
[all …]
H A Dcontent_filter.h99 uuid_t cfs_uuid;
100 uuid_t cfs_e_uuid;
101 uuid_t cfs_r_uuid;
126 uuid_t flow_id;
135 uuid_t uuid;
136 uuid_t effective_uuid;
137 uuid_t responsible_uuid;
224 uuid_t cfs_uuid;
225 uuid_t cfs_e_uuid;
226 uuid_t cfs_r_uuid;
[all …]
H A Dif_ports_used.h66 uuid_t xng_wakeuuid; /* WakeUUID when list was built */
94 uuid_t npi_flow_uuid;
103 uuid_t npi_owner_uuid;
104 uuid_t npi_effective_uuid;
189 uuid_t wake_uuid;
198 uuid_t wake_pkt_owner_uuid;
199 uuid_t wake_pkt_effective_uuid;
227 uuid_t una_wake_uuid;
/xnu-11215.81.4/bsd/skywalk/nexus/ !
H A Dos_nexus.h222 uuid_t __uuid; /* flow UUID */
315 uuid_t *prov_uuid);
321 const uuid_t prov_uuid);
327 const nexus_controller_t ctl, const uuid_t prov_uuid, uuid_t *nx_uuid);
333 const nexus_controller_t ctl, const uuid_t nx_uuid);
367 const nexus_controller_t ctl, const uuid_t nx_uuid, const nexus_port_t port,
368 const pid_t pid, const uuid_t exec_uuid, const void *key,
377 const nexus_controller_t ctl, const uuid_t nx_uuid,
384 const uuid_t prov_uuid, nexus_attr_t attr);
395 uuid_t *rule_uuid);
[all …]
H A Dos_nexus_private.h193 uuid_t npre_prov_uuid; /* Nexus provider UUID */
221 uuid_t nl_prov_uuid; /* nexus provider UUID */
231 uuid_t nb_nx_uuid; /* nexus instance UUID */
234 uuid_t nb_exec_uuid; /* executable UUID */
252 uuid_t nu_nx_uuid; /* nexus instance UUID */
260 uuid_t cl_nx_uuid; /* nexus instance UUID */
312 uuid_t nmf_nx_uuid; /* nexus instance uuid */
313 uuid_t nmf_flow_id; /* flow rule id */
337 uuid_t nc_nx_uuid; /* nexus instance UUID */
349 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_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()
412 uuid_t uuid_null = {0}; in __nexus_bind_req_prepare()
416 bcopy(nx_uuid, nbr->nb_nx_uuid, sizeof(uuid_t)); in __nexus_bind_req_prepare()
418 if (exec_uuid != NULL && memcmp(exec_uuid, uuid_null, sizeof(uuid_t))) { in __nexus_bind_req_prepare()
419 bcopy(exec_uuid, nbr->nb_exec_uuid, sizeof(uuid_t)); in __nexus_bind_req_prepare()
438 __nexus_unbind_req_prepare(struct nx_unbind_req *nbu, const uuid_t nx_uuid, in __nexus_unbind_req_prepare()
443 bcopy(nx_uuid, nbu->nu_nx_uuid, sizeof(uuid_t)); in __nexus_unbind_req_prepare()
450 __nexus_config_req_prepare(struct nx_cfg_req *ncr, const uuid_t nx_uuid, in __nexus_config_req_prepare()
456 bcopy(nx_uuid, ncr->nc_nx_uuid, sizeof(uuid_t)); in __nexus_config_req_prepare()
H A Dnexus_var.h75 uuid_t nxctl_uuid;
76 uuid_t nxctl_proc_uuid;
102 uuid_t nxb_exec_uuid;
216 uuid_t nx_uuid;
262 uuid_t nxprov_uuid;
297 uuid_t nxdom_prov_uuid;
468 extern struct kern_nexus *nx_create(struct nxctl *, const uuid_t,
478 extern int nx_destroy(struct nxctl *, const uuid_t);
479 extern struct kern_nexus *nx_find(const uuid_t, boolean_t);
505 const uuid_t, int *);
[all …]
/xnu-11215.81.4/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-11215.81.4/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-11215.81.4/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
/xnu-11215.81.4/tests/skywalk/ !
H A Dskywalk_test_utils.h53 uuid_t fsw_prov_uuid;
54 uuid_t fsw_nx_uuid;
55 uuid_t fsw_nx_host_attach_uuid;
56 uuid_t fsw_nx_dev_attach_uuid;
57 uuid_t netif_prov_uuid;
58 uuid_t netif_nx_uuid;
59 uuid_t netif_nx_attach_uuid;
147 uuid_t flow_uuid;
204 uuid_t uuid;
216 sktu_channel_create_extended(const uuid_t uuid,
[all …]
H A Dskt_fsw29301703.c53 uuid_t netif_provider; in skt_fsw29301703_common()
54 uuid_t netif_instance; in skt_fsw29301703_common()
55 uuid_t netif_attach; in skt_fsw29301703_common()
56 uuid_t fsw_provider; in skt_fsw29301703_common()
57 uuid_t fsw_instance; in skt_fsw29301703_common()
58 uuid_t fsw_if_attach; in skt_fsw29301703_common()
H A Dskt_pllupipe.c52 uuid_t channel_uuid; in skt_pllupipe_main()
80 uuid_t channel_uuid; in skt_pllupipe_txk_main()
106 uuid_t channel_uuid; in skt_pllupipe_txs_main()
132 uuid_t channel_uuid; in skt_pllupipe_txp_main()
158 uuid_t channel_uuid; in skt_pllupipe_rxk_main()
184 uuid_t channel_uuid; in skt_pllupipe_rxs_main()
210 uuid_t channel_uuid; in skt_pllupipe_rxp_main()
H A Dskt_manyflows.c49 …_flows(nexus_controller_t ncd, const uuid_t fsw, nexus_port_t nx_port_start, int nports, int nflow… in do_flows()
63 undo_flows(nexus_controller_t ncd, const uuid_t fsw, int nflows, const uuid_t flows[]) in undo_flows()
81 uuid_t flows[nports * nflows_per_port]; in skt_manyflows_common()
173 uuid_t flows[nports]; in skt_mf1xall_common()
174 uuid_t extraflow; in skt_mf1xall_common()
249 uuid_t mcflows[100 * 100];
320 uuid_t fsw_uuid; in skt_mcflows_main()
H A Dskt_netifcompat.c42 static uuid_t if_uuid;
201 uuid_t ms_provider; in skt_fsw_common()
202 uuid_t ms_instance; in skt_fsw_common()
203 uuid_t ms_attach; in skt_fsw_common()
204 uuid_t scratch; in skt_fsw_common()
248 uuid_t flow_id; in skt_fsw_common()
305 uuid_t attach; in skt_netifdelete_main()
/xnu-11215.81.4/osfmk/kern/ !
H A Dext_paniclog.h92 uuid_t uuid;
104 uuid_t uuid;
111 ext_paniclog_handle_t *ext_paniclog_handle_alloc_with_uuid(uuid_t uuid, const char *data_id, uint32…
112 ext_paniclog_handle_t *ext_paniclog_handle_alloc_with_buffer(uuid_t uuid, const char *data_id, uint…
128 void panic_with_data(uuid_t uuid, void *addr, uint32_t len, uint64_t debugger_options_mask, const c…
130 void ext_paniclog_panic_with_data(uuid_t uuid, void *addr, uint32_t len);
H A Dext_paniclog.c68 uuid_t uuid; in ext_paniclog_init()
75 ext_paniclog_handle_alloc_with_uuid(uuid_t uuid, const char *data_id, in ext_paniclog_handle_alloc_with_uuid()
103 memcpy(handle->uuid, uuid, sizeof(uuid_t)); in ext_paniclog_handle_alloc_with_uuid()
116 ext_paniclog_handle_alloc_with_buffer(uuid_t uuid, const char *data_id, in ext_paniclog_handle_alloc_with_buffer()
284 ext_paniclog_panic_with_data(uuid_t uuid, void *addr, uint32_t len) in ext_paniclog_panic_with_data()
294 memcpy(&panic_with_data_handle->uuid[0], &uuid[0], sizeof(uuid_t)); in ext_paniclog_panic_with_data()
373 memcpy(dst, tmp->uuid, sizeof(uuid_t)); in ext_paniclog_write_panicdata()
374 dst += sizeof(uuid_t); in ext_paniclog_write_panicdata()
396 uuid_t uuid; in ext_paniclog_create_multiple_handles()
433 uuid_t uuid; in ext_paniclog_multiple_handles_panic_test()
[all …]
/xnu-11215.81.4/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-11215.81.4/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-11215.81.4/iokit/Kernel/ !
H A DIONVRAM.cpp320 const uuid_t *varGuid;
352 getPartitionTypeForGUID(const uuid_t guid) in getPartitionTypeForGUID()
416 verifyWriteSizeLimit(const uuid_t varGuid, const char *variableName, size_t propDataSize) in verifyWriteSizeLimit()
456 parseVariableName(const char *key, uuid_t *guidResult, const char **nameResult) in parseVariableName()
462 uuid_t guid; in parseVariableName()
486 parseVariableName(const OSSymbol *key, uuid_t *guidResult, const char **nameResult) in parseVariableName()
500 translateGUID(const uuid_t varGuid, const char *variableName, uuid_t destGuid, bool systemActive) in translateGUID()
544 verifyVarEntitlement(const uuid_t varGuid, const char *varName, IONVRAMOperation op, bool systemAct… in verifyVarEntitlement()
551 uuid_t translatedGuid; in verifyVarEntitlement()
575 kernelOnlyVar(const uuid_t varGuid, const char *varName) in kernelOnlyVar()
[all …]

123456789