Searched refs:can_addr (Results 1 – 10 of 10) sorted by relevance
| /linux/net/can/j1939/ |
| H A D | socket.c | 24 #define J1939_MIN_NAMELEN CAN_REQUIRED_SIZE(struct sockaddr_can, can_addr.j1939) 437 if (j1939_pgn_is_valid(addr->can_addr.j1939.pgn) && in j1939_sk_sanity_check() 438 !j1939_pgn_is_clean_pdu(addr->can_addr.j1939.pgn)) in j1939_sk_sanity_check() 522 if (j1939_pgn_is_valid(addr->can_addr.j1939.pgn)) in j1939_sk_bind() 523 jsk->pgn_rx_filter = addr->can_addr.j1939.pgn; in j1939_sk_bind() 524 jsk->addr.src_name = addr->can_addr.j1939.name; in j1939_sk_bind() 525 jsk->addr.sa = addr->can_addr.j1939.addr; in j1939_sk_bind() 570 if (!addr->can_addr.j1939.name && in j1939_sk_connect() 571 addr->can_addr.j1939.addr == J1939_NO_ADDR && in j1939_sk_connect() 578 jsk->addr.dst_name = addr->can_addr.j1939.name; in j1939_sk_connect() [all …]
|
| /linux/tools/include/linux/ |
| H 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/Documentation/networking/ |
| H A D | iso15765-2.rst | 116 } can_addr; 122 * ``can_addr.tp.rx_id`` specifies the receive (RX) CAN ID and will be used as 125 * ``can_addr.tp.tx_id`` specifies the transmit (TX) CAN ID 372 addr.can_addr.tp.tx_id = 0x18DA42F1 | CAN_EFF_FLAG; 373 addr.can_addr.tp.rx_id = 0x18DAF142 | CAN_EFF_FLAG;
|
| H A D | j1939.rst | 302 } can_addr; 307 ``can_addr.j1939.pgn`` specifies the PGN (max 0x3ffff). Individual bits are 310 ``can_addr.j1939.name`` contains the 64-bit J1939 NAME. 312 ``can_addr.j1939.addr`` contains the address. 332 If ``can_addr.j1939.name`` is set (!= 0) the NAME is looked up by the kernel and 333 the corresponding ADDR is used. If ``can_addr.j1939.name`` is not set (== 0), 334 ``can_addr.j1939.addr`` is used. 897 .can_addr.j1939 = { 930 .can_addr.j1939 = { 971 .can_addr.j1939 = { [all …]
|
| H A D | can.rst | 297 } can_addr;
|
| /linux/include/uapi/linux/ |
| H A D | can.h | 272 } can_addr; member
|
| /linux/include/linux/ |
| H A D | percpu.h | 129 extern bool __is_kernel_percpu_address(unsigned long addr, unsigned long *can_addr);
|
| /linux/kernel/module/ |
| H A D | main.c | 500 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument 516 if (can_addr) { in __is_module_percpu_address() 517 *can_addr = (unsigned long) (va - start); in __is_module_percpu_address() 518 *can_addr += (unsigned long) in __is_module_percpu_address() 573 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument
|
| /linux/mm/ |
| H A D | percpu.c | 2290 bool __is_kernel_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_kernel_percpu_address() 2302 if (can_addr) { 2303 *can_addr = (unsigned long) (va - start); 2304 *can_addr += (unsigned long) 2277 __is_kernel_percpu_address(unsigned long addr,unsigned long * can_addr) __is_kernel_percpu_address() argument
|
| /linux/kernel/locking/ |
| H A D | lockdep.c | 957 unsigned long can_addr, addr = (unsigned long)lock; in assign_lock_key() local 970 if (__is_kernel_percpu_address(addr, &can_addr)) in assign_lock_key() 971 lock->key = (void *)can_addr; in assign_lock_key() 972 else if (__is_module_percpu_address(addr, &can_addr)) in assign_lock_key() 973 lock->key = (void *)can_addr; in assign_lock_key()
|