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

12

/freebsd-10-stable/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-10-stable/tests/sys/kern/pipe/
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)) \
H A Dpipe_fstat_bug_test.c73 #define SYNC_R(i, _buf) do { \
76 if (read(ipc_coord[i], &_buf, sizeof(_buf)) != sizeof(_buf)) \
81 #define SYNC_W(i, _buf) do { \
84 if (write(ipc_coord[i], &_buf, sizeof(_buf)) != sizeof(_buf)) \
/freebsd-10-stable/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-10-stable/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-10-stable/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_kobj.c104 struct _buf *
107 struct _buf *out;
121 return ((struct _buf *)-1);
127 kobj_get_filesize_vnode(struct _buf *file, uint64_t *size)
142 kobj_get_filesize_loader(struct _buf *file, uint64_t *size)
154 kobj_get_filesize(struct _buf *file, uint64_t *size)
164 kobj_read_file_vnode(struct _buf *file, char *buf, unsigned size, unsigned off)
193 kobj_read_file_loader(struct _buf *file, char *buf, unsigned size, unsigned off)
205 kobj_read_file(struct _buf *file, char *buf, unsigned size, unsigned off)
215 kobj_close_file(struct _buf *fil
[all...]
/freebsd-10-stable/sys/contrib/ngatm/netnatm/msg/
H A Duniprint.h52 void uni_print_init(char *_buf, size_t _bufsiz, struct unicx *_cx);
/freebsd-10-stable/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-10-stable/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-10-stable/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-10-stable/lib/libelf/
H A D_libelf.h169 char *_libelf_ar_get_string(const char *_buf, size_t _sz, int _rawname);
170 char *_libelf_ar_get_name(char *_buf, size_t _sz, Elf *_e);
171 int _libelf_ar_get_number(char *_buf, size_t _sz, int _base, size_t *_ret);
/freebsd-10-stable/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-10-stable/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-10-stable/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-10-stable/contrib/libarchive/libarchive/
H A Darchive_random.c259 arc4random_buf(void *_buf, size_t n) argument
261 u_char *buf = (u_char *)_buf;
/freebsd-10-stable/sys/dev/mwl/
H A Dif_mwlvar.h153 #define MWL_JUMBO_BUF2DATA(_buf) ((uint8_t *)(_buf))
/freebsd-10-stable/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-10-stable/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-10-stable/contrib/unbound/compat/
H A Darc4random.c180 _rs_random_buf(void *_buf, size_t n) argument
182 u_char *buf = (u_char *)_buf;
/freebsd-10-stable/lib/libc/gen/
H A Darc4random.c247 arc4random_buf(void *_buf, size_t n) argument
249 u_char *buf = (u_char *)_buf;
/freebsd-10-stable/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-10-stable/cddl/contrib/opensolaris/lib/libzpool/common/sys/
H A Dzfs_context.h626 struct _buf { struct
649 extern struct _buf *kobj_open_file(char *name);
650 extern int kobj_read_file(struct _buf *file, char *buf, unsigned size,
652 extern void kobj_close_file(struct _buf *file);
653 extern int kobj_get_filesize(struct _buf *file, uint64_t *size);
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa_config.c82 struct _buf *file;
96 if (file == (struct _buf *)-1)
/freebsd-10-stable/usr.sbin/mfiutil/
H A Dmfiutil.h69 int humanize_number(char *_buf, size_t _len, int64_t _number,

Completed in 221 milliseconds

12