Searched refs:can_addr (Results 1 – 11 of 11) sorted by relevance
/linux/net/can/j1939/ |
A D | socket.c | 502 jsk->addr.sa = addr->can_addr.j1939.addr; in j1939_sk_bind() 544 if (!addr->can_addr.j1939.name && in j1939_sk_connect() 553 jsk->addr.da = addr->can_addr.j1939.addr; in j1939_sk_connect() 556 jsk->addr.pgn = addr->can_addr.j1939.pgn; in j1939_sk_connect() 576 addr->can_addr.j1939.pgn = jsk->addr.pgn; in j1939_sk_sock2sockaddr_can() 579 addr->can_addr.j1939.addr = jsk->addr.da; in j1939_sk_sock2sockaddr_can() 582 addr->can_addr.j1939.addr = jsk->addr.sa; in j1939_sk_sock2sockaddr_can() 840 paddr->can_addr.j1939.addr = skcb->addr.sa; in j1939_sk_recvmsg() 841 paddr->can_addr.j1939.pgn = skcb->addr.pgn; in j1939_sk_recvmsg() 889 if (addr->can_addr.j1939.name || in j1939_sk_alloc_skb() [all …]
|
/linux/net/can/ |
A D | isotp.c | 1100 if (addr->can_addr.tp.tx_id & (CAN_ERR_FLAG | CAN_RTR_FLAG)) in isotp_bind() 1114 if (addr->can_addr.tp.rx_id == addr->can_addr.tp.tx_id) { in isotp_bind() 1119 if (addr->can_addr.tp.rx_id & (CAN_ERR_FLAG | CAN_RTR_FLAG)) { in isotp_bind() 1126 addr->can_addr.tp.rx_id == so->rxid && in isotp_bind() 1127 addr->can_addr.tp.tx_id == so->txid) in isotp_bind() 1151 can_rx_register(net, dev, addr->can_addr.tp.rx_id, in isotp_bind() 1152 SINGLE_MASK(addr->can_addr.tp.rx_id), in isotp_bind() 1172 so->rxid = addr->can_addr.tp.rx_id; in isotp_bind() 1173 so->txid = addr->can_addr.tp.tx_id; in isotp_bind() 1200 addr->can_addr.tp.rx_id = so->rxid; in isotp_getname() [all …]
|
/linux/Documentation/networking/ |
A D | j1939.rst | 218 } can_addr; 223 ``can_addr.j1939.pgn`` specifies the PGN (max 0x3ffff). Individual bits are 226 ``can_addr.j1939.name`` contains the 64-bit J1939 NAME. 228 ``can_addr.j1939.addr`` contains the address. 248 If ``can_addr.j1939.name`` is set (!= 0) the NAME is looked up by the kernel and 249 the corresponding ADDR is used. If ``can_addr.j1939.name`` is not set (== 0), 250 ``can_addr.j1939.addr`` is used. 360 .can_addr.j1939 = { 393 .can_addr.j1939 = { 434 .can_addr.j1939 = { [all …]
|
A D | can.rst | 297 } can_addr;
|
/linux/tools/include/linux/ |
A D | module.h | 7 static inline bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument
|
/linux/include/uapi/linux/ |
A D | can.h | 215 } can_addr; member
|
/linux/include/linux/ |
A D | percpu.h | 126 extern bool __is_kernel_percpu_address(unsigned long addr, unsigned long *can_addr);
|
A D | module.h | 564 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr); 702 static inline bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument
|
/linux/mm/ |
A D | percpu.c | 2315 bool __is_kernel_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_kernel_percpu_address() argument 2327 if (can_addr) { in __is_kernel_percpu_address() 2328 *can_addr = (unsigned long) (va - start); in __is_kernel_percpu_address() 2329 *can_addr += (unsigned long) in __is_kernel_percpu_address()
|
/linux/kernel/locking/ |
A D | lockdep.c | 925 unsigned long can_addr, addr = (unsigned long)lock; in assign_lock_key() local 938 if (__is_kernel_percpu_address(addr, &can_addr)) in assign_lock_key() 939 lock->key = (void *)can_addr; in assign_lock_key() 940 else if (__is_module_percpu_address(addr, &can_addr)) in assign_lock_key() 941 lock->key = (void *)can_addr; in assign_lock_key()
|
/linux/kernel/ |
A D | module.c | 633 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument 650 if (can_addr) { in __is_module_percpu_address() 651 *can_addr = (unsigned long) (va - start); in __is_module_percpu_address() 652 *can_addr += (unsigned long) in __is_module_percpu_address() 710 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument
|
Completed in 42 milliseconds