Home
last modified time | relevance | path

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

/net/can/j1939/
Dtransport.c441 static inline pgn_t j1939_xtp_ctl_to_pgn(const u8 *dat) in j1939_xtp_ctl_to_pgn() argument
445 pgn = (dat[7] << 16) | (dat[6] << 8) | (dat[5] << 0); in j1939_xtp_ctl_to_pgn()
451 static inline unsigned int j1939_tp_ctl_to_size(const u8 *dat) in j1939_tp_ctl_to_size() argument
453 return (dat[2] << 8) + (dat[1] << 0); in j1939_tp_ctl_to_size()
456 static inline unsigned int j1939_etp_ctl_to_packet(const u8 *dat) in j1939_etp_ctl_to_packet() argument
458 return (dat[4] << 16) | (dat[3] << 8) | (dat[2] << 0); in j1939_etp_ctl_to_packet()
461 static inline unsigned int j1939_etp_ctl_to_size(const u8 *dat) in j1939_etp_ctl_to_size() argument
463 return (dat[4] << 24) | (dat[3] << 16) | in j1939_etp_ctl_to_size()
464 (dat[2] << 8) | (dat[1] << 0); in j1939_etp_ctl_to_size()
632 const u8 *dat, int len) in j1939_tp_tx_dat() argument
[all …]
/net/batman-adv/
Ddistributed-arp-table.c104 queue_delayed_work(batadv_event_workqueue, &bat_priv->dat.work, in batadv_dat_start_timer()
167 if (!bat_priv->dat.hash) in __batadv_dat_purge()
170 for (i = 0; i < bat_priv->dat.hash->size; i++) { in __batadv_dat_purge()
171 head = &bat_priv->dat.hash->table[i]; in __batadv_dat_purge()
172 list_lock = &bat_priv->dat.hash->list_locks[i]; in __batadv_dat_purge()
203 bat_priv = container_of(priv_dat, struct batadv_priv, dat); in batadv_dat_purge()
289 const struct batadv_dat_entry *dat = data; in batadv_hash_dat() local
294 key = (__force const unsigned char *)&dat->ip; in batadv_hash_dat()
295 for (i = 0; i < sizeof(dat->ip); i++) { in batadv_hash_dat()
301 vid = htons(dat->vid); in batadv_hash_dat()
[all …]
Ddistributed-arp-table.h71 bat_priv->dat.addr = (batadv_dat_addr_t)addr; in batadv_dat_init_own_addr()
Dtypes.h1725 struct batadv_priv_dat dat; member
/net/sched/
Dsch_teql.c92 struct teql_sched_data *dat = qdisc_priv(sch); in teql_dequeue() local
97 skb = __skb_dequeue(&dat->q); in teql_dequeue()
98 dat_queue = netdev_get_tx_queue(dat->m->dev, 0); in teql_dequeue()
104 dat->m->slaves = sch; in teql_dequeue()
110 sch->q.qlen = dat->q.qlen + q->q.qlen; in teql_dequeue()
124 struct teql_sched_data *dat = qdisc_priv(sch); in teql_reset() local
126 skb_queue_purge(&dat->q); in teql_reset()
133 struct teql_sched_data *dat = qdisc_priv(sch); in teql_destroy() local
134 struct teql_master *master = dat->m; in teql_destroy()
160 skb_queue_purge(&dat->q); in teql_destroy()