Lines Matching refs:nentries
1565 int nentries; in xpc_allocate_local_msgqueue_sn2() local
1568 for (nentries = ch->local_nentries; nentries > 0; nentries--) { in xpc_allocate_local_msgqueue_sn2()
1570 nbytes = nentries * ch->entry_size; in xpc_allocate_local_msgqueue_sn2()
1577 nbytes = nentries * sizeof(struct xpc_notify_sn2); in xpc_allocate_local_msgqueue_sn2()
1586 if (nentries < ch->local_nentries) { in xpc_allocate_local_msgqueue_sn2()
1588 "partid=%d, channel=%d\n", nentries, in xpc_allocate_local_msgqueue_sn2()
1591 ch->local_nentries = nentries; in xpc_allocate_local_msgqueue_sn2()
1610 int nentries; in xpc_allocate_remote_msgqueue_sn2() local
1615 for (nentries = ch->remote_nentries; nentries > 0; nentries--) { in xpc_allocate_remote_msgqueue_sn2()
1617 nbytes = nentries * ch->entry_size; in xpc_allocate_remote_msgqueue_sn2()
1625 if (nentries < ch->remote_nentries) { in xpc_allocate_remote_msgqueue_sn2()
1627 "partid=%d, channel=%d\n", nentries, in xpc_allocate_remote_msgqueue_sn2()
1630 ch->remote_nentries = nentries; in xpc_allocate_remote_msgqueue_sn2()