Home
last modified time | relevance | path

Searched refs:_buf (Results 1 – 25 of 41) sorted by relevance

12

/freebsd-12.1/sys/dev/rtwn/rtl8192c/
H A Dr92c_var.h74 #define rtwn_r92c_tx_enable_ampdu(_sc, _buf, _enable) \ argument
75 ((R92C_SOFTC(_sc)->rs_tx_enable_ampdu)((_buf), (_enable)))
76 #define rtwn_r92c_tx_setup_hwseq(_sc, _buf) \ argument
77 ((R92C_SOFTC(_sc)->rs_tx_setup_hwseq)((_buf)))
78 #define rtwn_r92c_tx_setup_macid(_sc, _buf, _id) \ argument
79 ((R92C_SOFTC(_sc)->rs_tx_setup_macid)((_buf), (_id)))
80 #define rtwn_r92c_set_rom_opts(_sc, _buf) \ argument
81 ((R92C_SOFTC(_sc)->rs_set_rom_opts)((_sc), (_buf)))
/freebsd-12.1/tests/sys/kern/pipe/
H A Dpipe_fstat_bug_test.c73 #define SYNC_R(i, _buf) do { \ in main() argument
76 if (read(ipc_coord[i], &_buf, sizeof(_buf)) != sizeof(_buf)) \ in main()
81 #define SYNC_W(i, _buf) do { \ in main() argument
84 if (write(ipc_coord[i], &_buf, sizeof(_buf)) != sizeof(_buf)) \ in main()
H A Dpipe_reverse_test.c77 #define SYNC_R(i, _buf) do { \ in main() argument
80 if (read(ipc_coord[i], &_buf, sizeof(_buf)) != sizeof(_buf)) \ in main()
85 #define SYNC_W(i, _buf) do { \ in main() argument
88 if (write(ipc_coord[i], &_buf, sizeof(_buf)) != sizeof(_buf)) \ in main()
H A Dpipe_wraparound_test.c75 #define SYNC_R(i, _buf) do { \ in main() argument
78 if (read(ipc_coord[i], &_buf, sizeof(_buf)) != sizeof(_buf)) \ in main()
83 #define SYNC_W(i, _buf) do { \ in main() argument
86 if (write(ipc_coord[i], &_buf, sizeof(_buf)) != sizeof(_buf)) \ in main()
/freebsd-12.1/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_kobj.c93 struct _buf *
96 struct _buf *out; in kobj_open_file()
110 return ((struct _buf *)-1); in kobj_open_file()
116 kobj_get_filesize_vnode(struct _buf *file, uint64_t *size) in kobj_get_filesize_vnode()
131 kobj_get_filesize_loader(struct _buf *file, uint64_t *size) in kobj_get_filesize_loader()
143 kobj_get_filesize(struct _buf *file, uint64_t *size) in kobj_get_filesize()
153 kobj_read_file_vnode(struct _buf *file, char *buf, unsigned size, unsigned off) in kobj_read_file_vnode()
182 kobj_read_file_loader(struct _buf *file, char *buf, unsigned size, unsigned off) in kobj_read_file_loader()
194 kobj_read_file(struct _buf *file, char *buf, unsigned size, unsigned off) in kobj_read_file()
204 kobj_close_file(struct _buf *file) in kobj_close_file()
/freebsd-12.1/sys/dev/drm/
H A Dmach64_drv.h743 _buf = (_p); \
755 if (_buf == NULL) { \
759 if (_buf->pending) { \
777 _buf->used += 8; \
789 if (_buf->used <= 0) { \
791 _buf->idx ); \
794 if (_buf->pending) { \
812 _buf->pending = 1; \
813 _entry->buf = _buf; \
827 _buf->idx ); \
[all …]
/freebsd-12.1/sys/dev/rtwn/
H A Dif_rtwnvar.h526 _buf, _ridx, _maxretry) \ argument
528 (_m), (_buf), (_ridx), (_maxretry)))
530 _buf, _params) \ argument
532 (_m), (_buf), (_params)))
535 (_buf), (_11b), (_qos), (_id)))
538 #define rtwn_tx_radiotap_flags(_sc, _buf) \ argument
539 (((_sc)->sc_tx_radiotap_flags)((_buf)))
540 #define rtwn_rx_radiotap_flags(_sc, _buf) \ argument
541 (((_sc)->sc_rx_radiotap_flags)((_buf)))
553 #define rtwn_classify_intr(_sc, _buf, _len) \ argument
[all …]
/freebsd-12.1/sys/cddl/compat/opensolaris/sys/
H A Dkobj.h50 struct _buf { struct
55 struct _buf *kobj_open_file(const char *path); argument
56 int kobj_get_filesize(struct _buf *file, uint64_t *size);
57 int kobj_read_file(struct _buf *file, char *buf, unsigned size, unsigned off);
58 void kobj_close_file(struct _buf *file);
/freebsd-12.1/sys/dev/ofw/
H A Dofw_if.m108 * @param _buf Pointer to buffer
115 void *_buf;
124 * @param _buf Buffer for next property name
131 char *_buf;
140 * @param _buf Value to set
147 const void *_buf;
161 char *_buf;
276 * @param _buf Buffer to read to
282 void *_buf;
290 * @param _buf Buffer to write from
[all …]
/freebsd-12.1/lib/libc/rpc/
H A Dclnt_perror.c61 static char *_buf(void);
66 _buf(void) in _buf() function
89 str = _buf(); /* side effect: sets CLNT_PERROR_BUFLEN */ in clnt_sperror()
244 str = _buf(); /* side effect: sets CLNT_PERROR_BUFLEN */ in clnt_spcreateerror()
/freebsd-12.1/contrib/wpa/src/utils/
H A Dwpabuf.c47 int wpabuf_resize(struct wpabuf **_buf, size_t add_len) in wpabuf_resize() argument
49 struct wpabuf *buf = *_buf; in wpabuf_resize()
55 *_buf = wpabuf_alloc(add_len); in wpabuf_resize()
56 return *_buf == NULL ? -1 : 0; in wpabuf_resize()
99 *_buf = buf; in wpabuf_resize()
/freebsd-12.1/crypto/openssh/openbsd-compat/
H A Darc4random.c178 _rs_random_buf(void *_buf, size_t n) in _rs_random_buf() argument
180 u_char *buf = (u_char *)_buf; in _rs_random_buf()
264 arc4random_buf(void *_buf, size_t n) in arc4random_buf() argument
268 char *buf = (char *)_buf; in arc4random_buf()
/freebsd-12.1/contrib/elftoolchain/libelf/
H A D_libelf_ar.h50 unsigned char *_libelf_ar_get_string(const char *_buf, size_t _sz,
54 int _libelf_ar_get_number(const char *_buf, size_t _sz,
/freebsd-12.1/sys/dev/sound/midi/
H A Dmidi.h51 int midi_out(struct snd_midi *_m, MIDI_TYPE *_buf, int _size);
52 int midi_in(struct snd_midi *_m, MIDI_TYPE *_buf, int _size);
H A Dsynth_if.m144 nosendsysex ( void /* X */ * _kobj, void * _buf, size_t _len)
158 nowriteraw ( void /* X */ * _kobjt, uint8_t * _buf, size_t _len)
266 void *_buf;
279 uint8_t *_buf;
/freebsd-12.1/contrib/gdb/gdb/
H A Dser-e7kpc.c84 #define SET_BYTE(x,y) { char _buf = y;dosmemput(&_buf,1, x);}
85 #define SET_WORD(x,y) { short _buf = y;dosmemput(&_buf,2, x);}
/freebsd-12.1/cddl/contrib/opensolaris/lib/libzpool/common/
H A Dkernel.c783 struct _buf *
786 struct _buf *file; in kobj_open_file()
794 file = umem_zalloc(sizeof (struct _buf), UMEM_NOFAIL); in kobj_open_file()
800 kobj_read_file(struct _buf *file, char *buf, unsigned size, unsigned off) in kobj_read_file()
811 kobj_close_file(struct _buf *file) in kobj_close_file()
814 umem_free(file, sizeof (struct _buf)); in kobj_close_file()
818 kobj_get_filesize(struct _buf *file, uint64_t *size) in kobj_get_filesize()
/freebsd-12.1/sys/sys/
H A Dptrace.h201 void *_buf, size_t _len);
203 void *_buf, size_t _len);
/freebsd-12.1/lib/libc/gen/
H A Darc4random.c150 _rs_random_buf(void *_buf, size_t n) in _rs_random_buf() argument
152 u_char *buf = (u_char *)_buf; in _rs_random_buf()
/freebsd-12.1/contrib/libarchive/libarchive/
H A Darchive_random.c259 arc4random_buf(void *_buf, size_t n) in arc4random_buf() argument
261 u_char *buf = (u_char *)_buf; in arc4random_buf()
/freebsd-12.1/cddl/contrib/opensolaris/lib/libzpool/common/sys/
H A Dzfs_context.h633 struct _buf { struct
656 extern struct _buf *kobj_open_file(char *name); argument
657 extern int kobj_read_file(struct _buf *file, char *buf, unsigned size,
659 extern void kobj_close_file(struct _buf *file);
660 extern int kobj_get_filesize(struct _buf *file, uint64_t *size);
/freebsd-12.1/sys/contrib/ngatm/netnatm/sig/
H A Dunisig.h46 void uni_print_api(char *_buf, size_t _bufsiz, u_int _type, u_int _cookie,
/freebsd-12.1/usr.sbin/lpr/common_source/
H A Dlp.h299 char *lock_file_name(const struct printer *_pp, char *_buf, size_t _len);
312 char *status_file_name(const struct printer *_pp, char *_buf,
/freebsd-12.1/lib/libutil/
H A Dlibutil.h94 int expand_number(const char *_buf, uint64_t *_num);
102 int humanize_number(char *_buf, size_t _len, int64_t _number,
/freebsd-12.1/sys/contrib/ngatm/netnatm/msg/
H A Duniprint.h52 void uni_print_init(char *_buf, size_t _bufsiz, struct unicx *_cx);

12