Lines Matching defs:ta_buf

110  *     void *ta_buf);
116 * Buffer ta_buf of size ta->ta_buf_sz may be used to store
123 * void *ta_buf);
126 * Buffer ta_buf of size ta->ta_buf_sz may be used to store
127 * allocated state. Caller should use on-stack ta_buf allocation
134 * struct tentry_info *tei, void *ta_buf, uint32_t *pnum);
137 * Insert new entry using previously-allocated state in @ta_buf.
154 * struct tentry_info *tei, void *ta_buf, uint32_t *pnum);
157 * Delete entry using previously set up in @ta_buf.
167 * struct tentry_info *tei, void *ta_buf);
174 * * Caller is required to handle empty @ta_buf correctly.
199 * typedef int (ta_prepare_mod)(void *ta_buf, uint64_t *pflags);
203 * should use `struct mod_item` to store new state in @ta_buf.
204 * Up to TA_BUF_SZ (128 bytes) can be stored in @ta_buf.
210 * void *ta_buf, uint64_t *pflags);
220 * void *ta_buf, uint64_t pflags);
224 * * Caller should save old pointers to @ta_buf storage.
229 * typedef void (ta_flush_mod)(void *ta_buf);
398 void *ta_buf);
400 struct tentry_info *tei, void *ta_buf, uint32_t *pnum);
402 void *ta_buf);
404 struct tentry_info *tei, void *ta_buf, uint32_t *pnum);
406 void *ta_buf);
661 void *ta_buf)
671 tb = (struct ta_buf_radix *)ta_buf;
715 void *ta_buf, uint32_t *pnum)
724 tb = (struct ta_buf_radix *)ta_buf;
778 void *ta_buf)
784 tb = (struct ta_buf_radix *)ta_buf;
816 void *ta_buf, uint32_t *pnum)
824 tb = (struct ta_buf_radix *)ta_buf;
855 void *ta_buf)
859 tb = (struct ta_buf_radix *)ta_buf;
985 void *ta_buf);
987 struct tentry_info *tei, void *ta_buf, uint32_t *pnum);
989 void *ta_buf);
991 struct tentry_info *tei, void *ta_buf, uint32_t *pnum);
993 void *ta_buf);
996 static int ta_prepare_mod_chash(void *ta_buf, uint64_t *pflags);
997 static int ta_fill_mod_chash(void *ta_state, struct table_info *ti, void *ta_buf,
999 static void ta_modify_chash(void *ta_state, struct table_info *ti, void *ta_buf,
1001 static void ta_flush_mod_chash(void *ta_buf);
1536 void *ta_buf)
1542 tb = (struct ta_buf_chash *)ta_buf;
1558 void *ta_buf, uint32_t *pnum)
1568 tb = (struct ta_buf_chash *)ta_buf;
1633 void *ta_buf)
1637 tb = (struct ta_buf_chash *)ta_buf;
1644 void *ta_buf, uint32_t *pnum)
1653 tb = (struct ta_buf_chash *)ta_buf;
1696 void *ta_buf)
1700 tb = (struct ta_buf_chash *)ta_buf;
1743 ta_prepare_mod_chash(void *ta_buf, uint64_t *pflags)
1749 mi = (struct mod_item *)ta_buf;
1777 ta_fill_mod_chash(void *ta_state, struct table_info *ti, void *ta_buf,
1789 ta_modify_chash(void *ta_state, struct table_info *ti, void *ta_buf,
1800 mi = (struct mod_item *)ta_buf;
1855 ta_flush_mod_chash(void *ta_buf)
1859 mi = (struct mod_item *)ta_buf;
1953 void *ta_buf);
1955 struct tentry_info *tei, void *ta_buf, uint32_t *pnum);
1957 void *ta_buf);
1959 struct tentry_info *tei, void *ta_buf, uint32_t *pnum);
1961 struct tentry_info *tei, void *ta_buf);
1965 static int ta_prepare_mod_ifidx(void *ta_buf, uint64_t *pflags);
1967 void *ta_buf, uint64_t *pflags);
1968 static void ta_modify_ifidx(void *ta_state, struct table_info *ti, void *ta_buf,
1970 static void ta_flush_mod_ifidx(void *ta_buf);
2194 void *ta_buf)
2200 tb = (struct ta_buf_ifidx *)ta_buf;
2226 void *ta_buf, uint32_t *pnum)
2236 tb = (struct ta_buf_ifidx *)ta_buf;
2290 void *ta_buf)
2308 void *ta_buf, uint32_t *pnum)
2317 tb = (struct ta_buf_ifidx *)ta_buf;
2360 void *ta_buf)
2364 tb = (struct ta_buf_ifidx *)ta_buf;
2443 ta_prepare_mod_ifidx(void *ta_buf, uint64_t *pflags)
2447 mi = (struct mod_item *)ta_buf;
2461 ta_fill_mod_ifidx(void *ta_state, struct table_info *ti, void *ta_buf,
2467 mi = (struct mod_item *)ta_buf;
2485 ta_modify_ifidx(void *ta_state, struct table_info *ti, void *ta_buf,
2492 mi = (struct mod_item *)ta_buf;
2507 ta_flush_mod_ifidx(void *ta_buf)
2511 mi = (struct mod_item *)ta_buf;
2651 struct tentry_info *tei, void *ta_buf);
2653 struct tentry_info *tei, void *ta_buf, uint32_t *pnum);
2655 struct tentry_info *tei, void *ta_buf, uint32_t *pnum);
2657 struct tentry_info *tei, void *ta_buf);
2660 static int ta_prepare_mod_numarray(void *ta_buf, uint64_t *pflags);
2662 void *ta_buf, uint64_t *pflags);
2664 void *ta_buf, uint64_t pflags);
2665 static void ta_flush_mod_numarray(void *ta_buf);
2773 void *ta_buf)
2777 tb = (struct ta_buf_numarray *)ta_buf;
2786 void *ta_buf, uint32_t *pnum)
2794 tb = (struct ta_buf_numarray *)ta_buf;
2836 void *ta_buf, uint32_t *pnum)
2843 tb = (struct ta_buf_numarray *)ta_buf;
2865 void *ta_buf)
2900 ta_prepare_mod_numarray(void *ta_buf, uint64_t *pflags)
2904 mi = (struct mod_item *)ta_buf;
2918 ta_fill_mod_numarray(void *ta_state, struct table_info *ti, void *ta_buf,
2924 mi = (struct mod_item *)ta_buf;
2942 ta_modify_numarray(void *ta_state, struct table_info *ti, void *ta_buf,
2949 mi = (struct mod_item *)ta_buf;
2964 ta_flush_mod_numarray(void *ta_buf)
2968 mi = (struct mod_item *)ta_buf;
3120 struct tentry_info *tei, void *ta_buf);
3122 struct tentry_info *tei, void *ta_buf, uint32_t *pnum);
3124 void *ta_buf);
3126 struct tentry_info *tei, void *ta_buf, uint32_t *pnum);
3128 void *ta_buf);
3131 static int ta_prepare_mod_fhash(void *ta_buf, uint64_t *pflags);
3133 void *ta_buf, uint64_t *pflags);
3134 static void ta_modify_fhash(void *ta_state, struct table_info *ti, void *ta_buf,
3136 static void ta_flush_mod_fhash(void *ta_buf);
3484 void *ta_buf)
3491 tb = (struct ta_buf_fhash *)ta_buf;
3514 void *ta_buf, uint32_t *pnum)
3525 tb = (struct ta_buf_fhash *)ta_buf;
3576 void *ta_buf)
3580 tb = (struct ta_buf_fhash *)ta_buf;
3587 void *ta_buf, uint32_t *pnum)
3597 tb = (struct ta_buf_fhash *)ta_buf;
3626 void *ta_buf)
3630 tb = (struct ta_buf_fhash *)ta_buf;
3660 ta_prepare_mod_fhash(void *ta_buf, uint64_t *pflags)
3666 mi = (struct mod_item *)ta_buf;
3684 ta_fill_mod_fhash(void *ta_state, struct table_info *ti, void *ta_buf,
3696 ta_modify_fhash(void *ta_state, struct table_info *ti, void *ta_buf,
3707 mi = (struct mod_item *)ta_buf;
3733 ta_flush_mod_fhash(void *ta_buf)
3737 mi = (struct mod_item *)ta_buf;
4116 void *ta_buf)
4123 tb = (struct ta_buf_radix *)ta_buf;
4153 void *ta_buf, uint32_t *pnum)
4162 tb = (struct ta_buf_radix *)ta_buf;
4205 void *ta_buf)
4211 tb = (struct ta_buf_radix *)ta_buf;
4235 void *ta_buf, uint32_t *pnum)
4243 tb = (struct ta_buf_radix *)ta_buf;