Lines Matching refs:buf
170 void proc_name_kdp(task_t t, char * buf, int size);
640 proc_name(int pid, char * buf, int size)
645 strlcpy(buf, &p->p_comm[0], size);
651 proc_name_kdp(task_t t, char * buf, int size)
656 strlcpy(buf, &p->p_comm[0], size);
666 proc_selfname(char * buf, int size)
671 strlcpy(buf, &p->p_comm[0], size);
1745 char * buf;
1856 buf = (char *)kalloc(usize);
1857 if (buf == NULL) {
1861 bzero(buf, usize);
1867 error = vn_getpath(tvp, buf, &len);
1870 error = copyout(buf, uaddr, usize);
1872 kfree(buf, usize);