Searched refs:tbp (Results 1 – 2 of 2) sorted by relevance
1119 struct trace_buf *tbp; in alloc_trace_buf() local1121 tbp = malloc(sizeof(*tbp) + bufsize); in alloc_trace_buf()1122 INIT_LIST_HEAD(&tbp->head); in alloc_trace_buf()1123 tbp->len = 0; in alloc_trace_buf()1124 tbp->buf = (void *)(tbp + 1); in alloc_trace_buf()1125 tbp->cpu = cpu; in alloc_trace_buf()1126 tbp->dpp = NULL; /* Will be set when tbp is added */ in alloc_trace_buf()1128 return tbp; in alloc_trace_buf()1172 struct trace_buf *tbp = *tbpp; in add_trace_buf() local1175 tbp->dpp = dpp; in add_trace_buf()[all …]
186 struct nlattr *tbp[NDTPA_MAX + 1]; in neightbl_msg_parser() local189 err = nla_parse_nested(tbp, NDTPA_MAX, tb[NDTA_PARMS], NULL); in neightbl_msg_parser()194 if (tbp[NDTPA_ ##name]) { \ in neightbl_msg_parser()195 p->ntp_ ##var = nla_get_u32(tbp[NDTPA_ ##name]); \ in neightbl_msg_parser()