Home
last modified time | relevance | path

Searched refs:smr_serialized_load (Results 1 – 10 of 10) sorted by relevance

/xnu-10002.81.5/osfmk/kern/
H A Dsmr.h133 #define smr_serialized_load(ptr) \ macro
359 __container_of_safe(smr_serialized_load(&(head)->first), type_t, link)
369 __container_of_safe(smr_serialized_load(&(elem)->field.next), \
380 for (__auto_type __it = smr_serialized_load(&(head)->first); \
382 __it = smr_serialized_load(&__it->next))
395 for (__auto_type __it = smr_serialized_load(&(head)->first), \
398 ((__next_it = smr_serialized_load(&__it->next)), 1); \
413 smr_serialized_load(&__head->first), __smrq_lastp(__head)); \
443 smr_serialized_load(&__head->first), __smrq_lastp(__head)); \
520 ((it) = __container_of_safe(smr_serialized_load(__prev_##it), \
[all …]
H A Dsmr.c2315 while ((link = smr_serialized_load(prev))) {
2472 link = smr_serialized_load(&oldarray[i].first); in __smr_hash_grow_and_unlock()
2478 while ((next = smr_serialized_load(&link->next)) && in __smr_hash_grow_and_unlock()
2533 link = smr_serialized_load(&oldarray[i].first); in __smr_hash_grow_and_unlock()
2552 link = smr_serialized_load(&link->next); in __smr_hash_grow_and_unlock()
2554 while ((next = smr_serialized_load(&link->next)) && in __smr_hash_grow_and_unlock()
2775 other = smr_serialized_load(&other->next); in __smr_shash_entered_get_or_insert()
2834 next = smr_serialized_load(prev); in __smr_shash_entered_mut_begin()
2852 next = smr_serialized_load(&link->next); in __smr_shash_entered_mut_erase()
2879 next = smr_serialized_load(&old_link->next); in __smr_shash_entered_mut_replace()
[all …]
H A Dbtlog.c354 uint32_t param = smr_serialized_load(&btl->btl_param); in __btlib_rehash_needed()
454 while ((ref = smr_serialized_load(prev)) != BTREF_NULL) { in __btlib_split_step()
485 ref = smr_serialized_load(&bthp[i]->bth_array[j]); in __btlib_validate()
510 param_old = smr_serialized_load(&btl->btl_param); in __btlib_rehash_and_lock()
702 prev = __btlib_head(btl, smr_serialized_load(&btl->btl_param), hash); in __btlib_insert()
703 while ((ref = smr_serialized_load(prev)) != BTREF_NULL) { in __btlib_insert()
748 smr_serialized_store(&bts->bts_next, smr_serialized_load(prev)); in __btlib_insert()
767 uint32_t param = smr_serialized_load(&btl->btl_param); in __btlib_remove_locked()
782 btref_t tmp = smr_serialized_load(prev); in __btlib_remove_locked()
793 smr_serialized_store(prev, smr_serialized_load(&bts->bts_next)); in __btlib_remove_locked()
H A Dsmr_hash.h966 it->link = smr_serialized_load(&it->link->next); in smr_hash_iter_serialized_erase()
1610 for (struct smrq_slink *link = smr_serialized_load(&head->first); in __smr_hash_serialized_find()
1611 link; link = smr_serialized_load(&link->next)) { in __smr_hash_serialized_find()
/xnu-10002.81.5/osfmk/ipc/
H A Dipc_space.h172 table = smr_serialized_load(&space->is_table); in is_active_table()
H A Dipc_space.c431 table = smr_serialized_load(&space->is_table); in ipc_space_terminate()
H A Dipc_entry.c776 assert(smr_serialized_load(&space->is_table) == otable); in ipc_entry_grow_table()
/xnu-10002.81.5/bsd/kern/
H A Dkern_proc.c909 cred = smr_serialized_load(&proc_ro->p_ucred); in proc_free()
1612 kauth_cred_t cred = smr_serialized_load(&proc_get_ro(p)->p_ucred); in proc_ucred_unsafe()
2254 assert(pgrp == smr_serialized_load(&parent->p_pgrp)); in pgrp_add_member()
2566 pg = smr_serialized_load(&p->p_pgrp); in pgrp_leave_locked()
2581 pgrp = pg_ref(smr_serialized_load(&parent->p_pgrp)); in pgrp_enter_locked()
3933 oldpg = smr_serialized_load(&p->p_pgrp); in pgrp_replace()
3987 struct pgrp *pgrp = smr_serialized_load(&old_proc->p_pgrp); in session_replace_leader()
4048 pgrp = pg_ref(smr_serialized_load(&p->p_pgrp)); in proc_pgrp()
H A Dkern_resource.c1095 rlim = smr_serialized_load(&p->p_limit)->pl_rlimit[which]; in dosetrlimit()
1627 plimit = smr_serialized_load(&p->p_limit); in proc_limitdrop()
1685 cur_plim = smr_serialized_load(&p->p_limit);
H A Dproc_info.c416 struct pgrp *pg = smr_serialized_load(&p->p_pgrp); in proc_listpids()