Home
last modified time | relevance | path

Searched refs:ALLOC_MINBITS (Results 1 – 25 of 50) sorted by relevance

12

/dports/databases/postgresql14-plpython/postgresql-14.1/src/backend/utils/mmgr/
H A Daset.c79 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
81 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
313 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
333 idx = 31 - __builtin_clz((uint32) size - 1) - ALLOC_MINBITS + 1; in AllocSetFreeIndex()
345 idx -= ALLOC_MINBITS - 1; in AllocSetFreeIndex()
832 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
857 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
867 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
871 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1471 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql14-pltcl/postgresql-14.1/src/backend/utils/mmgr/
H A Daset.c79 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
81 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
313 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
333 idx = 31 - __builtin_clz((uint32) size - 1) - ALLOC_MINBITS + 1; in AllocSetFreeIndex()
345 idx -= ALLOC_MINBITS - 1; in AllocSetFreeIndex()
832 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
857 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
867 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
871 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1471 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql14-contrib/postgresql-14.1/src/backend/utils/mmgr/
H A Daset.c79 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
81 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
313 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
333 idx = 31 - __builtin_clz((uint32) size - 1) - ALLOC_MINBITS + 1; in AllocSetFreeIndex()
345 idx -= ALLOC_MINBITS - 1; in AllocSetFreeIndex()
832 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
857 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
867 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
871 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1471 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql14-docs/postgresql-14.1/src/backend/utils/mmgr/
H A Daset.c79 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
81 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
313 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
333 idx = 31 - __builtin_clz((uint32) size - 1) - ALLOC_MINBITS + 1; in AllocSetFreeIndex()
345 idx -= ALLOC_MINBITS - 1; in AllocSetFreeIndex()
832 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
857 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
867 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
871 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1471 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql14-server/postgresql-14.1/src/backend/utils/mmgr/
H A Daset.c79 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
81 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
313 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
333 idx = 31 - __builtin_clz((uint32) size - 1) - ALLOC_MINBITS + 1; in AllocSetFreeIndex()
345 idx -= ALLOC_MINBITS - 1; in AllocSetFreeIndex()
832 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
857 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
867 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
871 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1471 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql14-plperl/postgresql-14.1/src/backend/utils/mmgr/
H A Daset.c79 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
81 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
313 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
333 idx = 31 - __builtin_clz((uint32) size - 1) - ALLOC_MINBITS + 1; in AllocSetFreeIndex()
345 idx -= ALLOC_MINBITS - 1; in AllocSetFreeIndex()
832 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
857 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
867 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
871 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1471 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql13-pltcl/postgresql-13.5/src/backend/utils/mmgr/
H A Daset.c79 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
81 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
312 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
332 idx = 31 - __builtin_clz((uint32) size - 1) - ALLOC_MINBITS + 1; in AllocSetFreeIndex()
344 idx -= ALLOC_MINBITS - 1; in AllocSetFreeIndex()
831 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
856 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
866 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
870 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1469 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql13-server/postgresql-13.5/src/backend/utils/mmgr/
H A Daset.c79 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
81 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
312 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
332 idx = 31 - __builtin_clz((uint32) size - 1) - ALLOC_MINBITS + 1; in AllocSetFreeIndex()
344 idx -= ALLOC_MINBITS - 1; in AllocSetFreeIndex()
831 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
856 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
866 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
870 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1469 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql13-plpython/postgresql-13.5/src/backend/utils/mmgr/
H A Daset.c79 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
81 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
312 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
332 idx = 31 - __builtin_clz((uint32) size - 1) - ALLOC_MINBITS + 1; in AllocSetFreeIndex()
344 idx -= ALLOC_MINBITS - 1; in AllocSetFreeIndex()
831 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
856 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
866 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
870 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1469 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql14-client/postgresql-14.1/src/backend/utils/mmgr/
H A Daset.c79 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
81 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
313 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
333 idx = 31 - __builtin_clz((uint32) size - 1) - ALLOC_MINBITS + 1; in AllocSetFreeIndex()
345 idx -= ALLOC_MINBITS - 1; in AllocSetFreeIndex()
832 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
857 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
867 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
871 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1471 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql13-docs/postgresql-13.5/src/backend/utils/mmgr/
H A Daset.c79 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
81 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
312 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
332 idx = 31 - __builtin_clz((uint32) size - 1) - ALLOC_MINBITS + 1; in AllocSetFreeIndex()
344 idx -= ALLOC_MINBITS - 1; in AllocSetFreeIndex()
831 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
856 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
866 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
870 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1469 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql13-contrib/postgresql-13.5/src/backend/utils/mmgr/
H A Daset.c79 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
81 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
312 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
332 idx = 31 - __builtin_clz((uint32) size - 1) - ALLOC_MINBITS + 1; in AllocSetFreeIndex()
344 idx -= ALLOC_MINBITS - 1; in AllocSetFreeIndex()
831 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
856 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
866 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
870 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1469 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql13-plperl/postgresql-13.5/src/backend/utils/mmgr/
H A Daset.c79 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
81 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
312 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
332 idx = 31 - __builtin_clz((uint32) size - 1) - ALLOC_MINBITS + 1; in AllocSetFreeIndex()
344 idx -= ALLOC_MINBITS - 1; in AllocSetFreeIndex()
831 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
856 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
866 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
870 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1469 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql13-client/postgresql-13.5/src/backend/utils/mmgr/
H A Daset.c79 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
81 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
312 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
332 idx = 31 - __builtin_clz((uint32) size - 1) - ALLOC_MINBITS + 1; in AllocSetFreeIndex()
344 idx -= ALLOC_MINBITS - 1; in AllocSetFreeIndex()
831 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
856 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
866 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
870 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1469 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/py-pglast/pglast-1.2/libpg_query/src/postgres/
H A Dsrc_backend_utils_mmgr_aset.c100 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
102 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
297 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
299 tsize = (size - 1) >> ALLOC_MINBITS; in AllocSetFreeIndex()
692 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
717 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
727 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
731 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1289 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql96-plpython/postgresql-9.6.24/src/backend/utils/mmgr/
H A Daset.c121 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
123 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
325 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
327 tsize = (size - 1) >> ALLOC_MINBITS; in AllocSetFreeIndex()
778 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
803 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
813 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
817 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1387 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql96-server/postgresql-9.6.24/src/backend/utils/mmgr/
H A Daset.c121 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
123 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
325 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
327 tsize = (size - 1) >> ALLOC_MINBITS; in AllocSetFreeIndex()
778 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
803 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
813 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
817 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1387 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql96-pltcl/postgresql-9.6.24/src/backend/utils/mmgr/
H A Daset.c121 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
123 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
325 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
327 tsize = (size - 1) >> ALLOC_MINBITS; in AllocSetFreeIndex()
778 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
803 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
813 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
817 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1387 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/pgpool-II-41/pgpool-II-4.1.10/src/utils/mmgr/
H A Daset.c84 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
86 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
280 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
282 tsize = (size - 1) >> ALLOC_MINBITS; in AllocSetFreeIndex()
675 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
700 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
710 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
714 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1272 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/pgpool-II-42/pgpool-II-4.2.3/src/utils/mmgr/
H A Daset.c84 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
86 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
280 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
282 tsize = (size - 1) >> ALLOC_MINBITS; in AllocSetFreeIndex()
675 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
700 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
710 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
714 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1272 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/pgpool-II-43/pgpool-II-4.3.0/src/utils/mmgr/
H A Daset.c84 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
86 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
280 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
282 tsize = (size - 1) >> ALLOC_MINBITS; in AllocSetFreeIndex()
675 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
700 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
710 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
714 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1272 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/pgpool-II-40/pgpool-II-4.0.17/src/utils/mmgr/
H A Daset.c84 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
86 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
280 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
282 tsize = (size - 1) >> ALLOC_MINBITS; in AllocSetFreeIndex()
675 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
700 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
710 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
714 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1272 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/pgpool-II-37/pgpool-II-3.7.22/src/utils/mmgr/
H A Daset.c84 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
86 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
280 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
282 tsize = (size - 1) >> ALLOC_MINBITS; in AllocSetFreeIndex()
675 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
700 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
710 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
714 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1272 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/utils/mmgr/
H A Daset.c84 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
86 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
280 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
282 tsize = (size - 1) >> ALLOC_MINBITS; in AllocSetFreeIndex()
675 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
700 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
710 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
714 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1272 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()
/dports/databases/postgresql10-plperl/postgresql-10.19/src/backend/utils/mmgr/
H A Daset.c81 #define ALLOC_MINBITS 3 /* smallest chunk size is 8 bytes */ macro
83 #define ALLOC_CHUNK_LIMIT (1 << (ALLOCSET_NUM_FREELISTS-1+ALLOC_MINBITS))
277 if (size > (1 << ALLOC_MINBITS)) in AllocSetFreeIndex()
279 tsize = (size - 1) >> ALLOC_MINBITS; in AllocSetFreeIndex()
672 chunk_size = (1 << ALLOC_MINBITS) << fidx; in AllocSetAlloc()
697 while (availspace >= ((1 << ALLOC_MINBITS) + ALLOC_CHUNKHDRSZ)) in AllocSetAlloc()
707 if (availchunk != ((Size) 1 << (a_fidx + ALLOC_MINBITS))) in AllocSetAlloc()
711 availchunk = ((Size) 1 << (a_fidx + ALLOC_MINBITS)); in AllocSetAlloc()
1281 if (chsize < (1 << ALLOC_MINBITS)) in AllocSetCheck()

12