Home
last modified time | relevance | path

Searched defs:buf (Results 176 – 200 of 5340) sorted by relevance

12345678910>>...214

/freebsd/tools/test/stress2/lib/
H A Dresources.c59 struct statfs buf; in inodes() local
81 struct statfs buf; in df() local
161 char buf[128]; in getdf() local
214 char buf[128]; in reservedf() local
/freebsd/lib/libc/stdio/
H A Dfmemopen.c38 char *buf; /* pointer to the memory region */ member
52 fmemopen(void * __restrict buf, size_t size, const char * __restrict mode) in fmemopen()
164 fmemopen_read(void *cookie, char *buf, int nbytes) in fmemopen_read()
182 fmemopen_write(void *cookie, const char *buf, int nbytes) in fmemopen_write()
/freebsd/sys/dev/pms/freebsd/driver/common/
H A Dlxencrypt.c54 careful_write(char *buf, int offset, int max, const char *fmt, ...) in careful_write()
83 set_dek_table_entry(struct device *dev, const char *buf, size_t len, dek_table_e table) in set_dek_table_entry()
116 set_dek_table_entry0(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) in set_dek_table_entry0()
130 set_dek_table_entry1(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) in set_dek_table_entry1()
145 show_dek_table_entry(struct device *dev, char *buf, unsigned int table) in show_dek_table_entry()
193 show_dek_table_entry0(struct device *dev, struct device_attribute *attr, char *buf) in show_dek_table_entry0()
207 show_dek_table_entry1(struct device *dev, struct device_attribute *attr, char *buf) in show_dek_table_entry1()
221 show_kek_table(struct device *dev, struct device_attribute *attr, char *buf) in show_kek_table()
258 show_dek_kek_map(struct device *dev, char *buf, unsigned int table) in show_dek_kek_map()
295 show_dek_kek_map0(struct device *dev, struct device_attribute *attr, char *buf) in show_dek_kek_map0()
[all …]
/freebsd/stand/powerpc/boot1.chrp/
H A Dboot1.c139 ofwtramp(void *buf, ofwfp_t cb) in ofwtramp()
187 call_ofw(ofwcell_t* buf) in call_ofw()
274 ofw_getprop(ofwh_t ofwh, const char *name, void *buf, size_t len) in ofw_getprop()
296 ofw_setprop(ofwh_t ofwh, const char *name, void *buf, size_t len) in ofw_setprop()
375 ofw_read(ofwh_t devh, void *buf, size_t len) in ofw_read()
395 ofw_write(ofwh_t devh, const void *buf, size_t len) in ofw_write()
634 dskread(void *buf, uint64_t lba, int nblk) in dskread()
649 char buf[128]; in panic() local
675 char buf; in putchar() local
711 char buf[(sizeof(long) * 8) + 1]; in __printf() local
[all …]
/freebsd/contrib/wpa/hostapd/
H A Dctrl_iface.c191 struct hostapd_data *hapd, char *cmd, char *buf, size_t buflen) in hostapd_ctrl_iface_wps_check_pin()
240 struct wpabuf *buf; in hostapd_ctrl_iface_wps_nfc_tag_read() local
268 struct wpabuf *buf; in hostapd_ctrl_iface_wps_nfc_config_token() local
297 struct wpabuf *buf; in hostapd_ctrl_iface_wps_nfc_token_gen() local
343 struct wpabuf *buf; in hostapd_ctrl_iface_nfc_get_handover_sel() local
451 char *buf, size_t buflen) in hostapd_ctrl_iface_wps_ap_pin()
548 char *buf, size_t buflen) in hostapd_ctrl_iface_wps_get_status()
727 struct wpabuf *buf; in hostapd_ctrl_iface_send_qos_map_conf() local
817 char *buf, size_t buflen) in hostapd_ctrl_iface_get_key_mgmt()
980 char *buf, size_t buflen) in hostapd_ctrl_iface_get_config()
[all …]
/freebsd/crypto/openssh/
H A Dsshbuf-misc.c67 sshbuf_dump(const struct sshbuf *buf, FILE *f) in sshbuf_dump()
74 sshbuf_dtob16(struct sshbuf *buf) in sshbuf_dtob16()
132 sshbuf_dtob64_string(const struct sshbuf *buf, int wrap) in sshbuf_dtob64_string()
149 sshbuf_b64tod(struct sshbuf *buf, const char *b64) in sshbuf_b64tod()
215 sshbuf_dup_string(struct sshbuf *buf) in sshbuf_dup_string()
275 sshbuf_read(int fd, struct sshbuf *buf, size_t maxlen, size_t *rlen) in sshbuf_read()
/freebsd/contrib/libfido2/src/
H A Dnfc.c96 fido_nfc_tx(fido_dev_t *d, uint8_t cmd, const unsigned char *buf, size_t count) in fido_nfc_tx()
147 rx_init(fido_dev_t *d, unsigned char *buf, size_t count, int ms) in rx_init()
204 rx_apdu(fido_dev_t *d, uint8_t sw[2], unsigned char **buf, size_t *count, int *ms) in rx_apdu()
236 rx_msg(fido_dev_t *d, unsigned char *buf, size_t count, int ms) in rx_msg()
267 rx_cbor(fido_dev_t *d, unsigned char *buf, size_t count, int ms) in rx_cbor()
278 fido_nfc_rx(fido_dev_t *d, uint8_t cmd, unsigned char *buf, size_t count, int ms) in fido_nfc_rx()
/freebsd/sys/contrib/zlib/
H A Dgzread.c13 local int gz_load(gz_statep state, unsigned char *buf, unsigned len, in gz_load()
269 local z_size_t gz_read(gz_statep state, voidp buf, z_size_t len) { in gz_read()
346 int ZEXPORT gzread(gzFile file, voidp buf, unsigned len) { in gzread()
378 z_size_t ZEXPORT gzfread(voidp buf, z_size_t size, z_size_t nitems, gzFile file) { in gzfread()
410 unsigned char buf[1]; in gzgetc() local
500 char * ZEXPORT gzgets(gzFile file, char *buf, int len) { in gzgets()
/freebsd/sys/contrib/zstd/zlibWrapper/
H A Dgzread.c32 local int gz_load(state, buf, len, have) in gz_load() argument
306 local z_size_t gz_read(state, buf, len) in gz_read() argument
387 int ZEXPORT gzread(file, buf, len) in gzread() argument
423 z_size_t ZEXPORT gzfread(buf, size, nitems, file) in gzfread() argument
475 unsigned char buf[1]; local
567 char * ZEXPORT gzgets(file, buf, len) in gzgets() argument
/freebsd/contrib/ntp/sntp/libevent/
H A Devutil_rand.c72 ev_arc4random_buf(void *buf, size_t n) in ev_arc4random_buf()
180 ev_arc4random_buf(void *buf, size_t n) in ev_arc4random_buf()
188 evutil_secure_rng_get_bytes(void *buf, size_t n) in evutil_secure_rng_get_bytes()
195 evutil_secure_rng_add_bytes(const char *buf, size_t n) in evutil_secure_rng_add_bytes()
/freebsd/contrib/wpa/src/eap_common/
H A Deap_fast_common.c19 void eap_fast_put_tlv_hdr(struct wpabuf *buf, u16 type, u16 len) in eap_fast_put_tlv_hdr()
28 void eap_fast_put_tlv(struct wpabuf *buf, u16 type, const void *data, in eap_fast_put_tlv()
36 void eap_fast_put_tlv_buf(struct wpabuf *buf, u16 type, in eap_fast_put_tlv_buf()
44 struct wpabuf * eap_fast_tlv_eap_payload(struct wpabuf *buf) in eap_fast_tlv_eap_payload()
/freebsd/contrib/netbsd-tests/fs/common/
H A Dfstest_ffs.c56 ffs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, off_t size, in ffs_fstest_newfs()
101 ffs_fstest_delfs(const atf_tc_t *tc, void *buf) in ffs_fstest_delfs()
123 ffs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) in ffs_fstest_mount()
138 ffslog_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) in ffslog_fstest_mount()
H A Dfstest_rumpfs.c47 rumpfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, in rumpfs_fstest_newfs()
62 rumpfs_fstest_delfs(const atf_tc_t *tc, void *buf) in rumpfs_fstest_delfs()
69 rumpfs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) in rumpfs_fstest_mount()
/freebsd/contrib/libevent/
H A Devutil_rand.c72 ev_arc4random_buf(void *buf, size_t n) in ev_arc4random_buf()
180 ev_arc4random_buf(void *buf, size_t n) in ev_arc4random_buf()
188 evutil_secure_rng_get_bytes(void *buf, size_t n) in evutil_secure_rng_get_bytes()
195 evutil_secure_rng_add_bytes(const char *buf, size_t n) in evutil_secure_rng_add_bytes()
/freebsd/usr.sbin/nvram/
H A Dnvram.c53 uint8_t buf[sizeof(struct chrp_header)]; member
61 uint8_t buf[NVRAM_SIZE], *cp, *common; in main() local
185 remove_var(uint8_t *buf, int len, const char *var_name) in remove_var()
208 append_var(uint8_t *buf, int len, const char *var_name, const char *var_value) in append_var()
/freebsd/sys/dev/ppbus/
H A Dpcfclock.c90 #define PCFCLOCK_CORRECT_SYNC(buf) (buf[0] == 9) argument
92 #define NR(buf, off) (buf[off+1]*10+buf[off]) argument
95 #define PCFCLOCK_CORRECT_FORMAT(buf) (\ argument
103 #define PCFCLOCK_BATTERY_STATUS_LOW(buf) (buf[8] & 4) argument
224 pcfclock_read_data(struct cdev *dev, char *buf, ssize_t bits) in pcfclock_read_data()
263 pcfclock_read_dev(struct cdev *dev, char *buf, int maxretries) in pcfclock_read_dev()
297 char buf[18]; in pcfclock_read() local
/freebsd/sbin/nvmecontrol/
H A Dlogpage.c181 void *buf; get_log_buffer() local
264 print_log_error(const struct nvme_controller_data * cdata __unused,void * buf,uint32_t size) print_log_error() argument
327 print_log_health(const struct nvme_controller_data * cdata __unused,void * buf,uint32_t size __unused) print_log_health() argument
395 print_log_firmware(const struct nvme_controller_data * cdata,void * buf,uint32_t size __unused) print_log_firmware() argument
432 print_log_ns(const struct nvme_controller_data * cdata __unused,void * buf,uint32_t size __unused) print_log_ns() argument
449 print_log_command_effects(const struct nvme_controller_data * cdata __unused,void * buf,uint32_t size __unused) print_log_command_effects() argument
488 print_log_res_notification(const struct nvme_controller_data * cdata __unused,void * buf,uint32_t size __unused) print_log_res_notification() argument
521 print_log_sanitize_status(const struct nvme_controller_data * cdata __unused,void * buf,uint32_t size __unused) print_log_sanitize_status() argument
585 print_log_self_test_status(const struct nvme_controller_data * cdata __unused,void * buf,uint32_t size __unused) print_log_self_test_status() argument
746 void *buf; logpage() local
[all...]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_warc.c215 const char *buf; in _warc_rdhdr() local
397 _warc_read(struct archive_read *a, const void **buf, size_t *bsz, int64_t *off) in _warc_read()
620 _warc_rdver(const char *buf, size_t bsz) in _warc_rdver()
665 _warc_rdtyp(const char *buf, size_t bsz) in _warc_rdtyp()
694 _warc_rduri(const char *buf, size_t bsz) in _warc_rduri()
751 _warc_rdlen(const char *buf, size_t bsz) in _warc_rdlen()
785 _warc_rdrtm(const char *buf, size_t bsz) in _warc_rdrtm()
812 _warc_rdmtm(const char *buf, size_t bsz) in _warc_rdmtm()
839 _warc_find_eoh(const char *buf, size_t bsz) in _warc_find_eoh()
851 _warc_find_eol(const char *buf, size_t bsz) in _warc_find_eol()
/freebsd/sys/dev/asmc/
H A Dasmc.c816 uint8_t buf[2]; in asmc_resume() local
839 uint8_t buf[4]; in asmc_init() local
1003 asmc_key_read(device_t dev, const char *key, uint8_t *buf, uint8_t len) in asmc_key_read()
1105 char buf[1024]; in asmc_key_dump() local
1136 asmc_key_write(device_t dev, const char *key, uint8_t *buf, uint8_t len) in asmc_key_write()
1184 uint8_t buf[1]; in asmc_fan_count() local
1196 uint8_t buf[2]; in asmc_fan_getvalue() local
1208 asmc_fan_getstring(device_t dev, const char *key, int fan, uint8_t *buf, uint8_t buflen) in asmc_fan_getstring()
1224 uint8_t buf[2]; in asmc_fan_setvalue() local
1256 uint8_t buf[16]; in asmc_mb_sysctl_fanid() local
[all …]
/freebsd/contrib/wpa/src/l2_packet/
H A Dl2_packet_none.c38 const u8 *buf, size_t len) in l2_packet_send()
55 u8 buf[2300]; in l2_packet_receive() local
70 const u8 *buf, size_t len), in l2_packet_init()
98 const u8 *buf, size_t len), in l2_packet_init_bridge()
120 int l2_packet_get_ip_addr(struct l2_packet_data *l2, char *buf, size_t len) in l2_packet_get_ip_addr()
/freebsd/contrib/wpa/src/wps/
H A Dndef.c89 static struct wpabuf * ndef_parse_records(const struct wpabuf *buf, in ndef_parse_records()
173 struct wpabuf * ndef_parse_wifi(const struct wpabuf *buf) in ndef_parse_wifi()
179 struct wpabuf * ndef_build_wifi(const struct wpabuf *buf) in ndef_build_wifi()
199 struct wpabuf * ndef_parse_p2p(const struct wpabuf *buf) in ndef_parse_p2p()
205 struct wpabuf * ndef_build_p2p(const struct wpabuf *buf) in ndef_build_p2p()
/freebsd/lib/libc/tests/stdio/
H A Dfmemopen2_test.c42 char buf[512]; in ATF_TC_BODY() local
151 char buf[512] = {'\0'}; in ATF_TC_BODY() local
215 char buf[20]; in ATF_TC_BODY() local
257 char buf[] = "Hello"; in ATF_TC_BODY() local
284 char buf[16]; in ATF_TC_BODY() local
/freebsd/contrib/wpa/wpa_supplicant/
H A Dwpa_priv.c137 void *buf, size_t len) in wpa_priv_cmd_scan()
186 u8 *buf = NULL, *pos, *end; in wpa_priv_get_scan_results2() local
245 void *buf, size_t len) in wpa_priv_cmd_authenticate()
297 void *buf, size_t len) in wpa_priv_cmd_associate()
393 void *buf, size_t len) in wpa_priv_cmd_set_key()
452 static void wpa_priv_l2_rx(void *ctx, const u8 *src_addr, const u8 *buf, in wpa_priv_l2_rx()
487 void *buf, size_t len) in wpa_priv_cmd_l2_register()
583 void *buf, size_t len) in wpa_priv_cmd_l2_send()
627 char *buf) in wpa_priv_cmd_set_country()
640 char buf[2000], *pos; in wpa_priv_receive() local
[all …]
/freebsd/lib/libc/gen/
H A Dgetcap.c106 cgetcap(char *buf, const char *cap, int type) in cgetcap()
157 cgetent(char **buf, char **db_array, const char *name) in cgetent()
273 char buf[BUFSIZ]; in getent() local
570 cgetmatch(const char *buf, const char *name) in cgetmatch()
614 cgetfirst(char **buf, char **db_array) in cgetfirst()
647 char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE]; in cgetnext() local
780 cgetstr(char *buf, const char *cap, char **str) in cgetstr()
907 cgetustr(char *buf, const char *cap, char **str) in cgetustr()
975 cgetnum(char *buf, const char *cap, long *num) in cgetnum()
/freebsd/contrib/wpa/src/crypto/
H A Drandom.c78 static void random_mix_pool(const void *buf, size_t len) in random_mix_pool()
109 u32 buf[POOL_WORDS / 2]; in random_extract() local
131 void random_add_randomness(const void *buf, size_t len) in random_add_randomness()
159 int random_get_bytes(void *buf, size_t len) in random_get_bytes()
365 char *buf; in random_read_entropy() local
393 char buf[RANDOM_ENTROPY_SIZE]; in random_write_entropy() local

12345678910>>...214