Lines Matching defs:node
159 vs_svc_node_t *node;
172 node = &(vs_svc_nodes[req->vsr_idx]);
175 if ((node->vsn_tid != 0) || (req->vsr_idx > vs_svc_max_node)) {
180 node->vsn_req = *req;
182 if (pthread_create(&tid, NULL, vs_svc_async_scan, (void *)node) != 0) {
187 node->vsn_tid = tid;
203 vs_svc_node_t *node = (vs_svc_node_t *)arg;
204 vs_scan_req_t *scan_req = &(node->vsn_req);
209 scan_rsp.vsr_result = vs_svc_scan_file(node, &scan_rsp.vsr_scanstamp);
211 /* clear node and send async response to kernel */
213 (void) memset(node, 0, sizeof (vs_svc_node_t));
241 vs_svc_scan_file(vs_svc_node_t *node, vs_scanstamp_t *scanstamp)
247 vs_scan_req_t *req = &(node->vsn_req);
248 vs_eng_ctx_t *eng = &(node->vsn_eng);