| /xnu-11215/bsd/security/audit/ |
| H A D | audit_bsd.c | 195 if (lp->rw_lock) { in _audit_rw_destroy() 238 lp->rl_thread = 0; in _audit_rlck_init() 239 lp->rl_recurse = 0; in _audit_rlck_init() 270 lp->rl_thread = 0; in _audit_rlck_unlock() 278 if (lp->rl_mtx) { in _audit_rlck_destroy() 280 lp->rl_mtx = NULL; in _audit_rlck_destroy() 294 lp, cthd); in _audit_rlck_assert() 298 lp, cthd); in _audit_rlck_assert() 318 lp->sl_locked = 0; in _audit_slck_init() 352 lp->sl_locked = 0; in _audit_slck_unlock() [all …]
|
| H A D | audit_bsd.h | 251 #define slck_init(lp, name) _audit_slck_init((lp), (name)) argument 252 #define slck_lock(lp) _audit_slck_lock((lp), 0) argument 254 #define slck_unlock(lp) _audit_slck_unlock((lp)) argument 255 #define slck_destroy(lp) _audit_slck_destroy((lp)) argument 266 #define rlck_lock(lp) _audit_rlck_lock((lp)) argument 267 #define rlck_unlock(lp) _audit_rlck_unlock((lp)) argument 268 #define rlck_destroy(lp) _audit_rlck_destroy((lp)) argument 275 #define rw_init(lp, name) _audit_rw_init(lp, name) argument 280 #define rw_destroy(lp) _audit_rw_destroy(lp) argument 294 #define rlck_assert(lp, wht) _audit_rlck_assert((lp), wht) argument [all …]
|
| /xnu-11215/tools/tests/affinity/ |
| H A D | sets.c | 200 policy.affinity_tag = lp->setnum; in manager_fn() 346 line_info_t *lp; in main() local 430 lp = &line_info[i]; in main() 432 lp->setnum = i + 1; in main() 440 sp->set = lp; in main() 441 lp->stage[j] = sp; in main() 453 sp = lp->stage[j]; in main() 461 sp->input = &lp->stage[j]->bufq; in main() 468 work_array[j].data = lp->data + (lp->isize * j); in main() 478 (void *) lp->stage[j])) { in main() [all …]
|
| /xnu-11215/libsyscall/wrappers/string/ |
| H A D | strlen.c | 81 const unsigned long *lp; in _libkernel_strlen() local 91 for (lp = (const unsigned long *)p;; lp++) { in _libkernel_strlen() 92 if ((*lp - mask01) & mask80) { in _libkernel_strlen() 93 p = (const char *)(lp); in _libkernel_strlen()
|
| /xnu-11215/libkern/os/ |
| H A D | log.c | 169 assert3u(lp->lp_pub_data_size, <=, lp->lp_data_size); in log_payload_priv_data_size() 170 return lp->lp_data_size - lp->lp_pub_data_size; in log_payload_priv_data_size() 176 if (log_payload_priv_data_size(lp) == 0) { in log_payload_priv_data() 179 return &lp_data[lp->lp_pub_data_size]; in log_payload_priv_data() 189 lp->lp_stream = stream; in log_payload_init() 190 lp->lp_ftid = ftid; in log_payload_init() 191 lp->lp_timestamp = timestamp; in log_payload_init() 193 lp->lp_data_size = (uint16_t)data_size; in log_payload_init() 1042 log_stats_update_saved(lp->lp_stream); in firehose_trace() 1043 return lp->lp_ftid.ftid_value; in firehose_trace() [all …]
|
| H A D | log_queue.c | 203 log_queue_add_entry(log_queue_t lq, log_payload_t lp, const uint8_t *lp_data) in log_queue_add_entry() argument 210 assert(lqe->lqe_size >= lp->lp_data_size); in log_queue_add_entry() 212 lqe->lqe_payload = *lp; in log_queue_add_entry() 304 log_payload_s lp = { in log_queue_dispatch_logs() local 319 if (log_payload_send(&lp, lp_data, false)) { in log_queue_dispatch_logs() 581 log_queue_add(log_payload_t lp, const uint8_t *lp_data) in log_queue_add() argument 603 bool added = log_queue_add_entry(lq, lp, lp_data); in log_queue_add() 673 log_queue_log(log_payload_t lp, const void *lp_data, bool stream) in log_queue_log() argument 675 assert(lp); in log_queue_log() 680 if (log_payload_send(lp, lp_data, stream)) { in log_queue_log() [all …]
|
| /xnu-11215/osfmk/kern/ |
| H A D | lock_stat.h | 160 #define LOCKSTAT_RECORD_(probe, lp, arg0, arg1, arg2, arg3, ...) \ argument 161 lockstat_probe(probe, lp, arg0, arg1, arg2, arg3) 162 #define LOCKSTAT_RECORD__(probe, lp, arg0, arg1, arg2, arg3, ...) \ argument 163 LOCKSTAT_RECORD_(probe, lp, arg0, arg1, arg2, arg3) 164 #define LOCKSTAT_RECORD(probe, lp, ...) \ argument 165 LOCKSTAT_RECORD__(probe, lp, ##__VA_ARGS__, 0, 0, 0, 0)
|
| /xnu-11215/bsd/dev/ |
| H A D | memdev.c | 490 char *ba, *lp; in mdevinit() local 495 …lp = ba + 256; /* Point t… in mdevinit() 499 ba = nonspace(ba, lp); /* Find non-space */ in mdevinit() 500 if (ba >= lp) { in mdevinit() 507 … ba = getspace(ba, lp); /* Find next white space or end */ in mdevinit() 519 …ba = cvtnum(ba, lp, &base); /* Convert base of memory … in mdevinit() 520 if (ba >= lp) { in mdevinit() 530 ba = cvtnum(ba, lp, &size); /* Try to convert it */ in mdevinit() 534 …if (ba < lp) { /* If we are not … in mdevinit()
|
| /xnu-11215/bsd/netinet/ |
| H A D | tcp_output.c | 1867 *lp++ = htonl(TCPOPT_TSTAMP_HDR); in tcp_output() 1868 *lp++ = htonl(tcp_now_local + tp->t_ts_offset); in tcp_output() 1869 *lp = htonl(tp->ts_recent); in tcp_output() 1950 u_int32_t *lp; in tcp_output() local 1982 lp = (u_int32_t *)(void *)bp; in tcp_output() 1992 *lp++ = htonl(tp->t_dsack_lseq); in tcp_output() 1993 *lp++ = htonl(tp->t_dsack_rseq); in tcp_output() 2001 *lp++ = htonl(sack.start); in tcp_output() 2002 *lp++ = htonl(sack.end); in tcp_output() 2007 VERIFY((u_char *)lp - opt <= MAX_TCPOPTLEN); in tcp_output() [all …]
|
| /xnu-11215/osfmk/x86_64/ |
| H A D | pmap_pcid.c | 239 pmap_t lp; in pmap_pcid_deallocate_pcid() local 248 lp = cpu_datap(ccpu)->cpu_pcid_data->cpu_pcid_last_pmap_dispatched[pcid]; in pmap_pcid_deallocate_pcid() 252 if (lp == tpmap) { in pmap_pcid_deallocate_pcid()
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_newsysctl.c | 706 struct sysctl_oid_list *lp; in sysctl_sysctl_debug_dump_node() local 712 lp = oidp->oid_arg1; in sysctl_sysctl_debug_dump_node() 714 if (lp && SLIST_FIRST(lp) && in sysctl_sysctl_debug_dump_node() 715 SLIST_FIRST(lp)->oid_number == OID_MUTABLE_ANCHOR) { in sysctl_sysctl_debug_dump_node() 747 sysctl_sysctl_debug_dump_node(lp, i + 2); in sysctl_sysctl_debug_dump_node()
|
| /xnu-11215/osfmk/ipc/ |
| H A D | mach_port.c | 1857 mach_port_limits_t *lp = (mach_port_limits_t *)info; in mach_port_get_attributes() local 1874 lp->mpl_qlimit = port->ip_messages.imq_qlimit; in mach_port_get_attributes()
|