Home
last modified time | relevance | path

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

/openbmc/qemu/chardev/
H A Dwctablet.c74 int query_index; member
97 tablet->query_index -= count; in wctablet_shift_input()
98 memmove(tablet->query, tablet->query + count, tablet->query_index); in wctablet_shift_input()
99 tablet->query[tablet->query_index] = 0; in wctablet_shift_input()
116 tablet->query_index = 0; in wctablet_reset()
218 for (i = 0; i < len && tablet->query_index < sizeof(tablet->query) - 1; i++) { in wctablet_chr_write()
219 tablet->query[tablet->query_index++] = buf[i]; in wctablet_chr_write()
221 tablet->query[tablet->query_index] = 0; in wctablet_chr_write()
223 while (tablet->query_index > 0 && (tablet->query[0] == '@' || in wctablet_chr_write()
228 if (!tablet->query_index) { in wctablet_chr_write()
[all …]
/openbmc/linux/security/tomoyo/
H A Dcommon.c2209 if (pos++ != head->r.query_index) in tomoyo_read_query()
2216 head->r.query_index = 0; in tomoyo_read_query()
2227 if (pos++ != head->r.query_index) in tomoyo_read_query()
2242 head->r.query_index++; in tomoyo_read_query()
H A Dcommon.h808 unsigned int query_index; member