Searched refs:can_addr (Results 1 – 11 of 11) sorted by relevance
/linux-6.3-rc2/net/can/j1939/ |
A D | socket.c | 505 jsk->addr.sa = addr->can_addr.j1939.addr; in j1939_sk_bind() 547 if (!addr->can_addr.j1939.name && in j1939_sk_connect() 556 jsk->addr.da = addr->can_addr.j1939.addr; in j1939_sk_connect() 559 jsk->addr.pgn = addr->can_addr.j1939.pgn; in j1939_sk_connect() 579 addr->can_addr.j1939.pgn = jsk->addr.pgn; in j1939_sk_sock2sockaddr_can() 582 addr->can_addr.j1939.addr = jsk->addr.da; in j1939_sk_sock2sockaddr_can() 585 addr->can_addr.j1939.addr = jsk->addr.sa; in j1939_sk_sock2sockaddr_can() 843 paddr->can_addr.j1939.addr = skcb->addr.sa; in j1939_sk_recvmsg() 844 paddr->can_addr.j1939.pgn = skcb->addr.pgn; in j1939_sk_recvmsg() 892 if (addr->can_addr.j1939.name || in j1939_sk_alloc_skb() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/include/uapi/linux/ |
A D | can.h | 266 } can_addr; member
|
/linux-6.3-rc2/include/linux/ |
A D | percpu.h | 120 extern bool __is_kernel_percpu_address(unsigned long addr, unsigned long *can_addr);
|
A D | module.h | 580 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr); 719 static inline bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument
|
/linux-6.3-rc2/net/can/ |
A D | isotp.c | 80 #define ISOTP_MIN_NAMELEN CAN_REQUIRED_SIZE(struct sockaddr_can, can_addr.tp) 1215 canid_t tx_id = addr->can_addr.tp.tx_id; in isotp_bind() 1216 canid_t rx_id = addr->can_addr.tp.rx_id; in isotp_bind() 1233 if (tx_id != addr->can_addr.tp.tx_id) in isotp_bind() 1244 if (rx_id != addr->can_addr.tp.rx_id) in isotp_bind() 1329 addr->can_addr.tp.rx_id = so->rxid; in isotp_getname() 1330 addr->can_addr.tp.tx_id = so->txid; in isotp_getname()
|
/linux-6.3-rc2/kernel/module/ |
A D | main.c | 412 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument 429 if (can_addr) { in __is_module_percpu_address() 430 *can_addr = (unsigned long) (va - start); in __is_module_percpu_address() 431 *can_addr += (unsigned long) in __is_module_percpu_address() 489 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument
|
/linux-6.3-rc2/mm/ |
A D | percpu.c | 2305 bool __is_kernel_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_kernel_percpu_address() argument 2317 if (can_addr) { in __is_kernel_percpu_address() 2318 *can_addr = (unsigned long) (va - start); in __is_kernel_percpu_address() 2319 *can_addr += (unsigned long) in __is_kernel_percpu_address()
|
/linux-6.3-rc2/kernel/locking/ |
A D | lockdep.c | 956 unsigned long can_addr, addr = (unsigned long)lock; in assign_lock_key() local 969 if (__is_kernel_percpu_address(addr, &can_addr)) in assign_lock_key() 970 lock->key = (void *)can_addr; in assign_lock_key() 971 else if (__is_module_percpu_address(addr, &can_addr)) in assign_lock_key() 972 lock->key = (void *)can_addr; in assign_lock_key()
|
Completed in 44 milliseconds