Lines Matching defs:size
87 * only. At the beginning, cblen is less than actual buffer size by
88 * size of ipfw_insn_u32 instruction + 1 u32 work. This eliminates need
413 * Allocates new buffer of given size @sz.
418 bp_alloc(struct buf_pr *b, size_t size)
422 if ((b->buf = calloc(1, size)) == NULL)
426 b->size = size;
427 b->avail = b->size;
447 b->avail = b->size;
524 safe_calloc(size_t number, size_t size)
526 void *ret = calloc(number, size);
534 safe_realloc(void *ptr, size_t size)
536 void *ret = realloc(ptr, size);
1946 * print its size in bytes.
2368 size_t size;
2384 if (ipfw_get_config(&co, &fo, &cfg, &size) != 0)
2599 r = (struct ip_fw_rule *)((caddr_t)cntr + cntr->size);
2637 r = (struct ip_fw_rule *)((caddr_t)cntr + cntr->size);
2900 /* Start with some data size */
2920 /* Buffer size is not enough. Try to increase */
2922 if (sz < cfg->size)
2923 sz = cfg->size;
2952 uint32_t size;
3022 if (tstate->count + 1 > tstate->size) {
3023 tstate->size += 4;
3024 tstate->idx = realloc(tstate->idx, tstate->size *
3116 * set of addresses of unspecified size.
3172 * arg1 is the set size (powers of 2, 2..256)
3518 * A function to fill simple commands of size 1.
4738 NEED1("tcpmss/tcpwin requires size");
4743 errx(EX_DATAERR, "invalid %s size %s",
5195 * 1) All TLVs are the same size
5272 /* Align rule size to u64 boundary */
5482 sz = req.size;
5486 olh->size = sz;
5555 sz = req.size;
5559 olh->size = sz;