Home
last modified time | relevance | path

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

12

/freebsd-9-stable/sys/dev/drm/
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->used <= 0) { \
[all …]
/freebsd-9-stable/sys/cddl/compat/opensolaris/kern/
Dopensolaris_kobj.c106 struct _buf *
109 struct _buf *out; in kobj_open_file()
123 return ((struct _buf *)-1); in kobj_open_file()
129 kobj_get_filesize_vnode(struct _buf *file, uint64_t *size) in kobj_get_filesize_vnode()
146 kobj_get_filesize_loader(struct _buf *file, uint64_t *size) in kobj_get_filesize_loader()
158 kobj_get_filesize(struct _buf *file, uint64_t *size) in kobj_get_filesize()
168 kobj_read_file_vnode(struct _buf *file, char *buf, unsigned size, unsigned off) in kobj_read_file_vnode()
199 kobj_read_file_loader(struct _buf *file, char *buf, unsigned size, unsigned off) in kobj_read_file_loader()
211 kobj_read_file(struct _buf *file, char *buf, unsigned size, unsigned off) in kobj_read_file()
221 kobj_close_file(struct _buf *file) in kobj_close_file()
/freebsd-9-stable/sys/cddl/compat/opensolaris/sys/
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-9-stable/sys/dev/ofw/
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;
155 * @param _buf Buffer for canonicalized path
161 char *_buf;
276 * @param _buf Buffer to read to
282 void *_buf;
[all …]
/freebsd-9-stable/contrib/wpa/src/utils/
Dwpabuf.c53 int wpabuf_resize(struct wpabuf **_buf, size_t add_len) in wpabuf_resize() argument
55 struct wpabuf *buf = *_buf; in wpabuf_resize()
61 *_buf = wpabuf_alloc(add_len); in wpabuf_resize()
62 return *_buf == NULL ? -1 : 0; in wpabuf_resize()
104 *_buf = buf; in wpabuf_resize()
/freebsd-9-stable/lib/libc/rpc/
Dclnt_perror.c59 static char *_buf(void);
64 _buf() in _buf() function
89 str = _buf(); /* side effect: sets CLNT_PERROR_BUFLEN */
249 str = _buf(); /* side effect: sets CLNT_PERROR_BUFLEN */
/freebsd-9-stable/crypto/openssh/openbsd-compat/
Darc4random.c134 _rs_random_buf(void *_buf, size_t n) in _rs_random_buf() argument
136 u_char *buf = (u_char *)_buf; in _rs_random_buf()
220 arc4random_buf(void *_buf, size_t n) in arc4random_buf() argument
224 char *buf = (char *)_buf; in arc4random_buf()
/freebsd-9-stable/sys/dev/sound/midi/
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);
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-9-stable/contrib/gdb/gdb/
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-9-stable/lib/libelf/
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-9-stable/crypto/openssl/crypto/des/
Denc_writ.c80 int DES_enc_write(int fd, const void *_buf, int len, in DES_enc_write() argument
87 const unsigned char *buf = _buf; in DES_enc_write()
/freebsd-9-stable/cddl/contrib/opensolaris/lib/libzpool/common/
Dkernel.c743 struct _buf *
746 struct _buf *file; in kobj_open_file()
754 file = umem_zalloc(sizeof (struct _buf), UMEM_NOFAIL); in kobj_open_file()
760 kobj_read_file(struct _buf *file, char *buf, unsigned size, unsigned off) in kobj_read_file()
771 kobj_close_file(struct _buf *file) in kobj_close_file()
774 umem_free(file, sizeof (struct _buf)); in kobj_close_file()
778 kobj_get_filesize(struct _buf *file, uint64_t *size) in kobj_get_filesize()
/freebsd-9-stable/cddl/contrib/opensolaris/lib/libzpool/common/sys/
Dzfs_context.h620 struct _buf { struct
643 extern struct _buf *kobj_open_file(char *name); argument
644 extern int kobj_read_file(struct _buf *file, char *buf, unsigned size,
646 extern void kobj_close_file(struct _buf *file);
647 extern int kobj_get_filesize(struct _buf *file, uint64_t *size);
/freebsd-9-stable/lib/libc/gen/
Darc4random.c247 arc4random_buf(void *_buf, size_t n) in arc4random_buf() argument
249 u_char *buf = (u_char *)_buf; in arc4random_buf()
/freebsd-9-stable/lib/libutil/
Dlibutil.h92 int expand_number(const char *_buf, uint64_t *_num);
99 int humanize_number(char *_buf, size_t _len, int64_t _number,
/freebsd-9-stable/sys/contrib/ngatm/netnatm/sig/
Dunisig.h46 void uni_print_api(char *_buf, size_t _bufsiz, u_int _type, u_int _cookie,
/freebsd-9-stable/usr.sbin/lpr/common_source/
Dlp.h283 char *lock_file_name(const struct printer *_pp, char *_buf, size_t _len);
296 char *status_file_name(const struct printer *_pp, char *_buf,
/freebsd-9-stable/sys/contrib/ngatm/netnatm/msg/
Duniprint.h52 void uni_print_init(char *_buf, size_t _bufsiz, struct unicx *_cx);
/freebsd-9-stable/sys/dev/mwl/
Dif_mwlvar.h153 #define MWL_JUMBO_BUF2DATA(_buf) ((uint8_t *)(_buf)) argument
/freebsd-9-stable/sys/dev/drm2/radeon/
Dradeon_drv.h2142 struct drm_buffer *_buf = (buf); \
2150 if (drm_buffer_index(_buf) + _part_size > PAGE_SIZE) \
2151 _part_size = PAGE_SIZE - drm_buffer_index(_buf);\
2155 memcpy(ring + write, &_buf->data[drm_buffer_page(_buf)] \
2156 [drm_buffer_index(_buf)], _part_size); \
2160 drm_buffer_advance(_buf, _part_size); \
/freebsd-9-stable/contrib/wpa/src/ap/
Dwps_hostapd.c230 char *_buf = os_malloc(blen); in hostapd_wps_cred_cb() local
231 if (_buf) { in hostapd_wps_cred_cb()
232 wpa_snprintf_hex(_buf, blen, in hostapd_wps_cred_cb()
235 WPS_EVENT_NEW_AP_SETTINGS, _buf); in hostapd_wps_cred_cb()
236 os_free(_buf); in hostapd_wps_cred_cb()
/freebsd-9-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
Dspa_config.c82 struct _buf *file; in spa_config_load()
96 if (file == (struct _buf *)-1) in spa_config_load()
/freebsd-9-stable/sys/kern/
Dbus_if.m523 * @param _buf the address of a buffer to receive the pnp
525 * @param _buflen the size of the buffer pointed to by @p _buf
530 char *_buf;
542 * @param _buf the address of a buffer to receive the location
544 * @param _buflen the size of the buffer pointed to by @p _buf
549 char *_buf;
/freebsd-9-stable/contrib/openpam/include/security/
Dopenpam.h64 char *_buf,

12