Home
last modified time | relevance | path

Searched refs:ntokens (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/lib/
Dts_fsm.c34 unsigned int ntokens; member
165 for (tok_idx = 0; tok_idx < fsm->ntokens; tok_idx++) { in fsm_find()
168 if (likely(tok_idx < (fsm->ntokens - 1))) in fsm_find()
262 unsigned int ntokens = len / sizeof(*tokens); in fsm_init() local
265 if (len % sizeof(struct ts_fsm_token) || ntokens < 1) in fsm_init()
271 for (i = 0; i < ntokens; i++) { in fsm_init()
278 (i != 0 || i == (ntokens - 1))) in fsm_init()
288 fsm->ntokens = ntokens; in fsm_init()
291 for (i = 0; i < fsm->ntokens; i++) { in fsm_init()
311 return fsm->ntokens * sizeof(struct ts_fsm_token); in fsm_get_pattern_len()