/freebsd-10-stable/sys/arm/conf/ |
H A D | DEFAULTS | 6 device mem
|
/freebsd-10-stable/contrib/apr/atomic/unix/ |
H A D | s390.c | 26 APR_DECLARE(apr_uint32_t) apr_atomic_read32(volatile apr_uint32_t *mem) 28 return *mem; 31 APR_DECLARE(void) apr_atomic_set32(volatile apr_uint32_t *mem, apr_uint32_t val) argument 33 *mem = val; 36 static APR_INLINE apr_uint32_t atomic_add(volatile apr_uint32_t *mem, apr_uint32_t val) argument 38 apr_uint32_t prev = *mem, temp; 45 : "+d" (prev), "+d" (temp), "=Q" (*mem) 46 : "d" (val), "m" (*mem) 52 APR_DECLARE(apr_uint32_t) apr_atomic_add32(volatile apr_uint32_t *mem, apr_uint32_t val) 54 return atomic_add(mem, va 62 atomic_sub(volatile apr_uint32_t *mem, apr_uint32_t val) argument 78 apr_atomic_sub32(volatile apr_uint32_t *mem, apr_uint32_t val) argument 83 apr_atomic_dec32(volatile apr_uint32_t *mem) argument 113 apr_atomic_casptr(volatile void **mem, void *with, const void *cmp) argument 132 apr_atomic_xchgptr(volatile void **mem, void *with) argument [all...] |
H A D | ppc.c | 32 APR_DECLARE(apr_uint32_t) apr_atomic_read32(volatile apr_uint32_t *mem) 34 return *mem; 37 APR_DECLARE(void) apr_atomic_set32(volatile apr_uint32_t *mem, apr_uint32_t val) argument 39 *mem = val; 42 APR_DECLARE(apr_uint32_t) apr_atomic_add32(volatile apr_uint32_t *mem, apr_uint32_t val) 52 : "=&r" (prev), "=&r" (temp), "=m" (*mem) 53 : "b" (mem), "r" (val) 59 APR_DECLARE(void) apr_atomic_sub32(volatile apr_uint32_t *mem, apr_uint32_t val) argument 69 : "=&r" (temp), "=m" (*mem) 70 : "b" (mem), " 92 apr_atomic_dec32(volatile apr_uint32_t *mem) argument 145 apr_atomic_casptr(volatile void **mem, void *with, const void *cmp) argument 178 apr_atomic_xchgptr(volatile void **mem, void *with) argument [all...] |
H A D | builtins.c | 26 APR_DECLARE(apr_uint32_t) apr_atomic_read32(volatile apr_uint32_t *mem) 28 return *mem; 31 APR_DECLARE(void) apr_atomic_set32(volatile apr_uint32_t *mem, apr_uint32_t val) argument 33 *mem = val; 36 APR_DECLARE(apr_uint32_t) apr_atomic_add32(volatile apr_uint32_t *mem, apr_uint32_t val) 38 return __sync_fetch_and_add(mem, val); 41 APR_DECLARE(void) apr_atomic_sub32(volatile apr_uint32_t *mem, apr_uint32_t val) argument 43 __sync_fetch_and_sub(mem, val); 46 APR_DECLARE(apr_uint32_t) apr_atomic_inc32(volatile apr_uint32_t *mem) 48 return __sync_fetch_and_add(mem, 51 apr_atomic_dec32(volatile apr_uint32_t *mem) argument 69 apr_atomic_casptr(volatile void **mem, void *with, const void *cmp) argument 74 apr_atomic_xchgptr(volatile void **mem, void *with) argument [all...] |
H A D | solaris.c | 28 APR_DECLARE(apr_uint32_t) apr_atomic_read32(volatile apr_uint32_t *mem) 30 return *mem; 33 APR_DECLARE(void) apr_atomic_set32(volatile apr_uint32_t *mem, apr_uint32_t val) argument 35 *mem = val; 38 APR_DECLARE(apr_uint32_t) apr_atomic_add32(volatile apr_uint32_t *mem, apr_uint32_t val) 40 return atomic_add_32_nv(mem, val) - val; 43 APR_DECLARE(void) apr_atomic_sub32(volatile apr_uint32_t *mem, apr_uint32_t val) argument 45 atomic_add_32(mem, -val); 48 APR_DECLARE(apr_uint32_t) apr_atomic_inc32(volatile apr_uint32_t *mem) 50 return atomic_inc_32_nv(mem) 53 apr_atomic_dec32(volatile apr_uint32_t *mem) argument 69 apr_atomic_casptr(volatile void **mem, void *with, const void *cmp) argument 74 apr_atomic_xchgptr(volatile void **mem, void *with) argument [all...] |
H A D | ia32.c | 26 APR_DECLARE(apr_uint32_t) apr_atomic_read32(volatile apr_uint32_t *mem) 28 return *mem; 31 APR_DECLARE(void) apr_atomic_set32(volatile apr_uint32_t *mem, apr_uint32_t val) argument 33 *mem = val; 36 APR_DECLARE(apr_uint32_t) apr_atomic_add32(volatile apr_uint32_t *mem, apr_uint32_t val) 39 : "=r" (val), "=m" (*mem) 40 : "0" (val), "m" (*mem) 45 APR_DECLARE(void) apr_atomic_sub32(volatile apr_uint32_t *mem, apr_uint32_t val) argument 49 : "m" (*(mem)), "r" (val) 53 APR_DECLARE(apr_uint32_t) apr_atomic_inc32(volatile apr_uint32_t *mem) 58 apr_atomic_dec32(volatile apr_uint32_t *mem) argument 92 apr_atomic_casptr(volatile void **mem, void *with, const void *cmp) argument 110 apr_atomic_xchgptr(volatile void **mem, void *with) argument [all...] |
H A D | mutex.c | 24 # define DECLARE_MUTEX_LOCKED(name, mem) \ 25 apr_thread_mutex_t *name = mutex_hash(mem) 32 # define DECLARE_MUTEX_LOCKED(name, mem) 76 static APR_INLINE apr_thread_mutex_t *mutex_hash(volatile apr_uint32_t *mem) argument 78 apr_thread_mutex_t *mutex = hash_mutex[ATOMIC_HASH(mem)]; 96 APR_DECLARE(apr_uint32_t) apr_atomic_read32(volatile apr_uint32_t *mem) 98 return *mem; 101 APR_DECLARE(void) apr_atomic_set32(volatile apr_uint32_t *mem, apr_uint32_t val) argument 103 DECLARE_MUTEX_LOCKED(mutex, mem); 105 *mem 123 apr_atomic_sub32(volatile apr_uint32_t *mem, apr_uint32_t val) argument 135 apr_atomic_dec32(volatile apr_uint32_t *mem) argument 177 apr_atomic_casptr(volatile void **mem, void *with, const void *cmp) argument 192 apr_atomic_xchgptr(volatile void **mem, void *with) argument [all...] |
/freebsd-10-stable/sys/sys/ |
H A D | memdesc.h | 68 struct memdesc mem; local 70 mem.u.md_vaddr = vaddr; 71 mem.md_opaque = len; 72 mem.md_type = MEMDESC_VADDR; 74 return (mem); 80 struct memdesc mem; local 82 mem.u.md_paddr = paddr; 83 mem.md_opaque = len; 84 mem.md_type = MEMDESC_PADDR; 86 return (mem); 92 struct memdesc mem; local 104 struct memdesc mem; local 116 struct memdesc mem; local 127 struct memdesc mem; local 138 struct memdesc mem; local 149 struct memdesc mem; local [all...] |
/freebsd-10-stable/contrib/subversion/subversion/include/private/ |
H A D | svn_atomic.h | 52 #define svn_atomic_read(mem) apr_atomic_read32((mem)) 55 #define svn_atomic_set(mem, val) apr_atomic_set32((mem), (val)) 58 #define svn_atomic_inc(mem) apr_atomic_inc32(mem) 61 #define svn_atomic_dec(mem) apr_atomic_dec32(mem) 66 * Compare the value that @a mem points to with @a cmp. If they are 74 #define svn_atomic_cas(mem, wit [all...] |
/freebsd-10-stable/sys/vm/ |
H A D | uma_dbg.h | 41 int trash_ctor(void *mem, int size, void *arg, int flags); 42 void trash_dtor(void *mem, int size, void *arg); 43 int trash_init(void *mem, int size, int flags); 44 void trash_fini(void *mem, int size); 47 int mtrash_ctor(void *mem, int size, void *arg, int flags); 48 void mtrash_dtor(void *mem, int size, void *arg); 49 int mtrash_init(void *mem, int size, int flags); 50 void mtrash_fini(void *mem, int size);
|
/freebsd-10-stable/crypto/heimdal/lib/hx509/ |
H A D | ks_mem.c | 56 struct mem_data *mem; local 57 mem = calloc(1, sizeof(*mem)); 58 if (mem == NULL) 62 mem->name = strdup(residue); 63 if (mem->name == NULL) { 64 free(mem); 67 *data = mem; 74 struct mem_data *mem = data; local 77 for (i = 0; i < mem 92 struct mem_data *mem = data; local 132 struct mem_data *mem = data; local 160 struct mem_data *mem = data; local 185 struct mem_data *mem = data; local [all...] |
/freebsd-10-stable/cddl/contrib/opensolaris/tools/ctf/common/ |
H A D | memory.c | 50 void *mem; local 52 if ((mem = malloc(size)) == NULL) 55 return (mem); 61 void *mem; local 63 mem = xmalloc(size); 64 bzero(mem, size); 66 return (mem); 97 void *mem; local 99 if ((mem = realloc(ptr, size)) == NULL) 102 return (mem); [all...] |
/freebsd-10-stable/contrib/apr/include/ |
H A D | apr_atomic.h | 57 * @param mem the pointer 59 APR_DECLARE(apr_uint32_t) apr_atomic_read32(volatile apr_uint32_t *mem); variable 63 * @param mem pointer to the object 66 APR_DECLARE(void) apr_atomic_set32(volatile apr_uint32_t *mem, apr_uint32_t val); 70 * @param mem pointer to the object 72 * @return old value pointed to by mem 74 APR_DECLARE(apr_uint32_t) apr_atomic_add32(volatile apr_uint32_t *mem, apr_uint32_t val); 78 * @param mem pointer to the object 81 APR_DECLARE(void) apr_atomic_sub32(volatile apr_uint32_t *mem, apr_uint32_t val); 85 * @param mem pointe 88 APR_DECLARE(apr_uint32_t) apr_atomic_inc32(volatile apr_uint32_t *mem); variable 95 APR_DECLARE(int) apr_atomic_dec32(volatile apr_uint32_t *mem); variable [all...] |
/freebsd-10-stable/sys/dev/ixl/ |
H A D | i40e_osdep.c | 52 i40e_allocate_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem, u32 size) argument 54 mem->va = malloc(size, M_DEVBUF, M_NOWAIT | M_ZERO); 55 return(mem->va == NULL); 59 i40e_free_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem) argument 61 free(mem->va, M_DEVBUF); 66 i40e_allocate_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem, argument 84 &mem->tag); 91 err = bus_dmamem_alloc(mem->tag, (void **)&mem->va, 92 BUS_DMA_NOWAIT | BUS_DMA_ZERO, &mem 126 i40e_free_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem) argument [all...] |
H A D | i40e_alloc.h | 55 struct i40e_dma_mem *mem, 59 struct i40e_dma_mem *mem); 61 struct i40e_virt_mem *mem, 64 struct i40e_virt_mem *mem);
|
/freebsd-10-stable/cddl/contrib/dtracetoolkit/Bin/ |
H A D | minfbyproc.d | 10 vminfo:::as_fault { @mem[execname] = sum(arg0); }
|
H A D | minfbypid.d | 50 @mem[pid, execname] = sum(arg0); 56 printa("%6d %-16s %@16d\n", @mem);
|
/freebsd-10-stable/cddl/contrib/dtracetoolkit/Mem/ |
H A D | minfbyproc.d | 10 vminfo:::as_fault { @mem[execname] = sum(arg0); }
|
H A D | minfbypid.d | 50 @mem[pid, execname] = sum(arg0); 56 printa("%6d %-16s %@16d\n", @mem);
|
/freebsd-10-stable/sys/mips/conf/ |
H A D | DEFAULTS | 6 device mem
|
/freebsd-10-stable/sys/powerpc/conf/ |
H A D | DEFAULTS | 7 device mem # Memory and kernel memory devices
|
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/ |
H A D | tst.memenable.ksh | 55 xdt:mem::page-grant-map, 56 xdt:mem::page-grant-unmap, 57 xdt:mem::page-grant-transfer
|
/freebsd-10-stable/contrib/subversion/subversion/libsvn_subr/ |
H A D | spillbuf.c | 202 struct memblock_t *mem = buf->out_for_reading; local 204 if (mem != NULL) 207 return mem; 212 mem = apr_palloc(buf->pool, sizeof(*mem)); 213 mem->data = apr_palloc(buf->pool, buf->blocksize); 214 return mem; 217 mem = buf->avail; 218 buf->avail = mem->next; 219 return mem; 225 return_buffer(svn_spillbuf_t *buf, struct memblock_t *mem) argument 239 struct memblock_t *mem; local 352 read_data(struct memblock_t **mem, svn_spillbuf_t *buf, apr_pool_t *scratch_pool) argument 453 struct memblock_t *mem; local 495 struct memblock_t *mem; local [all...] |
/freebsd-10-stable/contrib/llvm/lib/Target/PowerPC/ |
H A D | PPCInstrBuilder.h | 34 bool mem = true) { 35 if (mem)
|
/freebsd-10-stable/sys/mips/mips/ |
H A D | stdatomic.c | 156 __sync_lock_test_and_set_##N(uintN_t *mem, uintN_t val) \ 162 mem32 = round_to_word(mem); \ 164 put_##N(&val32, mem, val); \ 166 put_##N(&negmask, mem, 0); \ 178 return (get_##N(&old, mem)); \ 186 __sync_val_compare_and_swap_##N(uintN_t *mem, uintN_t expected, \ 193 mem32 = round_to_word(mem); \ 195 put_##N(&expected32, mem, expected); \ 197 put_##N(&desired32, mem, desired); \ 199 put_##N(&posmask, mem, ~ 295 __sync_val_compare_and_swap_4(uint32_t *mem, uint32_t expected, uint32_t desired) argument 350 __sync_val_compare_and_swap_8(uint64_t *mem, uint64_t expected, uint64_t desired) argument [all...] |