Home
last modified time | relevance | path

Searched refs:ps_len (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/sys/kern/
H A Dsubr_physmap.c89 ps->ps_len = MIN(len, PAGE_SIZE - offset); in physmap_fill()
90 if (ps->ps_len == len) { in physmap_fill()
105 paddr_t lastaddr = ps->ps_addr + ps->ps_len; in physmap_fill()
119 ps->ps_len += PAGE_SIZE - offset; in physmap_fill()
120 lastaddr = ps->ps_addr + ps->ps_len; in physmap_fill()
125 ps->ps_len += len; in physmap_fill()
198 ps->ps_len = PAGE_SIZE; in physmap_create_pagelist()
218 ps->ps_len += PAGE_SIZE; in physmap_create_pagelist()
251 while (offset >= pc->pc_segs->ps_len) { in physmap_map_init()
252 offset -= pc->pc_segs->ps_len; in physmap_map_init()
[all …]
/netbsd-src/usr.sbin/pf/pfs/
H A Dpfs.c94 ps->ps_len = 0; in get_states()
103 if (ps->ps_len == 0) in get_states()
106 inbuf = malloc(ps->ps_len); in get_states()
118 return (ps->ps_len / sizeof(struct pfsync_state)); in get_states()
194 ps.ps_len = nb_states * sizeof(struct pfsync_state); in restore_states_binary()
195 ps.ps_states = malloc(ps.ps_len); in restore_states_binary()
298 nb_states = ps->ps_len / sizeof(struct pfsync_state); in display_states()
H A Dparse.y496 if (allocated == (states->ps_len / sizeof(struct pfsync_state))) { in add_state()
/netbsd-src/sys/sys/
H A Dphysmap.h45 psize_t ps_len; member
/netbsd-src/dist/pf/sbin/pfctl/
H A Dpfctl.c1009 ps.ps_len = len; in pfctl_show_states()
1021 if (ps.ps_len + sizeof(struct pfioc_states) < len) in pfctl_show_states()
1023 if (len == 0 && ps.ps_len == 0) in pfctl_show_states()
1025 if (len == 0 && ps.ps_len != 0) in pfctl_show_states()
1026 len = ps.ps_len; in pfctl_show_states()
1027 if (ps.ps_len == 0) in pfctl_show_states()
1032 for (i = 0; i < ps.ps_len; i += sizeof(*p), p++) { in pfctl_show_states()
/netbsd-src/sys/dist/pf/net/
H A Dpf_ioctl.c1959 int size = ps->ps_len; in pfioctl()
2010 if (ps->ps_len == 0) { in pfioctl()
2012 ps->ps_len = sizeof(struct pfsync_state) * nr; in pfioctl()
2023 if ((nr+1) * sizeof(*p) > (unsigned)ps->ps_len) in pfioctl()
2039 ps->ps_len = sizeof(struct pfsync_state) * nr; in pfioctl()
H A Dpfvar.h1393 int ps_len; member
/netbsd-src/external/bsd/openldap/dist/libraries/liblmdb/
H A Dmdb.c3484 unsigned x, y, len, ps_len; in mdb_txn_commit() local
3515 if ((pspill = parent->mt_spill_pgs) && (ps_len = pspill[0])) { in mdb_txn_commit()
3516 x = y = ps_len; in mdb_txn_commit()
3529 for (x=y; ++x <= ps_len; ) in mdb_txn_commit()