Searched refs:nl (Results 1 – 5 of 5) sorted by relevance
/tools/scripts/ |
D | utilities.mak | 8 # nl-escape 10 # Usage: escape = $(call nl-escape[,escape]) 16 nl-escape = $(if $(1),$(1),m822df3020w6a44id34bt574ctac44eb9f4n) 18 # escape-nl 20 # Usage: escaped-text = $(call escape-nl,text[,escape]) 30 # $(call unescape-nl...) 32 escape-nl = $(subst $(newline),$(call nl-escape,$(2)),$(1)) 34 # unescape-nl 36 # Usage: text = $(call unescape-nl,escaped-text[,escape]) 38 # See escape-nl. [all …]
|
/tools/testing/selftests/netfilter/ |
D | nf-queue.c | 211 struct mnl_socket *nl; in open_queue() local 216 nl = mnl_socket_open(NETLINK_NETFILTER); in open_queue() 217 if (nl == NULL) { in open_queue() 222 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) { in open_queue() 230 if (mnl_socket_sendto(nl, nlh, nlh->nlmsg_len) < 0) { in open_queue() 242 if (mnl_socket_sendto(nl, nlh, nlh->nlmsg_len) < 0) { in open_queue() 249 if (opts.timeout && setsockopt(mnl_socket_get_fd(nl), in open_queue() 256 return nl; in open_queue() 273 struct mnl_socket *nl; in mainloop() local 285 nl = open_queue(); in mainloop() [all …]
|
/tools/thermal/tmon/ |
D | sysfs.c | 198 static int find_tzone_cdev(struct dirent *nl, char *tz_name, in find_tzone_cdev() argument 207 if (nl->d_type == DT_LNK) { in find_tzone_cdev() 208 syslog(LOG_DEBUG, "TZ%d: cdev: %s cid %d\n", tz_id, nl->d_name, in find_tzone_cdev() 218 tz_name, nl->d_name); in find_tzone_cdev() 232 "%s%s", nl->d_name, "_trip_point"); in find_tzone_cdev()
|
/tools/perf/util/ |
D | stat-display.c | 410 new_line_t nl; in printout() local 413 nl = new_line_metric; in printout() 419 nl = new_line_std; in printout() 432 nl = new_line_csv; in printout() 478 out.new_line = nl; in printout()
|
D | synthetic-events.c | 106 char *nl; in perf_event__get_comm_ids() local 109 nl = strchr(name, '\n'); in perf_event__get_comm_ids() 110 if (nl) in perf_event__get_comm_ids() 111 *nl = '\0'; in perf_event__get_comm_ids()
|