Home
last modified time | relevance | path

Searched refs:log (Results 1 – 25 of 28) sorted by relevance

12

/net/irda/
Ddiscovery.c111 void irlmp_add_discovery_log(hashbin_t *cachelog, hashbin_t *log) in irlmp_add_discovery_log() argument
123 if (log == NULL) { in irlmp_add_discovery_log()
133 discovery = (discovery_t *) hashbin_remove_first(log); in irlmp_add_discovery_log()
137 discovery = (discovery_t *) hashbin_remove_first(log); in irlmp_add_discovery_log()
141 hashbin_delete(log, (FREE_FUNC) kfree); in irlmp_add_discovery_log()
152 void irlmp_expire_discoveries(hashbin_t *log, __u32 saddr, int force) in irlmp_expire_discoveries() argument
161 IRDA_ASSERT(log != NULL, return;); in irlmp_expire_discoveries()
164 spin_lock_irqsave(&log->hb_spinlock, flags); in irlmp_expire_discoveries()
166 discovery = (discovery_t *) hashbin_get_first(log); in irlmp_expire_discoveries()
170 discovery = (discovery_t *) hashbin_get_next(log); in irlmp_expire_discoveries()
[all …]
Dirlmp_frame.c384 void irlmp_link_discovery_confirm(struct lap_cb *self, hashbin_t *log) in irlmp_link_discovery_confirm() argument
392 irlmp_add_discovery_log(irlmp->cachelog, log); in irlmp_link_discovery_confirm()
Dirlmp.c968 hashbin_t *log, DISCOVERY_MODE mode) in irlmp_notify_client() argument
998 discoveries = irlmp_copy_discoveries(log, &number, in irlmp_notify_client()
1020 void irlmp_discovery_confirm(hashbin_t *log, DISCOVERY_MODE mode) in irlmp_discovery_confirm() argument
1027 IRDA_ASSERT(log != NULL, return;); in irlmp_discovery_confirm()
1029 if (!(HASHBIN_GET_SIZE(log))) in irlmp_discovery_confirm()
1037 irlmp_notify_client(client, log, mode); in irlmp_discovery_confirm()
/net/irda/irnet/
Dirnet_ppp.c336 switch(irnet_events.log[ap->event_index].event) in irnet_ctrl_read()
341 irnet_events.log[ap->event_index].daddr, in irnet_ctrl_read()
342 irnet_events.log[ap->event_index].name, in irnet_ctrl_read()
343 irnet_events.log[ap->event_index].saddr, in irnet_ctrl_read()
344 irnet_events.log[ap->event_index].hints.byte[0], in irnet_ctrl_read()
345 irnet_events.log[ap->event_index].hints.byte[1]); in irnet_ctrl_read()
350 irnet_events.log[ap->event_index].daddr, in irnet_ctrl_read()
351 irnet_events.log[ap->event_index].name, in irnet_ctrl_read()
352 irnet_events.log[ap->event_index].saddr, in irnet_ctrl_read()
353 irnet_events.log[ap->event_index].hints.byte[0], in irnet_ctrl_read()
[all …]
Dirnet_irda.c72 irnet_events.log[index].event = event; in irnet_post_event()
73 irnet_events.log[index].daddr = daddr; in irnet_post_event()
74 irnet_events.log[index].saddr = saddr; in irnet_post_event()
77 strcpy(irnet_events.log[index].name, name); in irnet_post_event()
79 irnet_events.log[index].name[0] = '\0'; in irnet_post_event()
81 irnet_events.log[index].hints.word = hints; in irnet_post_event()
84 irnet_events.log[index].unit = ppp_unit_number(&ap->chan); in irnet_post_event()
86 irnet_events.log[index].unit = -1; in irnet_post_event()
Dirnet.h499 irnet_log log[IRNET_MAX_EVENTS]; /* Event log */ member
/net/netfilter/
Dnfnetlink_log.c97 __instance_lookup(struct nfnl_log_net *log, u_int16_t group_num) in __instance_lookup() argument
102 head = &log->instance_table[instance_hashfn(group_num)]; in __instance_lookup()
117 instance_lookup_get(struct nfnl_log_net *log, u_int16_t group_num) in instance_lookup_get() argument
122 inst = __instance_lookup(log, group_num); in instance_lookup_get()
154 struct nfnl_log_net *log = nfnl_log_pernet(net); in instance_create() local
157 spin_lock_bh(&log->instances_lock); in instance_create()
158 if (__instance_lookup(log, group_num)) { in instance_create()
194 &log->instance_table[instance_hashfn(group_num)]); in instance_create()
197 spin_unlock_bh(&log->instances_lock); in instance_create()
202 spin_unlock_bh(&log->instances_lock); in instance_create()
[all …]
Dnf_log.c27 struct nf_logger *log; in __find_logger() local
34 log = nft_log_dereference(loggers[pf][i]); in __find_logger()
35 if (!strncasecmp(str_logger, log->name, strlen(log->name))) in __find_logger()
36 return log; in __find_logger()
44 const struct nf_logger *log; in nf_log_set() local
50 log = nft_log_dereference(net->nf.nf_loggers[pf]); in nf_log_set()
51 if (log == NULL) in nf_log_set()
61 const struct nf_logger *log; in nf_log_unset() local
65 log = nft_log_dereference(net->nf.nf_loggers[i]); in nf_log_unset()
66 if (log == logger) in nf_log_unset()
[all …]
Dnft_log.c78 li->u.log.level = in nft_log_init()
81 li->u.log.level = 4; in nft_log_init()
84 li->u.log.logflags = in nft_log_init()
144 if (nla_put_be32(skb, NFTA_LOG_LEVEL, htonl(li->u.log.level))) in nft_log_dump()
147 if (li->u.log.logflags) { in nft_log_dump()
149 htonl(li->u.log.logflags))) in nft_log_dump()
Dxt_LOG.c39 li.u.log.level = loginfo->level; in log_tg()
40 li.u.log.logflags = loginfo->logflags; in log_tg()
Dnf_log_common.c158 '0' + loginfo->u.log.level, prefix, in nf_log_dump_packet_common()
Dnf_tables_core.c84 .log = {
/net/ipv4/
Dtcp_probe.c83 struct tcp_log *log; member
123 struct tcp_log *p = tcp_probe.log + tcp_probe.head; in jtcp_rcv_established()
189 = tcp_probe.log + tcp_probe.tail; in tcpprobe_sprint()
272 tcp_probe.log = kcalloc(bufsize, sizeof(struct tcp_log), GFP_KERNEL); in tcpprobe_init()
273 if (!tcp_probe.log) in tcpprobe_init()
289 kfree(tcp_probe.log); in tcpprobe_init()
298 kfree(tcp_probe.log); in tcpprobe_exit()
Dudp.c142 unsigned int log) in udp_lib_lport_inuse() argument
159 __set_bit(udp_sk(sk2)->udp_port_hash >> log, in udp_lib_lport_inuse()
240 saddr_comp, udptable->log); in udp_lib_get_port()
250 !test_bit(snum >> udptable->log, bitmap) && in udp_lib_get_port()
2531 &table->log, in udp_table_init()
/net/bridge/netfilter/
Debt_log.c88 '0' + loginfo->u.log.level, prefix, in ebt_log_packet()
94 bitmask = loginfo->u.log.logflags; in ebt_log_packet()
186 li.u.log.level = info->loglevel; in ebt_log_tg()
187 li.u.log.logflags = info->bitmask; in ebt_log_tg()
DKconfig206 tristate "ebt: log support"
208 This option adds the log watcher, that you can use in any rule
/net/wireless/
Dgenregdb.awk74 power = 10 * log(power)/log(10)
/net/ipv6/netfilter/
Dnf_log_ipv6.c28 .log = {
50 logflags = info->u.log.logflags; in dump_ipv6_packet()
293 logflags = info->u.log.logflags; in dump_ipv6_mac_header()
/net/ipv4/netfilter/
Dnf_log_ipv4.c27 .log = {
44 logflags = info->u.log.logflags; in dump_ipv4_packet()
280 logflags = info->u.log.logflags; in dump_ipv4_mac_header()
Dnf_log_arp.c28 .log = {
/net/sched/
Dsch_fq.c595 static int fq_resize(struct Qdisc *sch, u32 log) in fq_resize() argument
602 if (q->fq_root && log == q->fq_trees_log) in fq_resize()
606 array = fq_alloc_node(sizeof(struct rb_root) << log, in fq_resize()
611 for (idx = 0; idx < (1U << log); idx++) in fq_resize()
618 fq_rehash(q, old_fq_root, q->fq_trees_log, array, log); in fq_resize()
621 q->fq_trees_log = log; in fq_resize()
/net/tipc/
DMakefile11 socket.o log.o eth_media.o server.o
/net/9p/
DKconfig34 Say Y if you want the 9P subsystem to log debug information.
/net/batman-adv/
DKconfig68 outputting debugging information to the kernel log. The
/net/mac80211/
DKconfig101 printing them into the kernel log.

12