Lines Matching defs:ts
333 rollback_table_values(struct tableop_state *ts)
341 ch = ts->ch;
346 get_value_ptrs(ch, ts->tc, ts->vshared, &pval, &vi);
348 for (i = 0; i < ts->count; i++) {
349 ptei = &ts->tei[i];
365 alloc_table_vidx(struct ip_fw_chain *ch, struct tableop_state *ts,
381 ts->opstate.func(ts->tc, &ts->opstate);
383 return (error); /* ts->modified should be set, we will restart */
386 vlimit = ts->ta->vlimit;
398 if (ts->vshared != 0) {
476 ipfw_link_table_values(struct ip_fw_chain *ch, struct tableop_state *ts)
492 get_value_ptrs(ch, ts->tc, ts->vshared, &pval, &vi);
496 vlimit = ts->ta->vlimit;
498 tc = ts->tc;
499 tei = ts->tei;
500 count = ts->count;
504 mask_table_value(ptei->pvalue, &tval, ts->vmask);
519 if (ts->count == found) {
520 /* We've found all values , no need ts create new ones */
526 * state ts the list ts be able ts rollback if necessary.
528 add_toperation_state(ch, ts);
552 del_toperation_state(ch, ts);
553 if (ts->modified != 0) {
570 mask_table_value(ptei->pvalue, &tval, ts->vmask);
580 error = alloc_table_vidx(ch, ts, vi, &vidx);
582 ts->opstate.func(ts->tc, &ts->opstate);
586 if (ts->modified != 0)