/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 980511-1.c | 16 int sys_ustat(dev_t dev, struct ustat * ubuf) argument
|
/openbsd-current/libexec/ftpd/ |
H A D | logutmp.c | 61 struct utmp ubuf; local 82 if (read(fd, &ubuf, sizeof(struct utmp)) == 84 if (!ubuf.ut_name[0]) {
|
/openbsd-current/sys/dev/pci/drm/i915/ |
H A D | i915_debugfs_params.c | 50 const char __user *ubuf, size_t len, 57 ret = kstrtoint_from_user(ubuf, len, 0, value); 62 ret = kstrtobool_from_user(ubuf, len, &b); 103 const char __user *ubuf, size_t len, 112 ret = kstrtouint_from_user(ubuf, len, 0, value); 117 ret = kstrtobool_from_user(ubuf, len, &b); 166 const char __user *ubuf, size_t len, 174 new = strndup_user(ubuf, PAGE_SIZE); 49 i915_param_int_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp) argument 102 i915_param_uint_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp) argument 165 i915_param_charp_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp) argument
|
H A D | i915_debugfs.c | 301 static ssize_t gpu_state_read(struct file *file, char __user *ubuf, argument 321 if (!copy_to_user(ubuf, buf, ret)) 364 const char __user *ubuf, 363 i915_error_state_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
|
/openbsd-current/libexec/talkd/ |
H A D | process.c | 191 struct utmp ubuf, ubuf1; local 207 while (fread((char *) &ubuf, sizeof(ubuf), 1, fp) == 1) 208 if (SCMPN(ubuf.ut_name, name) == 0) { 213 memcpy(line, ubuf.ut_line, UT_LINESIZE); 224 ubuf1 = ubuf; 227 } else if (SCMPN(ubuf.ut_line, tty) == 0) {
|
/openbsd-current/sys/dev/pci/drm/i915/display/ |
H A D | intel_wm.c | 290 static ssize_t wm_latency_write(struct file *file, const char __user *ubuf, argument 303 if (copy_from_user(tmp, ubuf, len)) 324 static ssize_t pri_wm_latency_write(struct file *file, const char __user *ubuf, argument 336 return wm_latency_write(file, ubuf, len, offp, latencies); 339 static ssize_t spr_wm_latency_write(struct file *file, const char __user *ubuf, argument 351 return wm_latency_write(file, ubuf, len, offp, latencies); 354 static ssize_t cur_wm_latency_write(struct file *file, const char __user *ubuf, argument 366 return wm_latency_write(file, ubuf, len, offp, latencies);
|
H A D | intel_display_debugfs.c | 524 const char __user *ubuf, 802 const char __user *ubuf, 818 input_buffer = memdup_user_nul(ubuf, len); 995 const char __user *ubuf, 1003 ret = kstrtobool_from_user(ubuf, cnt, &reset); 1257 const char __user *ubuf, 1274 ret = kstrtobool_from_user(ubuf, len, &dsc_enable); 1333 const char __user *ubuf, 1343 ret = kstrtoint_from_user(ubuf, len, 0, &dsc_bpc); 1400 const char __user *ubuf, 523 crtc_updates_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp) argument 801 i915_displayport_test_active_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp) argument 994 i915_fifo_underrun_reset_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument 1256 i915_dsc_fec_support_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp) argument 1332 i915_dsc_bpc_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp) argument 1399 i915_dsc_output_format_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp) argument [all...] |
H A D | intel_hotplug.c | 827 const char __user *ubuf, size_t len, 841 if (copy_from_user(tmp, ubuf, len)) 908 const char __user *ubuf, 922 if (copy_from_user(tmp, ubuf, len)) 826 i915_hpd_storm_ctl_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp) argument 907 i915_hpd_short_storm_ctl_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp) argument
|
H A D | skl_watermark.c | 3659 const char __user *ubuf, 3668 ret = kstrtobool_from_user(ubuf, len, &enable); 3658 skl_watermark_ipc_status_write(struct file *file, const char __user *ubuf, size_t len, loff_t *offp) argument
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/ |
H A D | asm-5.c | 17 extern int xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf);
|
/openbsd-current/usr.bin/ssh/ |
H A D | sftp-common.c | 217 char buf[1024], lc[8], mode[11+1], tbuf[12+1], ubuf[11+1], gbuf[11+1]; local 224 snprintf(ubuf, sizeof ubuf, "%u", (u_int)st->st_uid); 225 user = ubuf;
|
/openbsd-current/sys/kern/ |
H A D | sysv_msg.c | 568 msg_copyin(struct msg *msg, const char *ubuf, size_t len, struct proc *p) argument 577 if ((error = copyin(ubuf, &msg->msg_type, sizeof(long)))) { 587 ubuf += sizeof(long); 607 if ((error = copyin(ubuf, mtod(m, void *), m->m_len))) { 611 ubuf += m->m_len; 618 msg_copyout(struct msg *msg, char *ubuf, size_t *len, struct proc *p) argument 632 if ((error = copyout(&msg->msg_type, ubuf, sizeof(long)))) 635 ubuf += sizeof(long); 639 if ((error = copyout(mtod(m, void *), ubuf, m->m_len))) 641 ubuf [all...] |
/openbsd-current/usr.bin/compress/ |
H A D | zipopen.c | 318 Bytef *ubuf = buf; local 321 s->z_stream.next_out = ubuf; 357 s->z_crc = crc32(s->z_crc, ubuf, 358 (uInt)(s->z_stream.next_out - ubuf)); 368 s->z_crc = crc32(s->z_crc, ubuf, 369 (uInt)(s->z_stream.next_out - ubuf));
|
/openbsd-current/sys/dev/pci/drm/i915/gt/uc/ |
H A D | intel_guc_log_debugfs.c | 124 const char __user *ubuf, 132 ret = kstrtoint_from_user(ubuf, cnt, 0, &val); 123 guc_log_relay_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) argument
|
/openbsd-current/sys/arch/alpha/alpha/ |
H A D | trap.c | 153 char ubuf[64]; local 176 snprintf(ubuf, sizeof ubuf, "type %lx", entry); 177 entryname = (const char *) ubuf;
|
/openbsd-current/sys/dev/pci/drm/ |
H A D | drm_debugfs.c | 426 static ssize_t connector_write(struct file *file, const char __user *ubuf, argument 436 if (copy_from_user(buf, ubuf, len)) 467 static ssize_t edid_write(struct file *file, const char __user *ubuf, argument 475 buf = memdup_user(ubuf, len);
|
H A D | drm_debugfs_crc.c | 120 static ssize_t crc_control_write(struct file *file, const char __user *ubuf, argument 139 source = memdup_user_nul(ubuf, len);
|
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_syscalls.inc | 1004 PRE_SYSCALL(ustat)(long dev, void *ubuf) {} 1006 POST_SYSCALL(ustat)(long res, long dev, void *ubuf) { 1008 if (ubuf) 1009 POST_WRITE(ubuf, struct_ustat_sz);
|
/openbsd-current/usr.bin/mandoc/ |
H A D | roff.c | 1359 char ubuf[24]; /* buffer to print a number */ local 1523 ubuf[0] = iendarg > iarg ? '1' : '0'; 1524 ubuf[1] = '\0'; 1525 res = ubuf; 1529 ubuf[0] = iendarg > iarg && iend > iendarg && 1533 ubuf[1] = '\0'; 1534 res = ubuf; 1546 (void)snprintf(ubuf, sizeof(ubuf), "%d", 1550 ubuf[ [all...] |
/openbsd-current/sys/net/ |
H A D | fq_codel.c | 799 fqcodel_pf_qstats(struct pf_queuespec *qs, void *ubuf, int *nbytes) argument 842 if ((error = copyout((caddr_t)&stats, ubuf, sizeof(stats))) != 0)
|
H A D | if_aggr.c | 944 caddr_t ubuf = (caddr_t)ra->ra_port; local 1026 error = copyout(&rp, ubuf, sizeof(rp)); 1030 ubuf += sizeof(rp);
|
H A D | hfsc.c | 487 hfsc_pf_qstats(struct pf_queuespec *q, void *ubuf, int *nbytes) argument 513 if ((error = copyout((caddr_t)&stats, ubuf, sizeof(stats))) != 0)
|
/openbsd-current/sbin/isakmpd/ |
H A D | x509.c | 1154 unsigned char *ubuf; local 1200 ubuf = (*id)[0] + ISAKMP_ID_DATA_OFF - ISAKMP_GEN_SZ; 1201 i2d_X509_NAME(subject, &ubuf);
|
/openbsd-current/gnu/llvm/compiler-rt/include/sanitizer/ |
H A D | linux_syscall_hooks.h | 519 #define __sanitizer_syscall_pre_ustat(dev, ubuf) \ 520 __sanitizer_syscall_pre_impl_ustat((long)(dev), (long)(ubuf)) 521 #define __sanitizer_syscall_post_ustat(res, dev, ubuf) \ 522 __sanitizer_syscall_post_impl_ustat(res, (long)(dev), (long)(ubuf)) 2308 void __sanitizer_syscall_pre_impl_ustat(long dev, long ubuf); 2309 void __sanitizer_syscall_post_impl_ustat(long res, long dev, long ubuf);
|
/openbsd-current/gnu/llvm/lldb/source/Target/ |
H A D | Process.cpp | 2151 const uint8_t *ubuf = (const uint8_t *)buf; 2154 bp_sites_in_range.ForEach([this, addr, size, &bytes_written, &ubuf, 2181 WriteMemoryPrivate(curr_addr, ubuf + bytes_written, curr_size, error); 2193 ::memcpy(bp->GetSavedOpcodeBytes() + opcode_offset, ubuf + bytes_written, 2201 WriteMemoryPrivate(addr + bytes_written, ubuf + bytes_written,
|