/freebsd-current/libexec/rc/rc.d/ |
H A D | growfs | 73 memsize=$(sysctl -n hw.physmem) 74 memsizeMB=$(($memsize / (1024 * 1024))) 78 swapmax=$(($memsize * 2)) 83 swapmax=$memsize
|
/freebsd-current/sys/dev/cxgbe/iw_cxgbe/ |
H A D | user.h | 49 __u64 memsize; member in struct:c4iw_create_cq_resp
|
H A D | cq.c | 88 cq->memsize, cq->queue, 116 cq->sw_queue = kzalloc(cq->memsize, GFP_KERNEL); 122 cq->queue = dma_alloc_coherent(rhp->ibdev.dma_device, cq->memsize, 129 memset(cq->queue, 0, cq->memsize); 192 dma_free_coherent(rhp->ibdev.dma_device, cq->memsize, cq->queue, 913 size_t memsize, hwentries; local 948 memsize = hwentries * sizeof *chp->cq.queue; 951 * memsize must be a multiple of the page size if its a user cq. 954 memsize = roundup(memsize, PAGE_SIZ [all...] |
H A D | qp.c | 112 wq->rq.memsize, wq->rq.queue, 115 wq->sq.memsize, wq->sq.queue, 178 wq->sq.queue = dma_alloc_coherent(rhp->ibdev.dma_device, wq->sq.memsize, 186 memset(wq->sq.queue, 0, wq->sq.memsize); 189 wq->rq.memsize, &(wq->rq.dma_addr), GFP_KERNEL); 196 memset(wq->rq.queue, 0, wq->rq.memsize); 316 wq->rq.memsize, wq->rq.queue, 320 wq->sq.memsize, wq->sq.queue, 1753 qhp->wq.sq.memsize = 1758 qhp->wq.rq.memsize [all...] |
/freebsd-current/contrib/libarchive/libarchive/ |
H A D | xxhash.c | 333 int memsize; member in struct:XXH_state32_t 356 state->memsize = 0; 381 if (state->memsize + len < 16) /* fill in tmp buffer */ 383 XXH_memcpy(state->memory + state->memsize, input, len); 384 state->memsize += len; 388 if (state->memsize) /* some data left from previous update */ 390 XXH_memcpy(state->memory + state->memsize, input, 16-state->memsize); 398 p += 16-state->memsize; 399 state->memsize [all...] |
/freebsd-current/contrib/ofed/libcxgb4/ |
H A D | verbs.c | 203 chp->cq.memsize = resp.memsize; 205 chp->cq.queue = mmap(NULL, chp->cq.memsize, PROT_READ|PROT_WRITE, 223 PDBG("%s cqid 0x%x key %" PRIx64 " va %p memsize %lu gts_key %" 226 chp->cq.memsize, resp.gts_key, chp->cq.ugts, chp->cq.qid_mask); 236 munmap(chp->cq.queue, chp->cq.memsize); 274 munmap(chp->cq.queue, chp->cq.memsize); 340 qhp->wq.sq.memsize = resp.sq_memsize; 345 qhp->wq.rq.memsize = resp.rq_memsize; 356 qhp->wq.sq.queue = mmap(NULL, qhp->wq.sq.memsize, [all...] |
H A D | cxgb4-abi.h | 54 __u64 memsize; member in struct:c4iw_create_cq_resp
|
/freebsd-current/contrib/processor-trace/libipt/src/ |
H A D | pt_section.c | 390 int (*memsize)(const struct pt_section *section, uint64_t *size); 396 memsize = section->memsize; 397 if (!memsize) { 405 errcode = memsize(section, &msize); 447 uint64_t ssize, memsize; local 463 memsize = 0ull; 501 errcode = pt_section_memsize_locked(section, &memsize); 509 if (memsize) { 513 memsize); [all...] |
H A D | pt_image_section_cache.c | 271 uint64_t memsize, used, total, limit; local 277 errcode = pt_section_memsize(section, &memsize); 285 if (limit < memsize) 299 lru->size = memsize; 305 total = used + memsize; 306 if (total < used || total < memsize) 382 struct pt_section *section, uint64_t memsize) 407 if (iscache->limit < memsize) 414 lru->size = memsize; 422 used += memsize; 381 pt_iscache_lru_resize(struct pt_image_section_cache *iscache, struct pt_section *section, uint64_t memsize) argument 1074 pt_iscache_notify_resize(struct pt_image_section_cache *iscache, struct pt_section *section, uint64_t memsize) argument [all...] |
H A D | pt_section_file.c | 165 section->memsize = pt_sec_file_memsize; 183 if (!mapping || !section->unmap || !section->read || !section->memsize) 189 section->memsize = NULL;
|
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | xxhash.c | 592 if (state->memsize + len < 16) { /* fill in tmp buffer */ 593 XXH_memcpy((BYTE*)(state->mem32) + state->memsize, input, len); 594 state->memsize += (unsigned)len; 598 if (state->memsize) { /* some data left from previous update */ 599 XXH_memcpy((BYTE*)(state->mem32) + state->memsize, input, 16-state->memsize); 606 p += 16-state->memsize; 607 state->memsize = 0; 632 state->memsize = (unsigned)(bEnd-p); 653 const BYTE* const bEnd = (const BYTE*)(state->mem32) + state->memsize; [all...] |
H A D | xxhash.h | 260 unsigned memsize; member in struct:XXH32_state_s 271 unsigned memsize; member in struct:XXH64_state_s
|
/freebsd-current/stand/powerpc/ofw/ |
H A D | main.c | 70 memsize(void) function 185 printf("Memory: %lldKB\n", memsize() / 1024);
|
/freebsd-current/usr.bin/sort/ |
H A D | file.h | 52 unsigned long long memsize; member in struct:sort_list
|
/freebsd-current/share/examples/bhyve/ |
H A D | vmrun.sh | 63 echo " [-m <memsize>]" \ 122 memsize=${DEFAULT_MEMSIZE} 207 memsize=${OPTARG} 353 ${LOADER} -c ${console} -m ${memsize} ${BOOTDISKS} \ 423 ${FBSDRUN} -c ${cpus} -m ${memsize} ${bhyverun_opt} \
|
/freebsd-current/usr.sbin/bhyvectl/ |
H A D | bhyvectl.c | 70 static uint64_t memsize; variable 361 memsize = atoi(optarg) * MB; 362 memsize = roundup(memsize, 2 * MB); 407 if (!error && memsize) 408 error = vm_setup_memory(ctx, memsize, VM_MMAP_ALL);
|
/freebsd-current/contrib/processor-trace/libipt/internal/include/ |
H A D | pt_section.h | 115 /* A pointer to the memsize function - NULL if the section is currently 121 int (*memsize)(const struct pt_section *section, uint64_t *size); member in struct:pt_section
|
/freebsd-current/tools/bus_space/examples/ |
H A D | am79c900_diag.py | 215 memsize = 32*1024 variable 220 (memsize, ntxbufs, nrxbufs)) 222 mem_tag = busdma.tag_create(dev, 16, 0, 0xffffffff, memsize, 1, memsize, 0, 0)
|
/freebsd-current/usr.sbin/dumpcis/ |
H A D | cardinfo.h | 144 int memsize; /* Memory size (if used) */ member in struct:dev_desc
|
/freebsd-current/contrib/processor-trace/libipt/src/windows/ |
H A D | pt_section_windows.c | 183 section->memsize = pt_sec_windows_memsize; 333 if (!mapping || !section->unmap || !section->read || !section->memsize) 339 section->memsize = NULL;
|
/freebsd-current/contrib/processor-trace/libipt/src/posix/ |
H A D | pt_section_posix.c | 153 section->memsize = pt_sec_posix_memsize; 273 if (!mapping || !section->unmap || !section->read || !section->memsize) 279 section->memsize = NULL;
|
/freebsd-current/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-section.c | 69 uint64_t memsize; local 81 errcode = pt_section_memsize(section, &memsize); 85 if (size != memsize) 1227 uint64_t memsize; local 1237 errcode = pt_section_memsize(sfix->section, &memsize); 1239 ptu_uint_eq(memsize, 0ull); 1246 uint64_t memsize; local 1262 errcode = pt_section_memsize(sfix->section, &memsize); 1264 ptu_uint_eq(memsize, 0ull); 1271 uint64_t memsize; local 1299 uint64_t memsize; local [all...] |
/freebsd-current/sys/net/ |
H A D | netmap_user.h | 271 size_t memsize; member in struct:nm_desc 983 munmap(d->mem, d->memsize); 1004 d->memsize = parent->memsize; 1007 /* XXX TODO: check if memsize is too large (or there is overflow) */ 1008 d->memsize = d->req.nr_memsize; 1009 d->mem = mmap(0, d->memsize, PROT_WRITE | PROT_READ, MAP_SHARED, 1028 (char *)d->mem + d->memsize;
|
/freebsd-current/sys/dev/fdt/ |
H A D | fdt_common.c | 544 fdt_get_mem_regions(struct mem_region *mr, int *mrcnt, uint64_t *memsize) argument 601 if (memsize != NULL) 602 *memsize = memory_size;
|
/freebsd-current/stand/userboot/userboot/ |
H A D | main.c | 176 printf("Memory: %ld k\n", memsize() / 1024);
|