Lines Matching +full:1 +full:k
18 'ft 1
22 'ft 1
35 'ft 1
36 'if \\n(cm=1 'ft 2
39 'pn 1
42 'nr cm 1
44 'ds +K
45 'ds -K
49 'ft 1
50 'ds +K \f3
51 'ds -K \fP
59 \f2\s14\h'\\n(.lu-\w'\\$1'u'\\$1\fP\s0\h'|0u'\c
61 'ds =f \&...\\$1
65 'ds =f \&...\\$1
70 'ft 1
79 .\" 1. Redistributions of source code must retain the above copyright
101 .H 1 "Appendix A - Implementation Details"
123 \*(+K#define\*(-K MINBUCKET\h'|31n'4\h'|51n'\fI\h'\w' 'u-\w'/'u'/\fP\fI*\fP\c\c
129 \*(+K#define\*(-K MAXALLOCSAVE\h'|31n'(2 \fI*\fP CLBYTES)
140 \*(+K#define\*(-K MAXKMEM\h'|31n'(1024 \fI*\fP PAGESIZE)
150 \*(+Kextern\*(-K \*(+Kchar\*(-K kmembase[MAXKMEM];
159 \*(+Kstruct\*(-K kmemsizes \*(+K{\*(-K
160 \h'|11n'\*(+Kshort\*(-K\h'|21n'ks\*_indx;\h'|41n'\fI\h'\w' 'u-\w'/'u'/\fP\fI*\fP\c\c
170 \*(+K}\*(-K\c\c
182 \*(+Kstruct\*(-K kmembuckets \*(+K{\*(-K
188 \*(+K}\*(-K\c\c
201 \*(+K#define\*(-K MINALLOCSIZE\h'|31n'(1 << MINBUCKET)
203 \*(+K#define\*(-K BUCKETINDX(size) \e
207 \h'|41n'? (size) <= (MINALLOCSIZE \fI*\fP 1) \e
209 \h'|51n': (MINBUCKET + 1) \e
235 \*(+K#define\*(-K MALLOC(space, cast, size, flags) \*(+K{\*(-K \e
236 \h'|11n'\*(+Kregister\*(-K \*(+Kstruct\*(-K kmembuckets \fI*\fPkbp = &bucket[BUCKETINDX(size)]; \e
237 \h'|11n'\*(+Klong\*(-K s = splimp(); \e
238 \h'|11n'\*(+Kif\*(-K (kbp\*->kb\*_next == NULL) \*(+K{\*(-K \e
240 \h'|11n'\*(+K}\*(-K \*(+Kelse\*(-K \*(+K{\*(-K \e
243 \h'|11n'\*(+K}\*(-K \e
245 \*(+K}\*(-K\c\c
251 \*(+K#define\*(-K FREE(addr) \*(+K{\*(-K \e
252 \h'|11n'\*(+Kregister\*(-K \*(+Kstruct\*(-K kmembuckets \fI*\fPkbp; \e
253 \h'|11n'\*(+Kregister\*(-K \*(+Kstruct\*(-K kmemsizes \fI*\fPksp = \e
255 \h'|11n'\*(+Klong\*(-K s = splimp(); \e
256 \h'|11n'\*(+Kif\*(-K (1 << ksp\*->ks\*_indx > MAXALLOCSAVE) \*(+K{\*(-K \e
258 \h'|11n'\*(+K}\*(-K \*(+Kelse\*(-K \*(+K{\*(-K \e
262 \h'|11n'\*(+K}\*(-K \e
264 \*(+K}\*(-K\c\c