Home
last modified time | relevance | path

Searched refs:MAXCOMLEN (Results 1 – 25 of 59) sorted by relevance

123

/netbsd/sys/ddb/
H A Ddb_proc.c132 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 Dstacktrace.c80 #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 Dsys_lwp.c673 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 Dkern_kthread.c92 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 Dcore.h78 char c_name[MAXCOMLEN+1]; /* Copy of p->p_comm */
101 char c_name[MAXCOMLEN+1]; /* Copy of p->p_comm */
H A Dthreadpool.h59 char job_name[MAXCOMLEN];
/netbsd/external/apache2/mDNSResponder/dist/mDNSShared/
H A Duds_daemon.h85 #if (!defined(MAXCOMLEN))
86 #define MAXCOMLEN 16 macro
96 char pid_name[MAXCOMLEN]; // Client's process name
/netbsd/sys/rump/librump/rumpkern/
H A Dthreads.c141 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 Dosf-core.c44 char cmd[MAXCOMLEN + 1];
95 strncpy (core_command (abfd), core_header.name, MAXCOMLEN + 1); in osf_core_core_file_p()
H A Dhppabsd-core.c59 char cmd[MAXCOMLEN + 1];
182 strncpy (core_command (abfd), u.u_comm, MAXCOMLEN + 1); in hppabsd_core_core_file_p()
H A Dhpux-core.c96 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 Dosf-core.c44 char cmd[MAXCOMLEN + 1];
95 strncpy (core_command (abfd), core_header.name, MAXCOMLEN + 1); in osf_core_core_file_p()
H A Dhppabsd-core.c59 char cmd[MAXCOMLEN + 1];
182 strncpy (core_command (abfd), u.u_comm, MAXCOMLEN + 1); in hppabsd_core_core_file_p()
H A Dhpux-core.c96 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 Dosf-core.c44 char cmd[MAXCOMLEN + 1];
95 strncpy (core_command (abfd), core_header.name, MAXCOMLEN + 1); in osf_core_core_file_p()
H A Dhppabsd-core.c59 char cmd[MAXCOMLEN + 1];
182 strncpy (core_command (abfd), u.u_comm, MAXCOMLEN + 1); in hppabsd_core_core_file_p()
H A Dhpux-core.c84 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 Dosf-core.c44 char cmd[MAXCOMLEN + 1];
95 strncpy (core_command (abfd), core_header.name, MAXCOMLEN + 1); in osf_core_core_file_p()
H A Dhppabsd-core.c59 char cmd[MAXCOMLEN + 1];
182 strncpy (core_command (abfd), u.u_comm, MAXCOMLEN + 1); in hppabsd_core_core_file_p()
H A Dhpux-core.c96 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 Dtrim_map.c570 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 Dprocfs_status.c141 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 Dsched.h52 #define TASK_COMM_LEN MAXCOMLEN
/netbsd/usr.sbin/sa/
H A Dextern.h44 char ci_comm[MAXCOMLEN+2]; /* command name (+ '*') */
/netbsd/external/apache2/mDNSResponder/dist/unittests/
H A Dunittest_common.h27 static char client_req_pid_name[MAXCOMLEN] = "mDNSUnitTest";

123