Lines Matching refs:buts_name

94 	char *buts_name;		/* name returned from bt kernel code */  member
184 char buts_name[32]; /* trace name */ member
602 if (dpp->buts_name) in dpp_free()
603 free(dpp->buts_name); in dpp_free()
856 static int net_send_header(int fd, int cpu, char *buts_name, int len) in net_send_header() argument
863 strncpy(hdr.buts_name, buts_name, sizeof(hdr.buts_name)); in net_send_header()
864 hdr.buts_name[sizeof(hdr.buts_name)-1] = '\0'; in net_send_header()
876 static void net_send_open_close(int fd, int cpu, char *buts_name, int len) in net_send_open_close() argument
880 net_send_header(fd, cpu, buts_name, len); in net_send_open_close()
884 static void net_send_open(int fd, int cpu, char *buts_name) in net_send_open() argument
886 net_send_open_close(fd, cpu, buts_name, 0); in net_send_open()
889 static void net_send_close(int fd, char *buts_name, int drops) in net_send_close() argument
898 net_send_open_close(fd, drops, buts_name, 1); in net_send_close()
902 static void ack_open_close(int fd, char *buts_name) in ack_open_close() argument
904 net_send_header(fd, 0, buts_name, 2); in ack_open_close()
914 net_send_close(fd, dpp->buts_name, dpp->drops); in net_send_drops()
1053 dpp->buts_name = strdup(buts.name); in setup_buts()
1084 dpp->buts_name); in get_drops()
1259 if (net_send_header(fd, tbp->cpu, dpp->buts_name, tbp->len)) in flush_subbuf_net()
1460 if (net_send_header(iop->ofd, tp->cpu, dpp->buts_name, iop->ready)) in net_sendfile_data()
1509 iop->dpp->buts_name, cpu); in fill_ofname()
1587 net_send_close(iop->ofd, dpp->buts_name, dpp->drops); in close_ios()
1617 debugfs_path, dpp->buts_name, tp->cpu); in open_ios()
1637 net_send_open(iop->ofd, tp->cpu, dpp->buts_name); in open_ios()
1646 net_send_open(cl_fds[tp->cpu], tp->cpu, dpp->buts_name); in open_ios()
1964 dpp->ch->hostname, dpp->buts_name); in show_stats()
1969 fprintf(ofp, "=== %s ===\n", dpp->buts_name); in show_stats()
2307 dpp->buts_name = strdup(bnh->buts_name); in nc_add_dpp()
2308 dpp->path = strdup(bnh->buts_name); in nc_add_dpp()
2354 if (!strcmp(dpp->buts_name, bnh->buts_name)) in nc_find_dpp()
2439 ack_open_close(nc->fd, dpp->buts_name); in net_client_data()
2447 ack_open_close(nc->fd, dpp->buts_name); in net_client_data()