Searched refs:pl (Results 1 - 22 of 22) sorted by relevance

/xnu-2422.115.4/bsd/kern/
H A Dqsort.c126 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; local
134 for (pl = pm; pl > (char *) a && cmp(pl - es, pl) > 0;
135 pl -= es)
136 swap(pl, pl - es);
141 pl = a;
145 pl
[all...]
H A Dubc_subr.c995 upl_page_info_t *pl; local
1003 kret = ubc_create_upl(vp, lastpg, PAGE_SIZE, &upl, &pl, UPL_SET_LITE);
1008 if (upl_valid_page(pl, 0))
2342 upl_page_info_t *pl; local
2345 pl = UPL_GET_INTERNAL_PAGE_LIST(upl);
2346 kr = upl_commit(upl, pl, MAX_UPL_SIZE);
2411 upl_page_info_t *pl; local
2422 pl = UPL_GET_INTERNAL_PAGE_LIST(upl);
2425 pl, MAX_UPL_SIZE, &empty);
H A Ddecmpfs.c1066 upl_t pl = ap->a_pl; local
1103 kern_return_t kr = ubc_upl_map(pl, (vm_offset_t*)&data);
1163 kr = ubc_upl_unmap(pl); data = NULL; /* make sure to set data to NULL so we don't try to unmap again below */
1169 kr = commit_upl(pl, pl_offset, total_size, UPL_COMMIT_FREE_ON_EMPTY, 0);
1174 if (data) ubc_upl_unmap(pl);
/xnu-2422.115.4/security/
H A Dmac_task.c101 mac_task_label_associate(struct task *parent, struct task *child, struct label *pl, argument
105 MAC_PERFORM(task_label_associate, parent, child, pl, chl, chportl);
H A Dmac_mach_internal.h62 void mac_task_label_update_internal(struct label *pl, struct task *t);
/xnu-2422.115.4/bsd/vm/
H A Dvnode_pager.c274 upl_page_info_t *pl; local
343 if (ubc_create_upl(vp, f_offset, size, &upl, &pl, request_flags) != KERN_SUCCESS) {
350 pl = ubc_upl_pageinfo(upl);
400 if (upl_page_present(pl, --pg_index))
422 if ( !upl_page_present(pl, pg_index)) {
435 if ( !upl_dirty_page(pl, pg_index)) {
477 if ( !upl_dirty_page(pl, pg_index + num_of_pages))
521 upl_page_info_t *pl; local
575 ubc_create_upl(vp, f_offset, size, &upl, &pl, UPL_UBC_PAGEIN | UPL_RET_ONLY_ABSENT);
594 pl
[all...]
/xnu-2422.115.4/bsd/sys/
H A Dmake_symbol_aliasing.sh37 if [ ! -x "${SDKROOT}/usr/local/libexec/availability.pl" ] ; then
38 echo "Unable to locate ${SDKROOT}/usr/local/libexec/availability.pl (or not executable)" >&2
77 for ver in $(${SDKROOT}/usr/local/libexec/availability.pl --ios) ; do
90 for ver in $(${SDKROOT}/usr/local/libexec/availability.pl --macosx) ; do
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_cluster.c757 upl_page_info_t *pl; local
760 pl = ubc_upl_pageinfo(upl);
762 if (upl_device_page(pl) == TRUE) {
763 zero_addr = ((addr64_t)upl_phys_page(pl, 0) << 12) + upl_offset;
775 zero_addr = ((addr64_t)upl_phys_page(pl, page_index) << 12) + page_offset;
2090 upl_page_info_t *pl; local
2276 pl = UPL_GET_INTERNAL_PAGE_LIST(upl);
2280 if (!upl_valid_page(pl, i))
2482 upl_page_info_t *pl; local
2556 pl
2687 cluster_zero_range(upl_t upl, upl_page_info_t *pl, int flags, int io_offset, off_t zero_off, off_t upl_f_offset, int bytes_to_zero) argument
2716 upl_page_info_t *pl; local
3465 upl_page_info_t *pl; local
3992 upl_page_info_t *pl; local
4513 upl_page_info_t *pl; local
4801 upl_page_info_t *pl; local
5309 upl_page_info_t *pl; local
5573 upl_page_info_t *pl; local
5677 upl_page_info_t *pl; local
[all...]
H A Dvfs_bio.c2888 upl_page_info_t *pl; local
2987 &pl,
2994 if (upl_valid_page(pl, 0)) {
2995 if (upl_dirty_page(pl, 0))
3114 &pl,
3124 if (upl_valid_page(pl, 0)) {
3138 if (upl_dirty_page(pl, 0)) {
4248 upl_page_info_t *pl; local
4271 &pl,
4278 if (!upl_valid_page(pl, upl_offse
[all...]
H A Dkpi_vfs.c4898 VNOP_PAGEIN(struct vnode *vp, upl_t pl, upl_offset_t pl_offset, off_t f_offset, size_t size, int flags, vfs_context_t ctx) argument
4905 a.a_pl = pl;
4937 VNOP_PAGEOUT(struct vnode *vp, upl_t pl, upl_offset_t pl_offset, off_t f_offset, size_t size, int flags, vfs_context_t ctx) argument
4944 a.a_pl = pl;
/xnu-2422.115.4/bsd/netinet/
H A Dip_compat.h259 int pl;
261 # define MUTEX_ENTER(x) (x)->pl = LOCK((x)->l, IPF_LOCK_PL);
262 # define MUTEX_EXIT(x) UNLOCK((x)->l, (x)->pl);
/xnu-2422.115.4/bsd/net/
H A Dpf_ioctl.c1950 struct pfioc_limit pl; local
1953 bcopy(addr, &pl, sizeof (pl));
1954 error = pfioctl_ioc_limit(cmd, &pl, p);
1955 bcopy(&pl, addr, sizeof (pl));
3972 pfioctl_ioc_limit(u_long cmd, struct pfioc_limit *pl, struct proc *p) argument
3980 if (pl->index < 0 || pl->index >= PF_LIMIT_MAX) {
3984 pl
[all...]
/xnu-2422.115.4/bsd/hfs/
H A Dhfs_readwrite.c4147 upl_page_info_t *pl; local
4168 * the pl pointer is NULL (meaning that we're supposed to create the UPL ourselves)
4173 ubc_create_upl (vp, ap->a_f_offset, ap->a_size, &upl, &pl,
4253 kret = ubc_create_upl(vp, ap->a_f_offset, ap->a_size, &upl, &pl, UPL_UBC_PAGEIN | UPL_RET_ONLY_ABSENT);
4269 if (upl_page_present(pl, --pg_index))
4296 if ( !upl_page_present(pl, pg_index)) {
4317 if ( !upl_page_present(pl, pg_index + num_of_pages))
4483 upl_page_info_t* pl; local
4545 kret = ubc_create_upl(vp, ap->a_f_offset, ap->a_size, &upl, &pl, request_flags);
4591 if (upl_page_present(pl,
[all...]
/xnu-2422.115.4/osfmk/default_pager/
H A Ddp_backing_store.c3369 upl_page_info_t *pl; local
3458 pl = UPL_GET_INTERNAL_PAGE_LIST(upl);
3482 if (UPL_DIRTY_PAGE(pl, page_index + non_dirty) ||
3483 UPL_PRECIOUS_PAGE(pl, page_index + non_dirty)) {
3518 if (UPL_PAGE_PRESENT(pl, --page_index)) {
3542 if (UPL_DIRTY_PAGE(pl, page_index)
3543 || UPL_PRECIOUS_PAGE(pl, page_index))
3555 if (UPL_PAGE_PRESENT(pl, page_index)) {
3561 pl,
3586 if ( !UPL_DIRTY_PAGE(pl, page_inde
[all...]
/xnu-2422.115.4/bsd/nfs/
H A Dnfs_vnops.c6748 upl_t pl = ap->a_pl; local
6772 if (pl == (upl_t)NULL)
6778 (void) ubc_upl_abort_range(pl, pl_offset, size, 0);
6783 ubc_upl_abort_range(pl, pl_offset, size,
6799 ubc_upl_abort_range(pl, pl_offset, size,
6805 plinfo = ubc_upl_pageinfo(pl);
6806 kret = ubc_upl_map(pl, &ioaddr);
6843 upl_ubc_alias_set(pl, (uintptr_t) current_thread(), (uintptr_t) 2);
6901 ubc_upl_unmap(pl);
6905 ubc_upl_abort_range(pl, pl_offse
7059 upl_t pl = ap->a_pl; local
[all...]
H A Dnfs_bio.c437 upl_page_info_t *pl; local
452 pl = ubc_upl_pageinfo(bp->nb_pagelist);
459 if (!upl_valid_page(pl, i)) {
464 if (upl_dirty_page(pl, i))
/xnu-2422.115.4/osfmk/vm/
H A Dvm_user.c3258 upl_page_info_t *pl,
3266 upl_page_info_array_t pl,
3301 upl_page_info_t *pl,
3306 kr = upl_commit(upl, pl, count);
3318 upl_page_info_array_t pl,
3331 kr = upl_commit_range(upl, offset, size, flags, pl, count, &finished);
3299 kernel_upl_commit( upl_t upl, upl_page_info_t *pl, mach_msg_type_number_t count) argument
3313 kernel_upl_commit_range( upl_t upl, upl_offset_t offset, upl_size_t size, int flags, upl_page_info_array_t pl, mach_msg_type_number_t count) argument
/xnu-2422.115.4/makedefs/
H A DMakeInc.cmd133 NEWVERS = $(SRCROOT)/config/newvers.pl
/xnu-2422.115.4/osfmk/kern/
H A Dthread_call.c1222 int pl = get_preemption_level(); local
1224 pl, (void *)VM_KERNEL_UNSLIDE(func), param0, param1);
H A Dtask.c3414 struct label *pl,
3420 mac_task_label_update(pl, &task->maclabel);
3423 mac_port_label_update_cred(pl, &task->itk_self->ip_label);
3413 mac_task_label_update_internal( struct label *pl, struct task *task) argument
H A Dsched_prim.c2228 int pl = get_preemption_level(); local
2230 pl, (pl < 0 ? "unlocking an unlocked mutex or spinlock" :
/xnu-2422.115.4/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c451 struct pollfd pl; local
452 pl.fd = filefd;
453 pl.events = test->t_union.tu_pollevents;
454 cnt = poll(&pl, 1, WAIT_TIME);

Completed in 570 milliseconds