| H A D | isotp.c | 130 /* so->tx_result[so->tx_gen % ISOTP_TX_RESULT_SLOTS] holds the packed value 131 * (err << ISOTP_TX_RESULT_GEN_BITS | gen) for each tx generation slot, so it 214 /* store transfer result in per-generation%4 so->tx_result[] slot */ 215 static void isotp_set_tx_result(struct isotp_sock *so, u32 gen, int err) in isotp_set_tx_result() argument 217 WRITE_ONCE(so->tx_result[gen % ISOTP_TX_RESULT_SLOTS], in isotp_set_tx_result() 222 static int isotp_get_tx_result(struct isotp_sock *so, u32 gen) in isotp_get_tx_result() argument 224 u32 result = READ_ONCE(so->tx_result[gen % ISOTP_TX_RESULT_SLOTS]); in isotp_get_tx_result() 237 * transfer). Reads tx.state first (acquire) so tx_gen/tx_result reads 240 static bool isotp_tx_gen_done(struct isotp_sock *so, u3 argument 254 isotp_bc_flags(struct isotp_sock * so) isotp_bc_flags() argument 259 isotp_register_rxid(struct isotp_sock * so) isotp_register_rxid() argument 267 struct isotp_sock *so = container_of(hrtimer, struct isotp_sock, isotp_rx_timer_handler() local 292 struct isotp_sock *so = isotp_sk(sk); isotp_send_fc() local 411 check_pad(struct isotp_sock * so,struct canfd_frame * cf,int start_index,u8 content) check_pad() argument 441 isotp_rcv_fc(struct isotp_sock * so,struct canfd_frame * cf,int ae) isotp_rcv_fc() argument 541 struct isotp_sock *so = isotp_sk(sk); isotp_rcv_sf() local 573 struct isotp_sock *so = isotp_sk(sk); isotp_rcv_ff() local 647 struct isotp_sock *so = isotp_sk(sk); isotp_rcv_cf() local 747 struct isotp_sock *so = isotp_sk(sk); isotp_rcv() local 832 isotp_fill_dataframe(struct canfd_frame * cf,struct isotp_sock * so,int ae,int off) isotp_fill_dataframe() argument 863 isotp_send_cframe(struct isotp_sock * so) isotp_send_cframe() argument 933 isotp_create_fframe(struct canfd_frame * cf,struct isotp_sock * so,int ae) isotp_create_fframe() argument 971 struct isotp_sock *so = isotp_sk(sk); isotp_rcv_echo() local 1041 isotp_tx_timeout(struct isotp_sock * so) isotp_tx_timeout() argument 1073 struct isotp_sock *so = container_of(hrtimer, struct isotp_sock, isotp_tx_timer_handler() local 1082 struct isotp_sock *so = container_of(hrtimer, struct isotp_sock, isotp_echo_timer_handler() local 1090 struct isotp_sock *so = container_of(hrtimer, struct isotp_sock, isotp_txfr_timer_handler() local 1107 struct isotp_sock *so = isotp_sk(sk); isotp_sendmsg() local 1407 struct isotp_sock *so = isotp_sk(sk); isotp_recvmsg() local 1449 struct isotp_sock *so; isotp_release() local 1538 struct isotp_sock *so = isotp_sk(sk); isotp_bind() local 1666 struct isotp_sock *so = isotp_sk(sk); isotp_getname() local 1684 struct isotp_sock *so = isotp_sk(sk); isotp_setsockopt_locked() local 1798 struct isotp_sock *so = isotp_sk(sk); isotp_getsockopt() local 1846 isotp_notify(struct isotp_sock * so,unsigned long msg,struct net_device * dev) isotp_notify() argument 1916 struct isotp_sock *so = isotp_sk(sk); isotp_sock_destruct() local 1931 struct isotp_sock *so = isotp_sk(sk); isotp_init() local 1987 struct isotp_sock *so = isotp_sk(sk); isotp_poll() local [all...] |