Searched refs:STATE (Results 1 - 25 of 46) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/conntrack-tools/conntrack-tools-1.4.0/src/
H A Dctnl.c45 nfct_close(STATE(event));
47 nfct_close(STATE(resync));
48 nfct_close(STATE(get));
49 origin_unregister(STATE(flush));
50 nfct_close(STATE(flush));
52 if (STATE(us_filter))
53 ct_filter_destroy(STATE(us_filter));
54 STATE(mode)->kill();
56 if (STATE(mode)->internal->flags & INTERNAL_F_POPULATE) {
57 nfct_close(STATE(dum
[all...]
H A Dtraffic_stats.c24 STATE(stats).bytes_orig +=
26 STATE(stats).bytes_repl +=
28 STATE(stats).packets_orig +=
30 STATE(stats).packets_repl +=
38 uint64_t bytes = STATE(stats).bytes_orig + STATE(stats).bytes_repl;
39 uint64_t packets = STATE(stats).packets_orig +
40 STATE(stats).packets_repl;
H A Drun.c46 sigprocmask(SIG_BLOCK, &STATE(block), NULL);
48 local_server_destroy(&STATE(local));
56 destroy_fds(STATE(fds));
61 sigprocmask(SIG_UNBLOCK, &STATE(block), NULL);
76 STATE(stats).wait_failed++;
89 STATE(stats).child_process_failed++;
90 STATE(stats).child_process_error_segfault++;
98 STATE(stats).child_process_failed++;
99 STATE(stats).child_process_error_term++;
105 STATE(stat
[all...]
H A Dinternal_cache.c25 STATE(mode)->internal->ct.data =
31 if (!STATE(mode)->internal->ct.data) {
36 STATE(mode)->internal->exp.data =
42 if (!STATE(mode)->internal->exp.data) {
52 cache_destroy(STATE(mode)->internal->ct.data);
53 cache_destroy(STATE(mode)->internal->exp.data);
58 cache_dump(STATE(mode)->internal->ct.data, fd, type);
63 cache_flush(STATE(mode)->internal->ct.data);
68 cache_stats(STATE(mode)->internal->ct.data, fd);
73 cache_stats_extended(STATE(mod
[all...]
H A Dlog.c33 STATE(log) = fopen(CONFIG(logfile), "a+");
34 if (STATE(log) == NULL) {
41 setlinebuf(STATE(log));
45 STATE(stats_log) = fopen(CONFIG(stats).logfile, "a+");
46 if (STATE(stats_log) == NULL) {
53 setlinebuf(STATE(stats_log));
65 FILE *fd = STATE(log);
137 if (fd == STATE(log)) {
141 } else if (fd == STATE(stats_log)) {
174 if (fd == STATE(lo
[all...]
H A Dprocess.c31 sigprocmask(SIG_BLOCK, &STATE(block), NULL);
39 sigprocmask(SIG_UNBLOCK, &STATE(block), NULL);
46 sigprocmask(SIG_UNBLOCK, &STATE(block), NULL);
58 sigprocmask(SIG_UNBLOCK, &STATE(block), NULL);
92 sigprocmask(SIG_BLOCK, &STATE(block), NULL);
100 sigprocmask(SIG_UNBLOCK, &STATE(block), NULL);
H A Dfds.c108 fd_set readfds = STATE(fds)->readfds;
111 ret = select(STATE(fds)->maxfd + 1, &readfds, NULL, NULL, next_alarm);
117 STATE(stats).select_failed++;
122 sigprocmask(SIG_BLOCK, &STATE(block), NULL);
124 list_for_each_entry_safe(cur, tmp, &STATE(fds)->list, head) {
129 sigprocmask(SIG_UNBLOCK, &STATE(block), NULL);
140 sigprocmask(SIG_BLOCK, &STATE(block), NULL);
145 sigprocmask(SIG_UNBLOCK, &STATE(block), NULL);
H A Dexternal_inject.c80 dlog_ct(STATE(log), ct, NFCT_O_PLAIN);
85 dlog_ct(STATE(log), ct, NFCT_O_PLAIN);
106 dlog_ct(STATE(log), ct, NFCT_O_PLAIN);
121 dlog_ct(STATE(log), ct, NFCT_O_PLAIN);
129 dlog_ct(STATE(log), ct, NFCT_O_PLAIN);
138 dlog_ct(STATE(log), ct, NFCT_O_PLAIN);
204 dlog_exp(STATE(log), exp, NFCT_O_PLAIN);
209 dlog_exp(STATE(log), exp, NFCT_O_PLAIN);
221 dlog_exp(STATE(log), exp, NFCT_O_PLAIN);
H A Dread_config_yy.y227 ct_filter_set_logic(STATE(us_filter),
250 if (!ct_filter_add_ip(STATE(us_filter), &ip, AF_INET)) {
275 if (!ct_filter_add_ip(STATE(us_filter), &ip, AF_INET6)) {
765 ct_filter_set_logic(STATE(us_filter),
780 ct_filter_add_proto(STATE(us_filter), $1);
795 ct_filter_add_proto(STATE(us_filter), pent->p_proto);
884 exp_filter_add(STATE(exp_filter), $1);
993 ct_filter_set_logic(STATE(us_filter),
1018 ct_filter_add_state(STATE(us_filter),
1026 ct_filter_add_state(STATE(us_filte
[all...]
H A Dsync-mode.c301 STATE(stats).nl_kernel_table_flush++;
312 STATE(mode)->internal->ct.flush();
351 register_fd(fd, channel_handler, c, STATE(fds));
390 STATE(mode)->internal = &internal_cache;
392 STATE(mode)->internal = &internal_bypass;
396 if (STATE(mode)->internal->init() == -1)
426 STATE(fds));
431 STATE(fds));
442 interface_handler, NULL, STATE(fds)) == -1)
451 tx_queue_cb, NULL, STATE(fd
[all...]
H A Dstats-mode.c130 STATE(get_retval) = 0;
131 nl_get_conntrack(STATE(get), obj->ptr); /* modifies STATE(get_retval) */
132 if (!STATE(get_retval)) {
134 dlog_ct(STATE(stats_log), obj->ptr, NFCT_O_PLAIN);
183 dlog_ct(STATE(stats_log), ct, NFCT_O_PLAIN);
H A Dfilter.c138 if (!STATE(us_filter)) {
139 STATE(us_filter) = ct_filter_create();
140 if (!STATE(us_filter)) {
146 return STATE(us_filter);
404 if (userspace && !ct_filter_check(STATE(us_filter), ct))
434 if (STATE(exp_filter) == NULL) {
435 STATE(exp_filter) = exp_filter_create();
436 if (STATE(exp_filter) == NULL) {
441 return STATE(exp_filter);;
H A Dsync-notrack.c132 cache_iterate(STATE(mode)->internal->ct.data,
134 cache_iterate(STATE(mode)->internal->exp.data,
155 cache_iterate(STATE(mode)->internal->ct.data,
157 cache_iterate(STATE(mode)->internal->exp.data,
H A Dnetlink.c53 if (STATE(filter)) {
56 STATE(filter)) == -1) {
64 nfct_filter_destroy(STATE(filter));
164 nl_destroy_conntrack(STATE(flush), ct);
167 STATE(stats).nl_dump_unknown_type++;
H A Dsync-ftfw.c232 cache_iterate(STATE(mode)->internal->ct.data,
234 cache_iterate(STATE(mode)->internal->exp.data,
355 cache_iterate(STATE(mode)->internal->ct.data, NULL,
357 cache_iterate(STATE(mode)->internal->exp.data, NULL,
H A Dcache-exp.c204 dlog_exp(STATE(log), exp, NFCT_O_PLAIN);
208 dlog_exp(STATE(log), exp, NFCT_O_PLAIN);
H A Dinternal_bypass.c163 if (!exp_filter_find(STATE(exp_filter), exp))
202 nl_flush_expect_table(STATE(flush));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/crypto/
H A Daesni-intel_asm.S27 #define STATE STATE1 define
222 movups (INP), STATE # input
224 movups STATE, (OUTP) # output
232 * STATE: initial state (input)
234 * STATE: finial state (output)
242 pxor KEY, STATE # round 0
250 AESENC KEY STATE
252 AESENC KEY STATE
256 AESENC KEY STATE
258 AESENC KEY STATE
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mn10300/unit-asb2303/include/unit/
H A Dserial.h92 #define LSR_WAIT_FOR(STATE) \
94 while (!(GDBPORT_SERIAL_LSR & UART_LSR_##STATE)) {} \
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mn10300/unit-asb2305/include/unit/
H A Dserial.h76 #define LSR_WAIT_FOR(STATE) \
78 while (!(TTYS0_LSR & UART_LSR_##STATE)) {} \
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/frv/kernel/
H A Ddebug-stub.c30 #define LSR_WAIT_FOR0(STATE) \
32 } while (!(__UART0(LSR) & UART_LSR_##STATE))
H A Dgdb-io.c36 #define LSR_WAIT_FOR(STATE) \
39 } while (!(__UART(LSR) & UART_LSR_##STATE))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/arm/
H A Dfas216.c1380 #define STATE(st,ph) ((ph) << 3 | (st)) macro
1384 switch (STATE(stat & STAT_BUSMASK, info->scsi.phase)) {
1385 case STATE(STAT_DATAIN, PHASE_SELSTEPS):/* Sel w/ steps -> Data In */
1386 case STATE(STAT_DATAIN, PHASE_MSGOUT): /* Message Out -> Data In */
1387 case STATE(STAT_DATAIN, PHASE_COMMAND): /* Command -> Data In */
1388 case STATE(STAT_DATAIN, PHASE_MSGIN): /* Message In -> Data In */
1393 case STATE(STAT_DATAIN, PHASE_DATAIN): /* Data In -> Data In */
1394 case STATE(STAT_DATAOUT, PHASE_DATAOUT):/* Data Out -> Data Out */
1399 case STATE(STAT_DATAOUT, PHASE_SELSTEPS):/* Sel w/ steps-> Data Out */
1400 case STATE(STAT_DATAOU
1453 case STATE(STAT_MESGOUT, PHASE_SELSTEPS): function
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/
H A Daha152x.c580 #define STATE (HOSTDATA(shpnt)->state) macro
952 } else if(STATE==seldi) {
2355 PREVSTATE = STATE;
2356 STATE=unknown;
2359 STATE=rsti;
2363 STATE=seldi;
2365 STATE=seldo;
2367 STATE=selto;
2369 STATE=busfree;
2372 STATE
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mn10300/boot/compressed/
H A Dmisc.c32 #define LSR_WAIT_FOR(STATE) \
33 do { while (!(CYG_DEV_LSR & SIO_LSR_##STATE)) {} } while (0)

Completed in 242 milliseconds

12