| /openbsd-src/lib/libutil/ | 
| H A D | imsg-buffer.c | 43 struct ibuf *buf; ibuf_open()  local 64 struct ibuf *buf; ibuf_dynamic()  local
 87 ibuf_realloc(struct ibuf * buf,size_t len) ibuf_realloc()  argument
 107 ibuf_reserve(struct ibuf * buf,size_t len) ibuf_reserve()  argument
 126 ibuf_add(struct ibuf * buf,const void * data,size_t len) ibuf_add()  argument
 138 ibuf_add_ibuf(struct ibuf * buf,const struct ibuf * from) ibuf_add_ibuf()  argument
 145 ibuf_add_buf(struct ibuf * buf,const struct ibuf * from) ibuf_add_buf()  argument
 151 ibuf_add_n8(struct ibuf * buf,uint64_t value) ibuf_add_n8()  argument
 164 ibuf_add_n16(struct ibuf * buf,uint64_t value) ibuf_add_n16()  argument
 177 ibuf_add_n32(struct ibuf * buf,uint64_t value) ibuf_add_n32()  argument
 190 ibuf_add_n64(struct ibuf * buf,uint64_t value) ibuf_add_n64()  argument
 197 ibuf_add_h16(struct ibuf * buf,uint64_t value) ibuf_add_h16()  argument
 210 ibuf_add_h32(struct ibuf * buf,uint64_t value) ibuf_add_h32()  argument
 223 ibuf_add_h64(struct ibuf * buf,uint64_t value) ibuf_add_h64()  argument
 229 ibuf_add_zero(struct ibuf * buf,size_t len) ibuf_add_zero()  argument
 240 ibuf_seek(struct ibuf * buf,size_t pos,size_t len) ibuf_seek()  argument
 253 ibuf_set(struct ibuf * buf,size_t pos,const void * data,size_t len) ibuf_set()  argument
 265 ibuf_set_n8(struct ibuf * buf,size_t pos,uint64_t value) ibuf_set_n8()  argument
 278 ibuf_set_n16(struct ibuf * buf,size_t pos,uint64_t value) ibuf_set_n16()  argument
 291 ibuf_set_n32(struct ibuf * buf,size_t pos,uint64_t value) ibuf_set_n32()  argument
 304 ibuf_set_n64(struct ibuf * buf,size_t pos,uint64_t value) ibuf_set_n64()  argument
 311 ibuf_set_h16(struct ibuf * buf,size_t pos,uint64_t value) ibuf_set_h16()  argument
 324 ibuf_set_h32(struct ibuf * buf,size_t pos,uint64_t value) ibuf_set_h32()  argument
 337 ibuf_set_h64(struct ibuf * buf,size_t pos,uint64_t value) ibuf_set_h64()  argument
 343 ibuf_data(const struct ibuf * buf) ibuf_data()  argument
 349 ibuf_size(const struct ibuf * buf) ibuf_size()  argument
 355 ibuf_left(const struct ibuf * buf) ibuf_left()  argument
 363 ibuf_truncate(struct ibuf * buf,size_t len) ibuf_truncate()  argument
 378 ibuf_rewind(struct ibuf * buf) ibuf_rewind()  argument
 384 ibuf_close(struct msgbuf * msgbuf,struct ibuf * buf) ibuf_close()  argument
 390 ibuf_from_buffer(struct ibuf * buf,void * data,size_t len) ibuf_from_buffer()  argument
 399 ibuf_from_ibuf(struct ibuf * buf,const struct ibuf * from) ibuf_from_ibuf()  argument
 405 ibuf_get(struct ibuf * buf,void * data,size_t len) ibuf_get()  argument
 418 ibuf_get_ibuf(struct ibuf * buf,size_t len,struct ibuf * new) ibuf_get_ibuf()  argument
 431 ibuf_get_n8(struct ibuf * buf,uint8_t * value) ibuf_get_n8()  argument
 437 ibuf_get_n16(struct ibuf * buf,uint16_t * value) ibuf_get_n16()  argument
 447 ibuf_get_n32(struct ibuf * buf,uint32_t * value) ibuf_get_n32()  argument
 457 ibuf_get_n64(struct ibuf * buf,uint64_t * value) ibuf_get_n64()  argument
 467 ibuf_get_h16(struct ibuf * buf,uint16_t * value) ibuf_get_h16()  argument
 473 ibuf_get_h32(struct ibuf * buf,uint32_t * value) ibuf_get_h32()  argument
 479 ibuf_get_h64(struct ibuf * buf,uint64_t * value) ibuf_get_h64()  argument
 485 ibuf_skip(struct ibuf * buf,size_t len) ibuf_skip()  argument
 497 ibuf_free(struct ibuf * buf) ibuf_free()  argument
 510 ibuf_fd_avail(struct ibuf * buf) ibuf_fd_avail()  argument
 516 ibuf_fd_get(struct ibuf * buf) ibuf_fd_get()  argument
 526 ibuf_fd_set(struct ibuf * buf,int fd) ibuf_fd_set()  argument
 539 struct ibuf *buf; ibuf_write()  local
 582 struct ibuf *buf, *next; msgbuf_drain()  local
 600 struct ibuf *buf; msgbuf_clear()  local
 610 struct ibuf *buf, *buf0 = NULL; msgbuf_write()  local
 617 char buf[CMSG_SPACE(sizeof(int))]; msgbuf_write()  member
 683 ibuf_enqueue(struct msgbuf * msgbuf,struct ibuf * buf) ibuf_enqueue()  argument
 692 ibuf_dequeue(struct msgbuf * msgbuf,struct ibuf * buf) ibuf_dequeue()  argument
 [all...]
 | 
