/xnu-2422.115.4/tools/tests/unit_tests/thread_get_state_11918811_src/ |
H A D | thread_get_state.c | 110 thread_state_flavor_t flavors[128]; local 117 count = sizeof(flavors)/sizeof(natural_t); 118 kret = thread_get_state(thread, THREAD_STATE_FLAVOR_LIST_NEW, (thread_state_t)flavors, &count); 121 count = sizeof(flavors)/sizeof(natural_t); 122 kret = thread_get_state(thread, THREAD_STATE_FLAVOR_LIST, (thread_state_t)flavors, &count); 132 flavor = flavors[(i + iteration) % flcount];
|
/xnu-2422.115.4/bsd/kern/ |
H A D | kern_core.c | 88 mythread_state_flavor_t *flavors; member in struct:__anon107 151 mythread_state_flavor_t *flavors; local 160 flavors = t->flavors; 174 flavors[i]; 176 thread_getstatus(th_act, flavors[i].flavor, 178 &flavors[i].count); 179 hoffset += flavors[i].count*sizeof(int); 230 mythread_state_flavor_t flavors[MAX_TSTATE_FLAVORS]; local 313 bcopy(thread_flavor_array, flavors,sizeo [all...] |
/xnu-2422.115.4/osfmk/kern/ |
H A D | ipc_host.c | 622 thread_state_flavor_array_t flavors ) 648 && host_priv->exc_actions[i].flavor == flavors[j]) 659 flavors[j] = host_priv->exc_actions[i].flavor; 684 thread_state_flavor_array_t flavors ) 725 && host_priv->exc_actions[i].flavor == flavors[j]) 736 flavors[j] = host_priv->exc_actions[i].flavor;
|
H A D | ipc_tt.c | 1756 * The old ports, behavior and flavors are returned 1787 thread_state_flavor_array_t flavors) 1834 thread->exc_actions[i].flavor == flavors[j] ) { 1845 flavors[j] = thread->exc_actions[i].flavor; 1885 thread_state_flavor_array_t flavors) 1928 task->exc_actions[i].flavor == flavors[j] ) { 1938 flavors[j] = task->exc_actions[i].flavor; 1995 thread_state_flavor_array_t flavors) 2028 thread->exc_actions[i].flavor == flavors[j] ) { 2038 flavors[ 1777 thread_swap_exception_ports( thread_t thread, exception_mask_t exception_mask, ipc_port_t new_port, exception_behavior_t new_behavior, thread_state_flavor_t new_flavor, exception_mask_array_t masks, mach_msg_type_number_t *CountCnt, exception_port_array_t ports, exception_behavior_array_t behaviors, thread_state_flavor_array_t flavors) argument 1875 task_swap_exception_ports( task_t task, exception_mask_t exception_mask, ipc_port_t new_port, exception_behavior_t new_behavior, thread_state_flavor_t new_flavor, exception_mask_array_t masks, mach_msg_type_number_t *CountCnt, exception_port_array_t ports, exception_behavior_array_t behaviors, thread_state_flavor_array_t flavors) argument 1988 thread_get_exception_ports( thread_t thread, exception_mask_t exception_mask, exception_mask_array_t masks, mach_msg_type_number_t *CountCnt, exception_port_array_t ports, exception_behavior_array_t behaviors, thread_state_flavor_array_t flavors) argument 2055 task_get_exception_ports( task_t task, exception_mask_t exception_mask, exception_mask_array_t masks, mach_msg_type_number_t *CountCnt, exception_port_array_t ports, exception_behavior_array_t behaviors, thread_state_flavor_array_t flavors) argument [all...] |
/xnu-2422.115.4/bsd/nfs/ |
H A D | nfs_vfsops.c | 1731 uint32_t flavors[2], i=0; local 1733 flavors[i++] = args.auth; 1734 if ((args.flags & NFSMNT_SECSYSOK) && ((i == 0) || (flavors[0] != RPCAUTH_SYS))) 1735 flavors[i++] = RPCAUTH_SYS; 1736 xb_add_word_array(error, &xb, flavors, i); 2123 * If no security flavors were specified we'll want to default to the server's 2372 error = nfs4_secinfo_rpc(nmp, &si, vfs_context_ucred(ctx), sec.flavors, &sec.count); 2379 nmp->nm_auth = sec.flavors[0]; 2825 xb_get_32(error, &xb, nmp->nm_sec.flavors[i]); 2827 switch (nmp->nm_sec.flavors[ [all...] |
H A D | nfs_socket.c | 1392 nmp->nm_servsec.flavors[0] = RPCAUTH_SYS; 1398 nmp->nm_auth = nmp->nm_sec.flavors[0]; 1403 if (nmp->nm_sec.flavors[o] == nmp->nm_servsec.flavors[s]) { 1404 nmp->nm_auth = nmp->nm_sec.flavors[o]; 1414 switch (nmp->nm_servsec.flavors[s]) { 1424 nmp->nm_auth = nmp->nm_servsec.flavors[s]; 4092 * to track flavors to try. We fill the array with the mount's 4093 * preferred flavors or the server's preferred flavors o [all...] |
H A D | nfs.h | 174 #define NFS_MATTR_SECURITY 12 /* RPC security flavors to use */ 418 /* Structure to hold an array of security flavors */ 422 uint32_t flavors[NX_MAX_SEC_FLAVORS]; member in struct:nfs_sec 430 struct nfs_sec nxna_sec; /* security mechanism flavors */ 544 struct nfs_sec nxo_sec; /* security mechanism flavors */ 905 uint32_t *r_wrongsec; /* wrongsec: other flavors to try */
|
H A D | nfs_subs.c | 2456 if (sf1->flavors[i] != sf2->flavors[i]) 3281 if (nd->nd_sec == nxo->nxo_sec.flavors[i]) {
|
H A D | nfs_gss.c | 271 if (!nmp->nm_sec.count) /* assume it's OK if we don't have a set of flavors */ 274 if (nmp->nm_sec.flavors[i] == RPCAUTH_SYS)
|
H A D | nfs4_vnops.c | 1200 error = nfs4_secinfo_rpc(nmp, &req->r_secinfo, vfs_context_ucred(ctx), sec.flavors, &sec.count); 1208 nmp->nm_auth = sec.flavors[0];
|