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

12

/freebsd-11.0-release/sys/cddl/compat/opensolaris/sys/
H A Dkobj.h50 struct _buf { struct
55 struct _buf *kobj_open_file(const char *path);
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-11.0-release/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-11.0-release/tests/sys/kern/pipe/
H A Dpipe_fstat_bug_test.c70 #define SYNC_R(i, _buf) do { \
73 if (read(ipc_coord[i], &_buf, sizeof(_buf)) != sizeof(_buf)) \
78 #define SYNC_W(i, _buf) do { \
81 if (write(ipc_coord[i], &_buf, sizeof(_buf)) != sizeof(_buf)) \
H A Dpipe_reverse_test.c77 #define SYNC_R(i, _buf) do { \
80 if (read(ipc_coord[i], &_buf, sizeof(_buf)) != sizeof(_buf)) \
85 #define SYNC_W(i, _buf) do { \
88 if (write(ipc_coord[i], &_buf, sizeof(_buf)) != sizeof(_buf)) \
H A Dpipe_wraparound_test.c75 #define SYNC_R(i, _buf) do { \
78 if (read(ipc_coord[i], &_buf, sizeof(_buf)) != sizeof(_buf)) \
83 #define SYNC_W(i, _buf) do { \
86 if (write(ipc_coord[i], &_buf, sizeof(_buf)) != sizeof(_buf)) \
/freebsd-11.0-release/lib/libsysdecode/
H A Dsysdecode.h45 int sysdecode_utrace(FILE *_fp, void *_buf, size_t _len);
/freebsd-11.0-release/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-11.0-release/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_kobj.c93 struct _buf *
96 struct _buf *out;
110 return ((struct _buf *)-1);
116 kobj_get_filesize_vnode(struct _buf *file, uint64_t *size)
131 kobj_get_filesize_loader(struct _buf *file, uint64_t *size)
143 kobj_get_filesize(struct _buf *file, uint64_t *size)
153 kobj_read_file_vnode(struct _buf *file, char *buf, unsigned size, unsigned off)
182 kobj_read_file_loader(struct _buf *file, char *buf, unsigned size, unsigned off)
194 kobj_read_file(struct _buf *file, char *buf, unsigned size, unsigned off)
204 kobj_close_file(struct _buf *fil
[all...]
/freebsd-11.0-release/sys/dev/sound/midi/
H A Dmidi.h49 int midi_out(struct snd_midi *_m, MIDI_TYPE *_buf, int _size);
50 int midi_in(struct snd_midi *_m, MIDI_TYPE *_buf, int _size);
/freebsd-11.0-release/sys/contrib/ngatm/netnatm/msg/
H A Duniprint.h52 void uni_print_init(char *_buf, size_t _bufsiz, struct unicx *_cx);
/freebsd-11.0-release/sys/dev/drm/
H A Dmach64_drv.h705 struct drm_buf *_buf = NULL; \
743 _buf = (_p); \
745 _buf_wptr = GETBUFPTR( _buf ); \
754 _buf = mach64_freelist_get( dev_priv ); \
755 if (_buf == NULL) { \
759 if (_buf->pending) { \
763 _buf->file_priv = file_priv; \
766 _buf_wptr = GETBUFPTR( _buf ); \
777 _buf->used += 8; \
789 if (_buf
[all...]
/freebsd-11.0-release/crypto/openssl/crypto/des/
H A Denc_writ.c80 int DES_enc_write(int fd, const void *_buf, int len, argument
90 const unsigned char *buf = _buf;
/freebsd-11.0-release/contrib/wpa/src/utils/
H A Dwpabuf.c47 int wpabuf_resize(struct wpabuf **_buf, size_t add_len) argument
49 struct wpabuf *buf = *_buf;
55 *_buf = wpabuf_alloc(add_len);
56 return *_buf == NULL ? -1 : 0;
99 *_buf = buf;
/freebsd-11.0-release/crypto/openssh/openbsd-compat/
H A Darc4random.c168 _rs_random_buf(void *_buf, size_t n) argument
170 u_char *buf = (u_char *)_buf;
254 arc4random_buf(void *_buf, size_t n) argument
258 char *buf = (char *)_buf;
/freebsd-11.0-release/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-11.0-release/lib/libc/rpc/
H A Dclnt_perror.c59 static char *_buf(void);
64 _buf(void) function
87 str = _buf(); /* side effect: sets CLNT_PERROR_BUFLEN */
242 str = _buf(); /* side effect: sets CLNT_PERROR_BUFLEN */
/freebsd-11.0-release/contrib/libarchive/libarchive/
H A Darchive_random.c256 arc4random_buf(void *_buf, size_t n) argument
258 u_char *buf = (u_char *)_buf;
/freebsd-11.0-release/sys/sys/
H A Dptrace.h173 void *_buf, size_t _len);
175 void *_buf, size_t _len);
/freebsd-11.0-release/contrib/unbound/compat/
H A Darc4random.c180 _rs_random_buf(void *_buf, size_t n) argument
182 u_char *buf = (u_char *)_buf;
/freebsd-11.0-release/lib/libc/gen/
H A Darc4random.c246 arc4random_buf(void *_buf, size_t n) argument
248 u_char *buf = (u_char *)_buf;
/freebsd-11.0-release/lib/libutil/
H A Dlibutil.h92 int expand_number(const char *_buf, uint64_t *_num);
99 int humanize_number(char *_buf, size_t _len, int64_t _number,
/freebsd-11.0-release/usr.sbin/lpr/common_source/
H A Dlp.h297 char *lock_file_name(const struct printer *_pp, char *_buf, size_t _len);
310 char *status_file_name(const struct printer *_pp, char *_buf,
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libzpool/common/
H A Dkernel.c773 struct _buf *
776 struct _buf *file;
784 file = umem_zalloc(sizeof (struct _buf), UMEM_NOFAIL);
790 kobj_read_file(struct _buf *file, char *buf, unsigned size, unsigned off)
801 kobj_close_file(struct _buf *file)
804 umem_free(file, sizeof (struct _buf));
808 kobj_get_filesize(struct _buf *file, uint64_t *size)
/freebsd-11.0-release/sys/dev/bhnd/nvram/
H A Dbhnd_sprom_subr.c225 * previously read value from @p _buf. */
226 #define SPROM_GETVAR_WRITE(_type, _widen, _width, _off, _src, _buf) \
230 _v |= *((_type *)_buf); \
231 *((_type *)_buf) = _v; \
339 * previously read value from @p _buf. */
/freebsd-11.0-release/sys/dev/mwl/
H A Dif_mwlvar.h154 #define MWL_JUMBO_BUF2DATA(_buf) ((uint8_t *)(_buf))

Completed in 366 milliseconds

12