Home
last modified time | relevance | path

Searched refs:_size (Results 1 – 25 of 97) sorted by relevance

1234

/freebsd/sys/sys/
H A Dbitstring.h278 bit_ff_area_at_(bitstr_t *_bitstr, size_t _start, size_t _nbits, size_t _size, in bit_ff_area_at_() argument
285 if (_start + _size > _nbits || _nbits <= 0) in bit_ff_area_at_()
289 _maxshft = _bit_idx(_size - 1) == 0 ? _size : (int)_BITSTR_BITS; in bit_ff_area_at_()
293 for (_last = _size - 1, _test |= _mask ^ *_curbitstr; in bit_ff_area_at_()
307 if (_value + _size > _nbits) { in bit_ff_area_at_()
311 _last += _size - 1; in bit_ff_area_at_()
319 #define bit_ff_area_at(_bitstr, _start, _nbits, _size, _match, _resultp) \ argument
320 *(_resultp) = bit_ff_area_at_(_bitstr, _start, _nbits, _size, _match);
323 #define bit_ffs_area_at(_bitstr, _start, _nbits, _size, _resultp) \ argument
324 *(_resultp) = bit_ff_area_at_((_bitstr), (_start), (_nbits), (_size), 1)
[all …]
H A Dctf.h65 __uint16_t _size; member
74 __uint32_t _size; member
83 __uint16_t _size; member
94 __uint32_t _size; member
101 #define ctt_size _u._size
H A Dmalloc.h209 * _malloc_item = malloc(_size, type, (flags) &~ M_ZERO);
211 * bzero(_malloc_item, _size);
216 * _malloc_item = malloc(_size, type, (flags) &~ M_ZERO);
217 * bzero(_malloc_item, _size);
222 * _malloc_item = malloc(_size, type, (flags) &~ M_ZERO);
224 * bzero(_malloc_item, _size);
232 size_t _size = (size); \
235 _malloc_item = malloc(_size, type, (flags) &~ M_ZERO); \
238 memset(_malloc_item, 0, _size); \
240 _malloc_item = malloc(_size, typ
[all...]
/freebsd/sys/contrib/dpdk_rte_lpm/
H A Drte_shim.h4 #define rte_malloc(_type, _size, _align) malloc(_size, M_TEMP, M_NOWAIT) argument
6 #define rte_zmalloc(_type, _size, _align) malloc(_size, M_TEMP, M_NOWAIT | M_ZERO) argument
7 #define rte_zmalloc_socket(_type, _size, _align, _s) malloc(_size, M_TEMP, M_NOWAIT | M_ZERO) argument
/freebsd/sys/dev/bhnd/
H A Dbhnd.c1014 #define BHND_IO_METHODS(_type, _size) \ argument
1015 BHND_IO_READ(_type, _size, _size) \
1016 BHND_IO_WRITE(_type, _size, _size) \
1018 BHND_IO_READ(_type, stream_ ## _size, STREAM_ ## _size) \
1019 BHND_IO_WRITE(_type, stream_ ## _size, STREAM_ ## _size) \
1021 BHND_IO_MISC(_type*, read_multi_ ## _size, \
1022 READ_MULTI_ ## _size) \
1023 BHND_IO_MISC(_type*, write_multi_ ## _size, \
1024 WRITE_MULTI_ ## _size) \
1026 BHND_IO_MISC(_type*, read_multi_stream_ ## _size, \
[all …]
/freebsd/sys/dev/ofw/
H A Dofw_if.m108 * @param _size Size of buffer
115 size_t _size;
124 * @param _size Size of buffer
131 size_t _size;
140 * @param _size Size of buffer
147 size_t _size;
155 * @param _size Size of buffer
161 size_t _size;
179 * @param _size Size of buffer
185 size_t _size;
[all …]
/freebsd/contrib/openpam/t/
H A Dt_openpam_straddch.c87 size_t size, _size, len, _len; in t_straddch_realloc_fail() local
102 _size = size; in t_straddch_realloc_fail()
108 _size = size; in t_straddch_realloc_fail()
115 ret &= t_compare_sz(_size, size); in t_straddch_realloc_fail()
126 size_t size, _size, len, _len; in t_straddch_realloc_ok() local
139 _size = size; in t_straddch_realloc_ok()
144 if (size != _size) in t_straddch_realloc_ok()
154 ret &= t_compare_sz(_size * 2, size); in t_straddch_realloc_ok()
/freebsd/contrib/llvm-project/libunwind/src/
H A Dconfig.h130 #define _LIBUNWIND_REMEMBER_ALLOC(_size) __builtin_alloca(_size)
135 #define _LIBUNWIND_REMEMBER_ALLOC(_size) _malloca(_size)
139 #define _LIBUNWIND_REMEMBER_ALLOC(_size) malloc(_size)
144 #define _LIBUNWIND_REMEMBER_ALLOC(_size) malloc(_size)
128 _LIBUNWIND_REMEMBER_ALLOC(_size) global() argument
133 _LIBUNWIND_REMEMBER_ALLOC(_size) global() argument
137 _LIBUNWIND_REMEMBER_ALLOC(_size) global() argument
142 _LIBUNWIND_REMEMBER_ALLOC(_size) global() argument
/freebsd/tools/tools/ath/common/
H A Dah_osdep.h48 #define OS_MEMZERO(_a, _size) bzero((_a), (_size)) argument
49 #define OS_MEMCPY(_dst, _src, _size) bcopy((_src), (_dst), (_size)) argument
/freebsd/lib/libc/stdio/
H A Dungetc.c64 fp->_ub._size = BUFSIZ; in __submore()
71 i = fp->_ub._size; in __submore()
79 fp->_ub._size = i * 2; in __submore()
132 if (fp->_r >= fp->_ub._size && __submore(fp)) in __ungetc()
159 fp->_ub._size = sizeof(fp->_ubuf); in __ungetc()
H A Dfvwrite.c112 fp->_bf._size = blen + len + 128; in __sfvwrite()
114 reallocf(fp->_bf._base, fp->_bf._size + 1); in __sfvwrite()
136 } else if (len >= (w = fp->_bf._size)) { in __sfvwrite()
169 w = fp->_w + fp->_bf._size; in __sfvwrite()
176 } else if (s >= (w = fp->_bf._size)) { in __sfvwrite()
H A Dmakebuf.c63 fp->_bf._size = 1; in __smakebuf()
70 fp->_bf._size = 1; in __smakebuf()
76 fp->_bf._size = size; in __smakebuf()
H A Dsetvbuf.c114 fp->_bf._size = 1; in setvbuf()
137 fp->_bf._size = size; in setvbuf()
146 fp->_lbfsize = -fp->_bf._size; in setvbuf()
H A Dwbuf.c77 if (n >= fp->_bf._size) { in __swbuf()
84 if (++n == fp->_bf._size || (fp->_flags & __SLBF && c == '\n')) in __swbuf()
H A Dwsetup.c84 fp->_lbfsize = -fp->_bf._size; in __swsetup()
86 fp->_w = fp->_flags & __SNBF ? 0 : fp->_bf._size; in __swsetup()
H A Dfindfp.c146 fp->_bf._size = 0; in __sfp()
151 fp->_ub._size = 0; in __sfp()
153 fp->_lb._size = 0; in __sfp()
/freebsd/tests/sys/kern/pipe/
H A Dpipe_reverse_test.c93 ssize_t _size; \ in main()
94 if ((_size = write(desc[1], &buffer[total], s)) != s) \ in main()
95 warn("short write; wrote %zd, expected %d", _size, s); \ in main()
96 total += _size; \ in main()
H A Dpipe_wraparound_test.c91 ssize_t _size; \ in main()
92 if ((_size = write(desc[1], &buffer[total], s)) != s) \ in main()
93 warn("short write; wrote %zd, expected %d", _size, s); \ in main()
94 total += _size; \ in main()
H A Dpipe_fstat_bug_test.c89 ssize_t _size; \ in main()
90 if ((_size = write(desc[1], &buffer, s)) != s) \ in main()
91 warn("short write; wrote %zd, expected %d", _size, s); \ in main()
/freebsd/contrib/sendmail/include/sm/
H A Drpool.h142 size_t _size,
151 size_t _size,
161 size_t _size));
165 size_t _size));
/freebsd/sys/ofed/include/rdma/
H A Duverbs_types.h197 #define UVERBS_TYPE_ALLOC_IDR_SZ(_size, _destroy_object) \ argument
201 .obj_size = (_size) + \
202 UVERBS_BUILD_BUG_ON((_size) < \
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dioport.h34 #define DEFINE_RES_MEM(_start, _size) \ argument
37 .end = (_start) + (_size) - 1, \
/freebsd/sys/dev/sound/midi/
H A Dmidi.h51 int midi_out(struct snd_midi *_m, uint8_t *_buf, int _size);
52 int midi_in(struct snd_midi *_m, uint8_t *_buf, int _size);
/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb.c1823 #define BHNDB_IO_MISC(_type, _ptr, _op, _size) \ argument
1825 bhndb_bus_ ## _op ## _ ## _size (device_t dev, \
1830 bus_ ## _op ## _ ## _size (io_res, io_offset, \
1836 #define BHNDB_IO_METHODS(_type, _size) \ argument
1837 BHNDB_IO_READ(_type, _size) \
1838 BHNDB_IO_WRITE(_type, _size) \
1840 BHNDB_IO_READ(_type, stream_ ## _size) \
1841 BHNDB_IO_WRITE(_type, stream_ ## _size) \
1843 BHNDB_IO_MISC(_type, *, read_multi, _size) \
1844 BHNDB_IO_MISC(_type, *, write_multi, _size) \
[all …]
/freebsd/sys/arm/include/
H A Dplatformvar.h91 #define FDT_PLATFORM_DEF2(NAME, VAR_NAME, NAME_STR, _size, _compatible, \ argument
104 .size = _size, \

1234