/linux-4.4.14/include/linux/ |
H A D | textsearch.h | 12 struct ts_config; 41 struct ts_config * (*init)(const void *, unsigned int, gfp_t, int); 42 unsigned int (*find)(struct ts_config *, 44 void (*destroy)(struct ts_config *); 45 void * (*get_pattern)(struct ts_config *); 46 unsigned int (*get_pattern_len)(struct ts_config *); 52 * struct ts_config - search configuration 58 struct ts_config struct 77 struct ts_config *conf, 88 void (*finish)(struct ts_config *conf, 104 static inline unsigned int textsearch_next(struct ts_config *conf, textsearch_next() 123 static inline unsigned int textsearch_find(struct ts_config *conf, textsearch_find() 134 static inline void *textsearch_get_pattern(struct ts_config *conf) textsearch_get_pattern() 143 static inline unsigned int textsearch_get_pattern_len(struct ts_config *conf) textsearch_get_pattern_len() 150 extern struct ts_config *textsearch_prepare(const char *, const void *, 152 extern void textsearch_destroy(struct ts_config *conf); 153 extern unsigned int textsearch_find_continuous(struct ts_config *, 161 static inline struct ts_config *alloc_ts_config(size_t payload, alloc_ts_config() 164 struct ts_config *conf; alloc_ts_config() 173 static inline void *ts_config_priv(struct ts_config *conf) ts_config_priv() 175 return ((u8 *) conf + TS_PRIV_ALIGN(sizeof(struct ts_config))); ts_config_priv()
|
H A D | skbuff.h | 915 unsigned int to, struct ts_config *config);
|
/linux-4.4.14/include/uapi/linux/netfilter/ |
H A D | xt_string.h | 31 struct ts_config __attribute__((aligned(8))) *config;
|
/linux-4.4.14/lib/ |
H A D | ts_bm.c | 62 static unsigned int bm_find(struct ts_config *conf, struct ts_state *state) bm_find() 145 static struct ts_config *bm_init(const void *pattern, unsigned int len, bm_init() 148 struct ts_config *conf; bm_init() 172 static void *bm_get_pattern(struct ts_config *conf) bm_get_pattern() 178 static unsigned int bm_get_pattern_len(struct ts_config *conf) bm_get_pattern_len()
|
H A D | ts_kmp.c | 46 static unsigned int kmp_find(struct ts_config *conf, struct ts_state *state) kmp_find() 95 static struct ts_config *kmp_init(const void *pattern, unsigned int len, kmp_init() 98 struct ts_config *conf; kmp_init() 122 static void *kmp_get_pattern(struct ts_config *conf) kmp_get_pattern() 128 static unsigned int kmp_get_pattern_len(struct ts_config *conf) kmp_get_pattern_len()
|
H A D | textsearch.c | 78 * struct ts_config *conf; 203 struct ts_config *conf, get_linear_data() 229 unsigned int textsearch_find_continuous(struct ts_config *conf, textsearch_find_continuous() 261 struct ts_config *textsearch_prepare(const char *algo, const void *pattern, textsearch_prepare() 265 struct ts_config *conf; textsearch_prepare() 311 void textsearch_destroy(struct ts_config *conf) textsearch_destroy()
|
H A D | ts_fsm.c | 138 static unsigned int fsm_find(struct ts_config *conf, struct ts_state *state) fsm_find() 259 static struct ts_config *fsm_init(const void *pattern, unsigned int len, fsm_init() 263 struct ts_config *conf; fsm_init() 306 static void *fsm_get_pattern(struct ts_config *conf) fsm_get_pattern() 312 static unsigned int fsm_get_pattern_len(struct ts_config *conf) fsm_get_pattern_len()
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_ptp.c | 179 struct hwtstamp_config *config = &interface->ts_config; fm10k_get_ts_config() 210 struct hwtstamp_config ts_config; fm10k_set_ts_config() local 212 if (copy_from_user(&ts_config, ifr->ifr_data, sizeof(ts_config))) fm10k_set_ts_config() 216 if (ts_config.flags) fm10k_set_ts_config() 219 switch (ts_config.tx_type) { fm10k_set_ts_config() 229 switch (ts_config.rx_filter) { fm10k_set_ts_config() 247 ts_config.rx_filter = HWTSTAMP_FILTER_ALL; fm10k_set_ts_config() 254 interface->ts_config = ts_config; fm10k_set_ts_config() 256 return copy_to_user(ifr->ifr_data, &ts_config, sizeof(ts_config)) ? fm10k_set_ts_config()
|
H A D | fm10k.h | 344 struct hwtstamp_config ts_config; member in struct:fm10k_intfc
|
/linux-4.4.14/net/sched/ |
H A D | em_text.c | 27 struct ts_config *config; 52 struct ts_config *ts_conf; em_text_change()
|
/linux-4.4.14/net/netfilter/ |
H A D | xt_string.c | 43 struct ts_config *ts_conf; string_mt_check()
|
H A D | nf_conntrack_amanda.c | 62 struct ts_config *ts;
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
H A D | stv0900_priv.h | 262 struct stv0900_reg *ts_config; member in struct:stv0900_init_params 335 struct stv0900_reg *ts_config; member in struct:stv0900_internal
|
H A D | stv0900_core.c | 1408 intp->ts_config = p_init->ts_config; stv0900_init_internal() 1409 if (intp->ts_config == NULL) stv0900_init_internal() 1414 for (i = 0; intp->ts_config[i].addr != 0xffff; i++) stv0900_init_internal() 1416 intp->ts_config[i].addr, stv0900_init_internal() 1417 intp->ts_config[i].val); stv0900_init_internal() 1942 init_params.ts_config = config->ts_config_regs; stv0900_attach()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_netdev.c | 3094 struct hwtstamp_config ts_config, mlx4_en_reset_config() 3102 if (priv->hwtstamp_config.tx_type == ts_config.tx_type && mlx4_en_reset_config() 3103 priv->hwtstamp_config.rx_filter == ts_config.rx_filter && mlx4_en_reset_config() 3124 ts_config.rx_filter, !!(features & NETIF_F_HW_VLAN_CTAG_RX)); mlx4_en_reset_config() 3126 priv->hwtstamp_config.tx_type = ts_config.tx_type; mlx4_en_reset_config() 3127 priv->hwtstamp_config.rx_filter = ts_config.rx_filter; mlx4_en_reset_config() 3134 } else if (ts_config.rx_filter == HWTSTAMP_FILTER_NONE) { mlx4_en_reset_config() 3155 if (ts_config.rx_filter != HWTSTAMP_FILTER_NONE) { mlx4_en_reset_config() 3093 mlx4_en_reset_config(struct net_device *dev, struct hwtstamp_config ts_config, netdev_features_t features) mlx4_en_reset_config() argument
|
H A D | mlx4_en.h | 836 struct hwtstamp_config ts_config,
|
/linux-4.4.14/net/core/ |
H A D | skbuff.c | 2835 struct ts_config *conf, skb_ts_get_next_block() 2841 static void skb_ts_finish(struct ts_config *conf, struct ts_state *state) skb_ts_finish() 2859 unsigned int to, struct ts_config *config) skb_find_text()
|