Home
last modified time | relevance | path

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

/Linux-v4.19/samples/pktgen/
Dfunctions.sh63 local proc_ctrl=${PROC_DIR}/$proc_file
64 if [[ ! -e "$proc_ctrl" ]]; then
65 err 3 "proc file:$proc_ctrl does not exists (dev added to thread?)"
67 if [[ ! -w "$proc_ctrl" ]]; then
68 err 4 "proc file:$proc_ctrl not writable, not root?!"
73 echo "cmd: $@ > $proc_ctrl"
76 echo "$@" > "$proc_ctrl"
79 result=$(grep "Result: OK:" $proc_ctrl)
82 grep "Result:" $proc_ctrl >&2
85 err 5 "Write error($status) occurred cmd: \"$@ > $proc_ctrl\""
/Linux-v4.19/drivers/isdn/hysdn/
Dhysdn_proclog.c35 void *proc_ctrl; /* pointer to own control procdata structure */ member
119 ib->proc_ctrl = pd; /* point to own control structure */ in put_log_buffer()
254 pd = (struct procdata *) inf->proc_ctrl; /* still entries there */ in hysdn_log_close()