Home
last modified time | relevance | path

Searched refs:comm_len (Results 1 – 2 of 2) sorted by relevance

/busybox-1.35.0/libbb/
Dprocps.c578 int comm_len; in read_cmdline() local
599 comm_len = strlen(comm); in read_cmdline()
606 if (strncmp(base, comm, comm_len) != 0) { in read_cmdline()
607 comm_len += 3; in read_cmdline()
608 if (col > comm_len) in read_cmdline()
609 memmove(buf + comm_len, buf, col - comm_len); in read_cmdline()
611 if (col <= comm_len) in read_cmdline()
613 buf[comm_len - 1] = ' '; in read_cmdline()
/busybox-1.35.0/procps/
Dpstree.c247 int lvl, i, add, offset, count, comm_len, first; in dump_tree() local
280 comm_len = out_args(current->comm); in dump_tree()
282 comm_len += sprintf(tmp, "(%d)", (int)current->pid); in dump_tree()
295 G.width[level] = comm_len + G.cur_x - offset + add; in dump_tree()