Lines Matching refs:nentries
1562 int nentries; in xpc_allocate_local_msgqueue_sn2() local
1565 for (nentries = ch->local_nentries; nentries > 0; nentries--) { in xpc_allocate_local_msgqueue_sn2()
1567 nbytes = nentries * ch->entry_size; in xpc_allocate_local_msgqueue_sn2()
1574 nbytes = nentries * sizeof(struct xpc_notify_sn2); in xpc_allocate_local_msgqueue_sn2()
1583 if (nentries < ch->local_nentries) { in xpc_allocate_local_msgqueue_sn2()
1585 "partid=%d, channel=%d\n", nentries, in xpc_allocate_local_msgqueue_sn2()
1588 ch->local_nentries = nentries; in xpc_allocate_local_msgqueue_sn2()
1607 int nentries; in xpc_allocate_remote_msgqueue_sn2() local
1612 for (nentries = ch->remote_nentries; nentries > 0; nentries--) { in xpc_allocate_remote_msgqueue_sn2()
1614 nbytes = nentries * ch->entry_size; in xpc_allocate_remote_msgqueue_sn2()
1622 if (nentries < ch->remote_nentries) { in xpc_allocate_remote_msgqueue_sn2()
1624 "partid=%d, channel=%d\n", nentries, in xpc_allocate_remote_msgqueue_sn2()
1627 ch->remote_nentries = nentries; in xpc_allocate_remote_msgqueue_sn2()