Home
last modified time | relevance | path

Searched refs:_s (Results 1 – 25 of 96) sorted by relevance

1234

/freebsd-14.2/sys/sys/
H A Dbitset.h322 #define BIT_AND(_s, d, s) __BIT_AND(_s, d, s) argument
327 #define BIT_CLR(_s, n, p) __BIT_CLR(_s, n, p) argument
329 #define BIT_CMP(_s, p, c) __BIT_CMP(_s, p, c) argument
332 #define BIT_COUNT(_s, p) __BIT_COUNT(_s, p) argument
333 #define BIT_EMPTY(_s, p) __BIT_EMPTY(_s, p) argument
334 #define BIT_FFS(_s, p) __BIT_FFS(_s, p) argument
336 #define BIT_FILL(_s, p) __BIT_FILL(_s, p) argument
337 #define BIT_FLS(_s, p) __BIT_FLS(_s, p) argument
343 #define BIT_OR(_s, d, s) __BIT_OR(_s, d, s) argument
358 #define BIT_ZERO(_s, p) __BIT_ZERO(_s, p) argument
[all …]
H A Dcpuset.h77 #define CPU_ALLOC_SIZE(_s) __BITSET_SIZE(_s) argument
78 #define CPU_ALLOC(_s) __cpuset_alloc(_s) argument
81 #define CPU_ISSET_S(n, _s, p) __BIT_ISSET((_s) * 8, n, p) argument
82 #define CPU_SET_S(n, _s, p) __BIT_SET((_s) * 8, n, p) argument
83 #define CPU_CLR_S(n, _s, p) __BIT_CLR((_s) * 8, n, p) argument
84 #define CPU_ZERO_S(_s, p) __BIT_ZERO((_s) * 8, p) argument
86 #define CPU_OR_S(_s, d, s1, s2) __BIT_OR2((_s) * 8, d, s1, s2) argument
87 #define CPU_AND_S(_s, d, s1, s2) __BIT_AND2((_s) * 8, d, s1, s2) argument
88 #define CPU_XOR_S(_s, d, s1, s2) __BIT_XOR2((_s) * 8, d, s1, s2) argument
90 #define CPU_COUNT_S(_s, p) ((int)__BIT_COUNT((_s) * 8, p)) argument
[all …]
H A D_bitset.h43 #define __bitset_words(_s) (__howmany(_s, _BITSET_BITS)) argument
45 #define __BITSET_DEFINE(_t, _s) \ argument
47 long __bits[__bitset_words((_s))]; \
66 #define BITSET_DEFINE(_t, _s) __BITSET_DEFINE(_t, _s) argument
H A Dqmath.h221 char *_r, *_s = s; \
224 *_s++ = '-'; \
226 _r = _s; \
229 if ((_s - (s)) < ((ptrdiff_t)(slen))) \
230 *_s++ = Q_IBITS2CH(q, _part, base); \
241 *(_s - _i - 1) = *_s; /* Copy LHS char to RHS. */ \
245 if ((_s - (s)) < ((ptrdiff_t)(slen))) \
246 *_s++ = '.'; \
255 *_s++ = Q_FBITS2CH(q, _part, base); \
261 *_s = '\0'; \
[all …]
/freebsd-14.2/contrib/ntp/sntp/libopts/
H A Dag-char-map.h117 #define SPN_NEWLINE_CHARS(_s) spn_ag_char_map_chars(_s, 0) argument
118 #define BRK_NEWLINE_CHARS(_s) brk_ag_char_map_chars(_s, 0) argument
122 #define SPN_NUL_BYTE_CHARS(_s) spn_ag_char_map_chars(_s, 1) argument
123 #define BRK_NUL_BYTE_CHARS(_s) brk_ag_char_map_chars(_s, 1) argument
127 #define SPN_DIR_SEP_CHARS(_s) spn_ag_char_map_chars(_s, 2) argument
128 #define BRK_DIR_SEP_CHARS(_s) brk_ag_char_map_chars(_s, 2) argument
132 #define SPN_PERCENT_CHARS(_s) spn_ag_char_map_chars(_s, 3) argument
133 #define BRK_PERCENT_CHARS(_s) brk_ag_char_map_chars(_s, 3) argument
137 #define SPN_COMMA_CHARS(_s) spn_ag_char_map_chars(_s, 4) argument
138 #define BRK_COMMA_CHARS(_s) brk_ag_char_map_chars(_s, 4) argument
[all …]
H A Dautoopts.c52 # define strdup(_s) option_strdup(_s) argument
57 # define strrchr(_s, _c) option_strrchr(_s, _c) argument
58 # define strchr(_s, _c) option_strchr(_s, _c) argument
/freebsd-14.2/sys/contrib/xen/io/
H A Dring.h68 #define __CONST_RING_SIZE(_s, _sz) \ argument
69 (__RD32(((_sz) - offsetof(struct _s##_sring, ring)) / \
70 sizeof(((struct _s##_sring *)0)->ring[0])))
74 #define __RING_SIZE(_s, _sz) \ argument
75 (__RD32(((_sz) - (long)(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0])))
172 (_s)->req_prod = (_s)->rsp_prod = 0; \
173 (_s)->req_event = (_s)->rsp_event = 1; \
174 (void)memset((_s)->pvt.pvt_pad, 0, sizeof((_s)->pvt.pvt_pad)); \
175 (void)memset((_s)->__pad, 0, sizeof((_s)->__pad)); \
185 #define FRONT_RING_INIT(_r, _s, __size) FRONT_RING_ATTACH(_r, _s, 0, __size) argument
[all …]
/freebsd-14.2/sys/dev/mgb/
H A Dif_mgb.h101 #define MGB_DMAC_CMD_RESET(_s, _ch) MGB_DMAC_CMD_VAL(_s, 8, _ch) argument
102 #define MGB_DMAC_CMD_START(_s, _ch) MGB_DMAC_CMD_VAL(_s, 4, _ch) argument
103 #define MGB_DMAC_CMD_STOP( _s, _ch) MGB_DMAC_CMD_VAL(_s, 0, _ch) argument
110 #define MGB_DMAC_CMD_STATE(sc, _s, _ch) \ argument
112 CSR_READ_REG(sc, MGB_DMAC_CMD) & MGB_DMAC_CMD_START(_s, _ch), \
113 CSR_READ_REG(sc, MGB_DMAC_CMD) & MGB_DMAC_CMD_STOP(_s, _ch)))
114 #define MGB_DMAC_STATE_IS_INITIAL(sc, _s, _ch) \ argument
115 (MGB_DMAC_CMD_STATE(sc, _s, _ch) == MGB_DMAC_STATE_INITIAL)
/freebsd-14.2/contrib/ldns/ldns/
H A Dconfig.h753 #define close_socket(_s) do { if (_s != SOCK_INVALID) {closesocket(_s); _s = -1;} } while(0) argument
756 #define close_socket(_s) do { if (_s != SOCK_INVALID) {close(_s); _s = -1;} } while(0) argument
/freebsd-14.2/contrib/ofed/libibverbs/
H A Dalloca.h7 #define strdupa(_s) \ argument
12 _len = strlen(_s) + 1; \
15 memcpy(_d, _s, _len); \
/freebsd-14.2/libexec/rc/rc.d/
H A Dsyslogd64 local _s _socketargs
67 for _s in `cat $sockfile | tr '\n' ' '` ; do
68 _socketargs="-l $_s $_socketargs"
/freebsd-14.2/sys/contrib/dpdk_rte_lpm/
H A Drte_shim.h7 #define rte_zmalloc_socket(_type, _size, _align, _s) malloc(_size, M_TEMP, M_NOWAIT | M_ZERO) argument
14 #define assert(_s) KASSERT((_s), ("DPDK: assert failed")) argument
/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/
H A Doverflow.h123 typeof(s) _s = s; \
127 is_non_negative(_s) && _s < 8 * sizeof(*d) ? _s : 0; \
129 (_to_shift != _s || is_negative(*_d) || is_negative(_a) || \
H A Dkfifo.h100 #define kfifo_alloc(_kf, _s, _gfp) \ argument
104 (_kf)->head = kmalloc(sizeof(__typeof(*(_kf)->head)) * (_s), _gfp); \
108 (_kf)->total = (_s); \
H A Dskbuff.h71 #define SKB_TRACE(_s) \ argument
73 printf("SKB_TRACE %s:%d %p\n", __func__, __LINE__, _s)
74 #define SKB_TRACE2(_s, _p) \ argument
76 printf("SKB_TRACE %s:%d %p, %p\n", __func__, __LINE__, _s, _p)
77 #define SKB_TRACE_FMT(_s, _fmt, ...) \ argument
79 printf("SKB_TRACE %s:%d %p " _fmt "\n", __func__, __LINE__, _s, \
84 #define SKB_TRACE(_s) do { } while(0) argument
85 #define SKB_TRACE2(_s, _p) do { } while(0) argument
86 #define SKB_TRACE_FMT(_s, ...) do { } while(0) argument
1100 #define SKB_WITH_OVERHEAD(_s) \ argument
[all …]
H A Dcompiler.h126 #define sizeof_field(_s, _m) sizeof(((_s *)0)->_m) argument
/freebsd-14.2/crypto/openssh/
H A Datomicio.c51 atomicio6(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n, in atomicio6() argument
54 char *s = _s; in atomicio6()
96 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) in atomicio() argument
98 return atomicio6(f, fd, _s, n, NULL, NULL); in atomicio()
/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Dzfs_context.h417 #define kmem_alloc(_s, _f) umem_alloc(_s, _f)
418 #define kmem_zalloc(_s, _f) umem_zalloc(_s, _f)
419 #define kmem_free(_b, _s) umem_free(_b, _s)
420 #define vmem_alloc(_s, _f) kmem_alloc(_s, _f)
421 #define vmem_zalloc(_s, _f) kmem_zalloc(_s, _f)
422 #define vmem_free(_b, _s) kmem_free(_b, _s)
/freebsd-14.2/sys/dev/iavf/
H A Diavf_osdep.h97 #define UNREFERENCED_4PARAMETER(_p, _q, _r, _s) do { \ argument
101 UNREFERENCED_PARAMETER(_s); \
103 #define UNREFERENCED_5PARAMETER(_p, _q, _r, _s, _t) do { \ argument
107 UNREFERENCED_PARAMETER(_s); \
/freebsd-14.2/sys/dev/ice/
H A Dice_osdep.h183 #define UNREFERENCED_4PARAMETER(_p, _q, _r, _s) do { \ argument
187 UNREFERENCED_PARAMETER(_s); \
189 #define UNREFERENCED_5PARAMETER(_p, _q, _r, _s, _t) do { \ argument
193 UNREFERENCED_PARAMETER(_s); \
199 #define MAKEMASK(_m, _s) ((_m) << (_s)) argument
/freebsd-14.2/contrib/netcat/
H A Datomicio.c39 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) in atomicio() argument
41 char *s = _s; in atomicio()
/freebsd-14.2/sys/contrib/dev/rtw89/
H A Dsar.c138 typeof(_src) _s = (_src); \
140 BUILD_BUG_ON(!rtw89_sar_handlers[_s].descr_sar_source); \
141 BUILD_BUG_ON(!rtw89_sar_handlers[_s].query_sar_config); \
144 _d->sar.src = _s; \
/freebsd-14.2/sys/dev/ath/
H A Dah_osdep.h71 #define OS_MEMCPY(_d, _s, _n) memcpy(_d,_s,_n) argument
/freebsd-14.2/contrib/elftoolchain/libelf/
H A D_libelf.h207 struct _Libelf_Data *_libelf_allocate_data(Elf_Scn *_s);
238 Elf_Scn *_libelf_release_scn(Elf_Scn *_s);
243 Elf_Data *_libelf_xlate(Elf_Data *_d, const Elf_Data *_s,
/freebsd-14.2/sys/compat/linuxkpi/common/src/
H A Dlinux_slab.c213 size_t _s; in lkpi___kmalloc() local
216 _s = MAX(size, sizeof(struct llist_node)); in lkpi___kmalloc()
218 return (malloc(_s, M_KMALLOC, linux_check_m_flags(flags))); in lkpi___kmalloc()

1234