| /openbsd-src/usr.bin/ssh/ | 
| H A D | sshbuf-getput-basic.c | 31 sshbuf_get(struct sshbuf *buf, void *v, size_t len)  in sshbuf_get()44 sshbuf_get_u64(struct sshbuf *buf, u_int64_t *valp)  in sshbuf_get_u64()
 57 sshbuf_get_u32(struct sshbuf *buf, u_int32_t *valp)  in sshbuf_get_u32()
 70 sshbuf_get_u16(struct sshbuf *buf, u_int16_t *valp)  in sshbuf_get_u16()
 83 sshbuf_get_u8(struct sshbuf *buf, u_char *valp)  in sshbuf_get_u8()
 96 check_offset(const struct sshbuf *buf, int wr, size_t offset, size_t len)  in check_offset()
 110 check_roffset(const struct sshbuf *buf, size_t offset, size_t len,  in check_roffset()
 123 sshbuf_peek_u64(const struct sshbuf *buf, size_t offset, u_int64_t *valp)  in sshbuf_peek_u64()
 138 sshbuf_peek_u32(const struct sshbuf *buf, size_t offset, u_int32_t *valp)  in sshbuf_peek_u32()
 153 sshbuf_peek_u16(const struct sshbuf *buf, size_t offset, u_int16_t *valp)  in sshbuf_peek_u16()
 [all …]
 
 | 
| H A D | sshbuf.c | 53 sshbuf_check_sanity(const struct sshbuf *buf) in sshbuf_check_sanity()   argument 74 sshbuf_maybe_pack(struct sshbuf * buf,int force) sshbuf_maybe_pack()  argument
 141 sshbuf_fromb(struct sshbuf * buf) sshbuf_fromb()  argument
 157 sshbuf_free(struct sshbuf * buf) sshbuf_free()  argument
 194 sshbuf_reset(struct sshbuf * buf) sshbuf_reset()  argument
 217 sshbuf_max_size(const struct sshbuf * buf) sshbuf_max_size()  argument
 223 sshbuf_alloc(const struct sshbuf * buf) sshbuf_alloc()  argument
 229 sshbuf_parent(const struct sshbuf * buf) sshbuf_parent()  argument
 235 sshbuf_refcount(const struct sshbuf * buf) sshbuf_refcount()  argument
 241 sshbuf_set_max_size(struct sshbuf * buf,size_t max_size) sshbuf_set_max_size()  argument
 279 sshbuf_len(const struct sshbuf * buf) sshbuf_len()  argument
 287 sshbuf_avail(const struct sshbuf * buf) sshbuf_avail()  argument
 295 sshbuf_ptr(const struct sshbuf * buf) sshbuf_ptr()  argument
 303 sshbuf_mutable_ptr(const struct sshbuf * buf) sshbuf_mutable_ptr()  argument
 311 sshbuf_check_reserve(const struct sshbuf * buf,size_t len) sshbuf_check_reserve()  argument
 327 sshbuf_allocate(struct sshbuf * buf,size_t len) sshbuf_allocate()  argument
 370 sshbuf_reserve(struct sshbuf * buf,size_t len,u_char ** dpp) sshbuf_reserve()  argument
 390 sshbuf_consume(struct sshbuf * buf,size_t len) sshbuf_consume()  argument
 410 sshbuf_consume_end(struct sshbuf * buf,size_t len) sshbuf_consume_end()  argument
 [all...]
 | 
| /openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/ | 
| H A D | z80-dis.c | 56 fetch_data (struct buffer *buf, disassemble_info * info, int n)  in fetch_data()72 prt (struct buffer *buf, disassemble_info * info, char *txt)  in prt()
 80 prt_e (struct buffer *buf, disassemble_info * info, char *txt)  in prt_e()
 99 jr_cc (struct buffer *buf, disassemble_info * info, char *txt)  in jr_cc()
 108 prt_nn (struct buffer *buf, disassemble_info * info, char *txt)  in prt_nn()
 126 prt_rr_nn (struct buffer *buf, disassemble_info * info, char *txt)  in prt_rr_nn()
 135 prt_rr (struct buffer *buf, disassemble_info * info, char *txt)  in prt_rr()
 144 prt_n (struct buffer *buf, disassemble_info * info, char *txt)  in prt_n()
 164 ld_r_n (struct buffer *buf, disassemble_info * info, char *txt)  in ld_r_n()
 173 prt_r (struct buffer *buf, disassemble_info * info, char *txt)  in prt_r()
 [all …]
 
 | 
| /openbsd-src/lib/libssl/ | 
| H A D | tls_buffer.c | 39 	struct tls_buffer *buf = NULL;  in tls_buffer_new()  local58 tls_buffer_clear(struct tls_buffer *buf)  in tls_buffer_clear()
 69 tls_buffer_free(struct tls_buffer *buf)  in tls_buffer_free()
 80 tls_buffer_grow(struct tls_buffer *buf, size_t capacity)  in tls_buffer_grow()
 89 tls_buffer_resize(struct tls_buffer *buf, size_t capacity)  in tls_buffer_resize()
 119 tls_buffer_set_capacity_limit(struct tls_buffer *buf, size_t limit)  in tls_buffer_set_capacity_limit()
 129 tls_buffer_extend(struct tls_buffer *buf, size_t len,  in tls_buffer_extend()
 159 tls_buffer_remaining(struct tls_buffer *buf)  in tls_buffer_remaining()
 168 tls_buffer_read(struct tls_buffer *buf, uint8_t *rbuf, size_t n)  in tls_buffer_read()
 187 tls_buffer_write(struct tls_buffer *buf, const uint8_t *wbuf, size_t n)  in tls_buffer_write()
 [all …]
 
 | 
| /openbsd-src/sys/sys/ | 
| H A D | buf.h | 120 struct buf {  struct128 	long	b_bufsize;		/* Allocated buffer size. */  argument
 129 	long	b_bcount;		/* Valid bytes in buffer. */  argument
 132 	dev_t	b_dev;			/* Device associated with buffer. */  argument
 136 	TAILQ_ENTRY(buf) b_valist;	/* LRU of va to reuse. */  argument
 138 	union	bufq_data b_bufq;  argument
 139 	struct	bufq	  *b_bq;	/* What bufq this buf is on */  argument
 149 	void	(*b_iodone)(struct buf *);  argument
 151 	int	b_dirtyoff;		/* Offset in buffer of dirty region. */  argument
 153 	int	b_validoff;		/* Offset in buffer of valid region. */  argument
 [all …]
 
 | 
| /openbsd-src/sys/dev/pci/drm/amd/pm/ | 
| H A D | amdgpu_pm.c | 98 					  char *buf) in amdgpu_get_power_dpm_state()   argument 128 					  const char *buf, in amdgpu_set_power_dpm_state()   argument
 226 							    char *buf) in amdgpu_get_power_dpm_force_performance_level()   argument
 264 							    const char *buf, in amdgpu_set_power_dpm_force_performance_level()   argument
 326 amdgpu_get_pp_num_states(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_num_states()  argument
 364 amdgpu_get_pp_cur_state(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_cur_state()  argument
 406 amdgpu_get_pp_force_state(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_force_state()  argument
 424 amdgpu_set_pp_force_state(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_force_state()  argument
 497 amdgpu_get_pp_table(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_table()  argument
 533 amdgpu_set_pp_table(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_table()  argument
 720 amdgpu_set_pp_od_clk_voltage(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_od_clk_voltage()  argument
 820 amdgpu_get_pp_od_clk_voltage(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_od_clk_voltage()  argument
 888 amdgpu_set_pp_features(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_features()  argument
 924 amdgpu_get_pp_features(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_features()  argument
 984 amdgpu_get_pp_dpm_clock(struct device * dev,enum pp_clock_type type,char * buf) amdgpu_get_pp_dpm_clock()  argument
 1021 amdgpu_read_mask(const char * buf,size_t count,uint32_t * mask) amdgpu_read_mask()  argument
 1052 amdgpu_set_pp_dpm_clock(struct device * dev,enum pp_clock_type type,const char * buf,size_t count) amdgpu_set_pp_dpm_clock()  argument
 1088 amdgpu_get_pp_dpm_sclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_sclk()  argument
 1095 amdgpu_set_pp_dpm_sclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_sclk()  argument
 1103 amdgpu_get_pp_dpm_mclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_mclk()  argument
 1110 amdgpu_set_pp_dpm_mclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_mclk()  argument
 1118 amdgpu_get_pp_dpm_socclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_socclk()  argument
 1125 amdgpu_set_pp_dpm_socclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_socclk()  argument
 1133 amdgpu_get_pp_dpm_fclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_fclk()  argument
 1140 amdgpu_set_pp_dpm_fclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_fclk()  argument
 1148 amdgpu_get_pp_dpm_vclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_vclk()  argument
 1155 amdgpu_set_pp_dpm_vclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_vclk()  argument
 1163 amdgpu_get_pp_dpm_vclk1(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_vclk1()  argument
 1170 amdgpu_set_pp_dpm_vclk1(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_vclk1()  argument
 1178 amdgpu_get_pp_dpm_dclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_dclk()  argument
 1185 amdgpu_set_pp_dpm_dclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_dclk()  argument
 1193 amdgpu_get_pp_dpm_dclk1(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_dclk1()  argument
 1200 amdgpu_set_pp_dpm_dclk1(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_dclk1()  argument
 1208 amdgpu_get_pp_dpm_dcefclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_dcefclk()  argument
 1215 amdgpu_set_pp_dpm_dcefclk(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_dcefclk()  argument
 1223 amdgpu_get_pp_dpm_pcie(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_dpm_pcie()  argument
 1230 amdgpu_set_pp_dpm_pcie(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_dpm_pcie()  argument
 1238 amdgpu_get_pp_sclk_od(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_sclk_od()  argument
 1266 amdgpu_set_pp_sclk_od(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_sclk_od()  argument
 1300 amdgpu_get_pp_mclk_od(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_mclk_od()  argument
 1328 amdgpu_set_pp_mclk_od(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_mclk_od()  argument
 1382 amdgpu_get_pp_power_profile_mode(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pp_power_profile_mode()  argument
 1413 amdgpu_set_pp_power_profile_mode(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_pp_power_profile_mode()  argument
 1512 amdgpu_get_gpu_busy_percent(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_gpu_busy_percent()  argument
 1536 amdgpu_get_mem_busy_percent(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_mem_busy_percent()  argument
 1564 amdgpu_get_pcie_bw(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_pcie_bw()  argument
 1609 amdgpu_get_unique_id(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_unique_id()  argument
 1642 amdgpu_get_thermal_throttling_logging(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_thermal_throttling_logging()  argument
 1655 amdgpu_set_thermal_throttling_logging(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_thermal_throttling_logging()  argument
 1706 amdgpu_get_apu_thermal_cap(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_apu_thermal_cap()  argument
 1733 amdgpu_set_apu_thermal_cap(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_apu_thermal_cap()  argument
 1782 amdgpu_get_gpu_metrics(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_gpu_metrics()  argument
 1818 amdgpu_show_powershift_percent(struct device * dev,char * buf,enum amd_pp_sensors sensor) amdgpu_show_powershift_percent()  argument
 1858 amdgpu_get_smartshift_apu_power(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_smartshift_apu_power()  argument
 1874 amdgpu_get_smartshift_dgpu_power(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_smartshift_dgpu_power()  argument
 1890 amdgpu_get_smartshift_bias(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_get_smartshift_bias()  argument
 1901 amdgpu_set_smartshift_bias(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_set_smartshift_bias()  argument
 2241 amdgpu_hwmon_show_temp(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_temp()  argument
 2279 amdgpu_hwmon_show_temp_thresh(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_temp_thresh()  argument
 2295 amdgpu_hwmon_show_hotspot_temp_thresh(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_hotspot_temp_thresh()  argument
 2311 amdgpu_hwmon_show_mem_temp_thresh(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_mem_temp_thresh()  argument
 2327 amdgpu_hwmon_show_temp_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_temp_label()  argument
 2339 amdgpu_hwmon_show_temp_emergency(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_temp_emergency()  argument
 2365 amdgpu_hwmon_get_pwm1_enable(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_pwm1_enable()  argument
 2395 amdgpu_hwmon_set_pwm1_enable(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_hwmon_set_pwm1_enable()  argument
 2440 amdgpu_hwmon_get_pwm1_min(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_pwm1_min()  argument
 2447 amdgpu_hwmon_get_pwm1_max(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_pwm1_max()  argument
 2454 amdgpu_hwmon_set_pwm1(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_hwmon_set_pwm1()  argument
 2500 amdgpu_hwmon_get_pwm1(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_pwm1()  argument
 2530 amdgpu_hwmon_get_fan1_input(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_fan1_input()  argument
 2560 amdgpu_hwmon_get_fan1_min(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_fan1_min()  argument
 2577 amdgpu_hwmon_get_fan1_max(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_fan1_max()  argument
 2594 amdgpu_hwmon_get_fan1_target(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_fan1_target()  argument
 2624 amdgpu_hwmon_set_fan1_target(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_hwmon_set_fan1_target()  argument
 2669 amdgpu_hwmon_get_fan1_enable(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_get_fan1_enable()  argument
 2699 amdgpu_hwmon_set_fan1_enable(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_hwmon_set_fan1_enable()  argument
 2742 amdgpu_hwmon_show_vddgfx(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_vddgfx()  argument
 2759 amdgpu_hwmon_show_vddgfx_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_vddgfx_label()  argument
 2766 amdgpu_hwmon_show_vddnb(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_vddnb()  argument
 2787 amdgpu_hwmon_show_vddnb_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_vddnb_label()  argument
 2812 amdgpu_hwmon_show_power_avg(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_avg()  argument
 2825 amdgpu_hwmon_show_power_input(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_input()  argument
 2838 amdgpu_hwmon_show_power_cap_min(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_cap_min()  argument
 2846 amdgpu_hwmon_show_power_cap_generic(struct device * dev,struct device_attribute * attr,char * buf,enum pp_power_limit_level pp_limit_level) amdgpu_hwmon_show_power_cap_generic()  argument
 2883 amdgpu_hwmon_show_power_cap_max(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_cap_max()  argument
 2891 amdgpu_hwmon_show_power_cap(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_cap()  argument
 2899 amdgpu_hwmon_show_power_cap_default(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_cap_default()  argument
 2907 amdgpu_hwmon_show_power_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_power_label()  argument
 2922 amdgpu_hwmon_set_power_cap(struct device * dev,struct device_attribute * attr,const char * buf,size_t count) amdgpu_hwmon_set_power_cap()  argument
 2964 amdgpu_hwmon_show_sclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_sclk()  argument
 2981 amdgpu_hwmon_show_sclk_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_sclk_label()  argument
 2988 amdgpu_hwmon_show_mclk(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_mclk()  argument
 3005 amdgpu_hwmon_show_mclk_label(struct device * dev,struct device_attribute * attr,char * buf) amdgpu_hwmon_show_mclk_label()  argument
 3657 amdgpu_pm_prv_buffer_read(struct file * f,char __user * buf,size_t size,loff_t * pos) amdgpu_pm_prv_buffer_read()  argument
 [all...]
 | 
| /openbsd-src/sys/arch/sh/sh/ | 
| H A D | db_disasm.c | 150 disasm_branch(char *buf, size_t bufsiz, const char *opstr, vaddr_t addr) in disasm_branch()   argument 194 get_opcode(vaddr_t loc,char * buf,size_t bufsiz) get_opcode()  argument
 209 f_02(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_02()  argument
 251 f_03(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_03()  argument
 281 f_04(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_04()  argument
 306 f_08(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_08()  argument
 348 f_09(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_09()  argument
 373 f_0a(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_0a()  argument
 409 f_0b(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_0b()  argument
 432 f_0c(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_0c()  argument
 457 f_10(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_10()  argument
 470 f_20(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_20()  argument
 492 f_24(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_24()  argument
 517 f_28(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_28()  argument
 542 f_2c(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_2c()  argument
 567 f_30(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_30()  argument
 589 f_34(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_34()  argument
 614 f_38(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_38()  argument
 636 f_3c(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_3c()  argument
 661 f_40(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_40()  argument
 682 f_41(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_41()  argument
 703 f_42(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_42()  argument
 739 f_43(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_43()  argument
 781 f_44(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_44()  argument
 799 f_45(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_45()  argument
 820 f_46(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_46()  argument
 856 f_47(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_47()  argument
 898 f_48(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_48()  argument
 919 f_49(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_49()  argument
 940 f_4a(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_4a()  argument
 976 f_4b(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_4b()  argument
 997 f_4c(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_4c()  argument
 1007 f_4d(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_4d()  argument
 1017 f_4e(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_4e()  argument
 1059 f_4f(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_4f()  argument
 1069 f_50(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_50()  argument
 1082 f_60(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_60()  argument
 1107 f_64(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_64()  argument
 1132 f_68(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_68()  argument
 1157 f_6c(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_6c()  argument
 1182 f_70(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_70()  argument
 1193 f_80(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_80()  argument
 1269 f_90(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_90()  argument
 1281 f_a0(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_a0()  argument
 1294 f_b0(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_b0()  argument
 1307 f_c0(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_c0()  argument
 1389 f_d0(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_d0()  argument
 1401 f_e0(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_e0()  argument
 1412 f_f0(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_f0()  argument
 1437 f_f4(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_f4()  argument
 1462 f_f8(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_f8()  argument
 1487 f_fc(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_fc()  argument
 1498 f_fd(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_fd()  argument
 1548 f_fe(vaddr_t loc,u_int insn,char * buf,size_t bufsiz) f_fe()  argument
 [all...]
 | 
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/OpenBSD/ | 
| H A D | NativeRegisterContextOpenBSD.cpp | 29   void *buf = GetGPRBuffer();  in ReadGPR()  local37   void *buf = GetGPRBuffer();  in WriteGPR()  local
 45   void *buf = GetFPRBuffer();  in ReadFPR()  local
 53   void *buf = GetFPRBuffer();  in WriteFPR()  local
 60 Status NativeRegisterContextOpenBSD::DoReadGPR(void *buf) {  in DoReadGPR()
 69 Status NativeRegisterContextOpenBSD::DoWriteGPR(void *buf) {  in DoWriteGPR()
 78 Status NativeRegisterContextOpenBSD::DoReadFPR(void *buf) {  in DoReadFPR()
 87 Status NativeRegisterContextOpenBSD::DoWriteFPR(void *buf) {  in DoWriteFPR()
 
 | 
| /openbsd-src/sbin/isakmpd/ | 
| H A D | field.c | 63 field_debug_raw(u_int8_t *buf, size_t len, struct constant_map **maps)  in field_debug_raw()73 extract_val(u_int8_t *buf, size_t len, u_int32_t *val)  in extract_val()
 97 field_debug_num(u_int8_t *buf, size_t len, struct constant_map **maps)  in field_debug_num()
 114 field_debug_mask(u_int8_t *buf, size_t len, struct constant_map **maps)  in field_debug_mask()
 154 field_debug_ign(u_int8_t *buf, size_t len, struct constant_map **maps)  in field_debug_ign()
 164 field_debug_cst(u_int8_t *buf, size_t len, struct constant_map **maps)  in field_debug_cst()
 176 field_dump_field(struct field *f, u_int8_t *buf)  in field_dump_field()
 189 field_dump_payload(struct field *fields, u_int8_t *buf)  in field_dump_payload()
 199 field_get_num(struct field *f, u_int8_t *buf)  in field_get_num()
 210 field_set_num(struct field *f, u_int8_t *buf, u_int32_t val)  in field_set_num()
 [all …]
 
 | 
| /openbsd-src/sys/dev/pci/drm/i915/gt/ | 
| H A D | sysfs_engines.c | 27 name_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)  in name_show()36 class_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)  in class_show()
 45 inst_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)  in inst_show()
 54 mmio_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)  in mmio_show()
 71 static ssize_t repr_trim(char *buf, ssize_t len)  in repr_trim()
 84 	    unsigned long caps, char *buf, bool show_unknown)  in __caps_show()
 123 caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)  in caps_show()
 134 all_caps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)  in all_caps_show()
 144 	       const char *buf, size_t count)  in max_spin_store()
 181 max_spin_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)  in max_spin_show()
 [all …]
 
 | 
| /openbsd-src/usr.bin/lex/ | 
| H A D | buf.c | 59 buf_print_strings(struct Buf * buf, FILE * out)  in buf_print_strings()76 buf_prints(struct Buf * buf, const char *fmt, const char *s)  in buf_prints()
 98 buf_linedir(struct Buf * buf, const char *filename, int lineno)  in buf_linedir()
 139 buf_strnappend(struct Buf *buf, const char *str, int n)  in buf_strnappend()
 151 buf_strappend(struct Buf *buf, const char *str)  in buf_strappend()
 158 buf_strdefine(struct Buf *buf, const char *str, const char *def)  in buf_strdefine()
 176 buf_m4_define(struct Buf * buf, const char *def, const char *val)  in buf_m4_define()
 199 buf_m4_undefine(struct Buf * buf, const char *def)  in buf_m4_undefine()
 217 buf_init(struct Buf *buf, size_t elem_size)  in buf_init()
 227 buf_destroy(struct Buf *buf)  in buf_destroy()
 [all …]
 
 | 
| /openbsd-src/usr.bin/aucat/ | 
| H A D | abuf.c | 32 	buf->len = len; in abuf_log()   argument 43 abuf_init(struct abuf * buf,unsigned int len) abuf_init()  argument
 52 abuf_done(struct abuf * buf) abuf_done()  argument
 71 abuf_rgetblk(struct abuf * buf,int * rsize) abuf_rgetblk()  argument
 86 abuf_rdiscard(struct abuf * buf,int count) abuf_rdiscard()  argument
 106 abuf_wcommit(struct abuf * buf,int count) abuf_wcommit()  argument
 123 abuf_wgetblk(struct abuf * buf,int * rsize) abuf_wgetblk()  argument
 [all...]
 | 
| /openbsd-src/usr.bin/sndiod/ | 
| H A D | abuf.c | 45 	if (buf->used > 0) in abuf_init()   argument 34 abuf_log(struct abuf * buf) abuf_log()  argument
 54 abuf_done(struct abuf * buf) abuf_done()  argument
 73 abuf_rgetblk(struct abuf * buf,int * rsize) abuf_rgetblk()  argument
 88 abuf_rdiscard(struct abuf * buf,int count) abuf_rdiscard()  argument
 108 abuf_wcommit(struct abuf * buf,int count) abuf_wcommit()  argument
 125 abuf_wgetblk(struct abuf * buf,int * rsize) abuf_wgetblk()  argument
 [all...]
 | 
| /openbsd-src/sys/dev/ | 
| H A D | midivar.h | 43 #define MIDIBUF_END(buf)	(((buf)->start + (buf)->used) & MIDIBUF_MASK)  argument 44 #define MIDIBUF_USED(buf)	((buf)->used)  argument
 45 #define MIDIBUF_AVAIL(buf)	(MIDIBUF_SIZE - (buf)->used)  argument
 46 #define MIDIBUF_ISFULL(buf)	((bu  argument
 47 MIDIBUF_ISFULL(buf) global()  argument
 48 MIDIBUF_ISEMPTY(buf) global()  argument
 49 MIDIBUF_WRITE(buf,byte) global()  argument
 54 MIDIBUF_READ(buf,byte) global()  argument
 60 MIDIBUF_REMOVE(buf,count) global()  argument
 66 MIDIBUF_INIT(buf) global()  argument
 [all...]
 | 
| /openbsd-src/usr.sbin/ldpd/ | 
| H A D | logmsg.c | 37 	static char	 buf[NUM_LOGS][NI_MAXHOST];  in log_sockaddr()  local83 	static char	 buf[NUM_LOGS][INET6_ADDRSTRLEN];  in log_addr()  local
 108 	char		*buf;  in log_label()  local
 138 	static char buf[64];  in log_hello_src()  local
 157 	static char	buf[128];  in log_map()  local
 209 	static char	buf[64];  in log_fec()  local
 318 	static char buf[16];  in msg_name()  local
 353 	static char buf[16];  in status_code_name()  local
 441 	static char buf[64];  in pw_type_name()  local
 
 | 
| H A D | init.c | 35 	struct ibuf		*buf;  in send_init()  local62 recv_init(struct nbr *nbr, char *buf, uint16_t len)  in recv_init()
 225 	struct ibuf		*buf;  in send_capability()  local
 268 recv_capability(struct nbr *nbr, char *buf, uint16_t len)  in recv_capability()
 381 gen_init_prms_tlv(struct ibuf *buf, struct nbr *nbr)  in gen_init_prms_tlv()
 400 gen_cap_dynamic_tlv(struct ibuf *buf)  in gen_cap_dynamic_tlv()
 414 gen_cap_twcard_tlv(struct ibuf *buf, int enable)  in gen_cap_twcard_tlv()
 428 gen_cap_unotif_tlv(struct ibuf *buf, int enable)  in gen_cap_unotif_tlv()
 
 | 
| /openbsd-src/sbin/iked/ | 
| H A D | imsg_util.c | 42 	struct ibuf	*buf;  in ibuf_new()  local73 ibuf_length(struct ibuf *buf)  in ibuf_length()
 81 ibuf_getdata(struct ibuf *buf, size_t len)  in ibuf_getdata()
 92 ibuf_dup(struct ibuf *buf)  in ibuf_dup()
 102 	struct ibuf	*buf;  in ibuf_random()  local
 116 ibuf_setsize(struct ibuf *buf, size_t len)  in ibuf_setsize()
 
 | 
| /openbsd-src/usr.sbin/smtpd/ | 
| H A D | envelope.c | 69 	char		*buf, *field, *nextline;  in envelope_buffer_to_dict()  local205 ascii_load_uint8(uint8_t *dest, char *buf)  in ascii_load_uint8()
 216 ascii_load_uint16(uint16_t *dest, char *buf)  in ascii_load_uint16()
 227 ascii_load_uint32(uint32_t *dest, char *buf)  in ascii_load_uint32()
 238 ascii_load_time(time_t *dest, char *buf)  in ascii_load_time()
 249 ascii_load_type(enum delivery_type *dest, char *buf)  in ascii_load_type()
 263 ascii_load_string(char *dest, char *buf, size_t len)  in ascii_load_string()
 271 ascii_load_sockaddr(struct sockaddr_storage *ss, char *buf)  in ascii_load_sockaddr()
 305 ascii_load_mailaddr(struct mailaddr *dest, char *buf)  in ascii_load_mailaddr()
 313 ascii_load_flags(enum envelope_flags *dest, char *buf)  in ascii_load_flags()
 [all …]
 
 | 
| /openbsd-src/usr.sbin/eigrpd/ | 
| H A D | tlv.c | 32 gen_parameter_tlv(struct ibuf *buf, struct eigrp_iface *ei, int peerterm)  in gen_parameter_tlv()53 gen_sequence_tlv(struct ibuf *buf, struct seq_addr_head *seq_addr_list)  in gen_sequence_tlv()
 97 gen_sw_version_tlv(struct ibuf *buf)  in gen_sw_version_tlv()
 121 gen_mcast_seq_tlv(struct ibuf *buf, uint32_t seq)  in gen_mcast_seq_tlv()
 160 gen_route_tlv(struct ibuf *buf, struct rinfo *ri)  in gen_route_tlv()
 263 tlv_decode_parameter(struct tlv *tlv, char *buf)  in tlv_decode_parameter()
 276 tlv_decode_seq(int af, struct tlv *tlv, char *buf,  in tlv_decode_seq()
 332 tlv_decode_sw_version(struct tlv *tlv, char *buf)  in tlv_decode_sw_version()
 345 tlv_decode_mcast_seq(struct tlv *tlv, char *buf)  in tlv_decode_mcast_seq()
 358 tlv_decode_route(int af, struct tlv *tlv, char *buf, struct rinfo *ri)  in tlv_decode_route()
 
 | 
| /openbsd-src/lib/libcurses/trace/ | 
| H A D | visbuf.c | 112 _nc_visbuf2n(int bufnum, const char *buf, int len)  in _nc_visbuf2n()161 _nc_visbuf2(int bufnum, const char *buf)  in _nc_visbuf2()
 167 _nc_visbuf(const char *buf)  in _nc_visbuf()
 173 _nc_visbufn(const char *buf, int len)  in _nc_visbufn()
 195 _nc_viswbuf2n(int bufnum, const wchar_t *buf, int len)  in _nc_viswbuf2n()
 242 _nc_viswbuf2(int bufnum, const wchar_t *buf)  in _nc_viswbuf2()
 248 _nc_viswbuf(const wchar_t *buf)  in _nc_viswbuf()
 254 _nc_viswbufn(const wchar_t *buf, int len)  in _nc_viswbufn()
 261 _nc_viswibuf(const wint_t *buf)  in _nc_viswibuf()
 290 _nc_viscbuf2(int bufnum, const NCURSES_CH_T *buf, int len)  in _nc_viscbuf2()
 [all …]
 
 | 
| /openbsd-src/usr.sbin/tcpdump/ | 
| H A D | smb.h | 10 #define CVAL(buf,pos) (((unsigned char *)(buf))[pos])  argument11 #define PVAL(buf,pos) ((unsigned)CVAL(buf,pos))  argument
 12 #define SCVAL(buf,pos,val) (CVAL(buf,pos) = (val))  argument
 14 #define SVAL(buf,pos) (PVAL(buf,pos)|PVAL(buf,(pos)+1)<<8)  argument
 15 #define IVAL(buf,pos) (SVAL(buf,pos)|SVAL(buf,(pos)+2)<<16)  argument
 16 #define SSVALX(buf,pos,val) (CVAL(buf,pos)=(val)&0xFF,CVAL(buf,pos+1)=(val)>>8)  argument
 17 #define SIVALX(buf,pos,val) (SSVALX(buf,pos,val&0xFFFF),SSVALX(buf,pos+2,val>>16))  argument
 18 #define SVALS(buf,pos) ((int16)SVAL(buf,pos))  argument
 19 #define IVALS(buf,pos) ((int32)IVAL(buf,pos))  argument
 20 #define SSVAL(buf,pos,val) SSVALX((buf),(pos),((uint16)(val)))  argument
 [all …]
 
 | 
| /openbsd-src/gnu/usr.bin/cvs/src/ | 
| H A D | buffer.c | 35     struct buffer *buf;  variable54 buf_free (buf)  in buf_free()  argument
 84 buf_default_memory_error (buf)  in buf_default_memory_error()  argument
 141 buf_empty_p (buf)  in buf_empty_p()  argument
 159 buf_count_mem (buf)  in buf_count_mem()  argument
 175 buf_output (buf, data, len)  in buf_output()  argument
 230 buf_output0 (buf, string)  in buf_output0()  argument
 240 buf_append_char (buf, ch)  in buf_append_char()  argument
 267 buf_send_output (buf)  in buf_send_output()  argument
 330 buf_flush (buf, block)  in buf_flush()  argument
 [all …]
 
 | 
| /openbsd-src/gnu/lib/libstdc++/libstdc++/testsuite/27_io/ | 
| H A D | ostream_sentry.cc | 36 struct buf: std::streambuf  struct40   buf (std::ios *io): io_ (io) { }  in buf()  function
 54   buf b(0);  in test01()  argument
 
 | 
| /openbsd-src/gnu/usr.bin/binutils/gdb/ | 
| H A D | remote-sds.c | 157   unsigned char buf[200];  in sds_start_remote()  local244   char buf[PBUFSIZ];  in sds_detach()  local
 334   unsigned char buf[PBUFSIZ];  in sds_resume()  local
 351   unsigned char buf[PBUFSIZ];  in sds_interrupt()  local
 404   unsigned char buf[PBUFSIZ];  in sds_wait()  local
 453   unsigned char buf[PBUFSIZ];  in sds_fetch_registers()  local
 501   unsigned char *p, buf[PBUFSIZ];  in sds_store_registers()  local
 544   unsigned char buf[PBUFSIZ];  in sds_write_bytes()  local
 592   unsigned char buf[PBUFSIZ];  in sds_read_bytes()  local
 693 compute_checksum (int csum, char *buf, int len)  in compute_checksum()
 [all …]
 
 |