/netbsd/sys/ddb/ |
H A D | db_proc.c | 132 char db_nbuf[MAXCOMLEN + 1], wbuf[MAXCOMLEN + 1]; in db_show_all_procs() 192 MAXCOMLEN, db_nbuf); in db_show_all_procs() 193 db_nbuf[MAXCOMLEN] = '\0'; in db_show_all_procs() 209 wbuf[MAXCOMLEN] = '\0'; in db_show_all_procs() 231 wbuf[MAXCOMLEN] = '\0'; in db_show_all_procs() 252 wbuf[MAXCOMLEN] = '\0'; in db_show_all_procs() 262 db_nbuf[MAXCOMLEN] = '\0'; in db_show_all_procs() 289 char db_nbuf[MAXCOMLEN + 1], wbuf[MAXCOMLEN + 1]; in db_show_proc() 340 db_nbuf[MAXCOMLEN] = '\0'; in db_show_proc() 355 db_read_string(l.l_wmesg, MAXCOMLEN, wbuf); in db_show_proc() [all …]
|
/netbsd/external/bsd/kyua-testers/dist/ |
H A D | stacktrace.c | 80 #if !defined(MAXCOMLEN) 81 # define MAXCOMLEN 0 macro 251 if (candidate == NULL && MAXCOMLEN > 0) { in kyua_stacktrace_find_core() 252 char truncated[MAXCOMLEN + 1]; in kyua_stacktrace_find_core()
|
/netbsd/sys/kern/ |
H A D | sys_lwp.c | 673 name = kmem_alloc(MAXCOMLEN, KM_SLEEP); in sys__lwp_setname() 674 error = copyinstr(SCARG(uap, name), name, MAXCOMLEN, NULL); in sys__lwp_setname() 678 name[MAXCOMLEN - 1] = '\0'; in sys__lwp_setname() 681 kmem_free(name, MAXCOMLEN); in sys__lwp_setname() 689 kmem_free(name, MAXCOMLEN); in sys__lwp_setname() 699 kmem_free(oname, MAXCOMLEN); in sys__lwp_setname() 713 char name[MAXCOMLEN]; in sys__lwp_getname()
|
H A D | kern_kthread.c | 92 l->l_name = kmem_alloc(MAXCOMLEN, KM_SLEEP); in kthread_create() 94 vsnprintf(l->l_name, MAXCOMLEN, fmt, ap); in kthread_create()
|
/netbsd/sys/sys/ |
H A D | core.h | 78 char c_name[MAXCOMLEN+1]; /* Copy of p->p_comm */ 101 char c_name[MAXCOMLEN+1]; /* Copy of p->p_comm */
|
H A D | threadpool.h | 59 char job_name[MAXCOMLEN];
|
/netbsd/external/apache2/mDNSResponder/dist/mDNSShared/ |
H A D | uds_daemon.h | 85 #if (!defined(MAXCOMLEN)) 86 #define MAXCOMLEN 16 macro 96 char pid_name[MAXCOMLEN]; // Client's process name
|
/netbsd/sys/rump/librump/rumpkern/ |
H A D | threads.c | 141 char thrstore[MAXCOMLEN]; in kthread_create() 207 l->l_name = kmem_alloc(MAXCOMLEN, KM_SLEEP); in kthread_create() 208 strlcpy(l->l_name, thrname, MAXCOMLEN); in kthread_create()
|
/netbsd/external/gpl3/gdb/dist/bfd/ |
H A D | osf-core.c | 44 char cmd[MAXCOMLEN + 1]; 95 strncpy (core_command (abfd), core_header.name, MAXCOMLEN + 1); in osf_core_core_file_p()
|
H A D | hppabsd-core.c | 59 char cmd[MAXCOMLEN + 1]; 182 strncpy (core_command (abfd), u.u_comm, MAXCOMLEN + 1); in hppabsd_core_core_file_p()
|
H A D | hpux-core.c | 96 char cmd[MAXCOMLEN + 1]; 194 strncpy (core_command (abfd), proc_exec.cmd, MAXCOMLEN + 1); in hpux_core_core_file_p()
|
/netbsd/external/gpl3/binutils.old/dist/bfd/ |
H A D | osf-core.c | 44 char cmd[MAXCOMLEN + 1]; 95 strncpy (core_command (abfd), core_header.name, MAXCOMLEN + 1); in osf_core_core_file_p()
|
H A D | hppabsd-core.c | 59 char cmd[MAXCOMLEN + 1]; 182 strncpy (core_command (abfd), u.u_comm, MAXCOMLEN + 1); in hppabsd_core_core_file_p()
|
H A D | hpux-core.c | 96 char cmd[MAXCOMLEN + 1]; 194 strncpy (core_command (abfd), proc_exec.cmd, MAXCOMLEN + 1); in hpux_core_core_file_p()
|
/netbsd/external/gpl3/binutils/dist/bfd/ |
H A D | osf-core.c | 44 char cmd[MAXCOMLEN + 1]; 95 strncpy (core_command (abfd), core_header.name, MAXCOMLEN + 1); in osf_core_core_file_p()
|
H A D | hppabsd-core.c | 59 char cmd[MAXCOMLEN + 1]; 182 strncpy (core_command (abfd), u.u_comm, MAXCOMLEN + 1); in hppabsd_core_core_file_p()
|
H A D | hpux-core.c | 84 char cmd[MAXCOMLEN + 1]; 182 strncpy (core_command (abfd), proc_exec.cmd, MAXCOMLEN + 1); in hpux_core_core_file_p()
|
/netbsd/external/gpl3/gdb.old/dist/bfd/ |
H A D | osf-core.c | 44 char cmd[MAXCOMLEN + 1]; 95 strncpy (core_command (abfd), core_header.name, MAXCOMLEN + 1); in osf_core_core_file_p()
|
H A D | hppabsd-core.c | 59 char cmd[MAXCOMLEN + 1]; 182 strncpy (core_command (abfd), u.u_comm, MAXCOMLEN + 1); in hppabsd_core_core_file_p()
|
H A D | hpux-core.c | 96 char cmd[MAXCOMLEN + 1]; 194 strncpy (core_command (abfd), proc_exec.cmd, MAXCOMLEN + 1); in hpux_core_core_file_p()
|
/netbsd/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | trim_map.c | 570 name = kmem_alloc(MAXCOMLEN, KM_SLEEP); in trim_thread() 571 snprintf(name, MAXCOMLEN, "trim %s", spa_name(spa)); in trim_thread() 572 name[MAXCOMLEN - 1] = 0; in trim_thread() 580 kmem_free(oname, MAXCOMLEN); in trim_thread()
|
/netbsd/sys/miscfs/procfs/ |
H A D | procfs_status.c | 141 memcpy(ps, p->p_comm, MAXCOMLEN); in procfs_status_netbsd() 142 ps[MAXCOMLEN] = '\0'; in procfs_status_netbsd()
|
/netbsd/sys/external/bsd/drm2/include/linux/ |
H A D | sched.h | 52 #define TASK_COMM_LEN MAXCOMLEN
|
/netbsd/usr.sbin/sa/ |
H A D | extern.h | 44 char ci_comm[MAXCOMLEN+2]; /* command name (+ '*') */
|
/netbsd/external/apache2/mDNSResponder/dist/unittests/ |
H A D | unittest_common.h | 27 static char client_req_pid_name[MAXCOMLEN] = "mDNSUnitTest";
|