Searched refs:can_addr (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/net/can/j1939/ |
D | socket.c | 23 #define J1939_MIN_NAMELEN CAN_REQUIRED_SIZE(struct sockaddr_can, can_addr.j1939) 435 if (j1939_pgn_is_valid(addr->can_addr.j1939.pgn) && in j1939_sk_sanity_check() 436 !j1939_pgn_is_clean_pdu(addr->can_addr.j1939.pgn)) in j1939_sk_sanity_check() 514 if (j1939_pgn_is_valid(addr->can_addr.j1939.pgn)) in j1939_sk_bind() 515 jsk->pgn_rx_filter = addr->can_addr.j1939.pgn; in j1939_sk_bind() 516 jsk->addr.src_name = addr->can_addr.j1939.name; in j1939_sk_bind() 517 jsk->addr.sa = addr->can_addr.j1939.addr; in j1939_sk_bind() 559 if (!addr->can_addr.j1939.name && in j1939_sk_connect() 560 addr->can_addr.j1939.addr == J1939_NO_ADDR && in j1939_sk_connect() 567 jsk->addr.dst_name = addr->can_addr.j1939.name; in j1939_sk_connect() [all …]
|
/linux-6.6.21/Documentation/networking/ |
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 …]
|
D | can.rst | 297 } can_addr;
|
/linux-6.6.21/tools/include/linux/ |
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.6.21/include/uapi/linux/ |
D | can.h | 266 } can_addr; member
|
/linux-6.6.21/include/linux/ |
D | percpu.h | 125 extern bool __is_kernel_percpu_address(unsigned long addr, unsigned long *can_addr);
|
D | module.h | 609 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr); 777 static inline bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument
|
/linux-6.6.21/net/can/ |
D | isotp.c | 80 #define ISOTP_MIN_NAMELEN CAN_REQUIRED_SIZE(struct sockaddr_can, can_addr.tp) 1253 canid_t tx_id = addr->can_addr.tp.tx_id; in isotp_bind() 1254 canid_t rx_id = addr->can_addr.tp.rx_id; in isotp_bind() 1271 if (tx_id != addr->can_addr.tp.tx_id) in isotp_bind() 1282 if (rx_id != addr->can_addr.tp.rx_id) in isotp_bind() 1365 addr->can_addr.tp.rx_id = so->rxid; in isotp_getname() 1366 addr->can_addr.tp.tx_id = so->txid; in isotp_getname()
|
/linux-6.6.21/kernel/module/ |
D | main.c | 418 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument 435 if (can_addr) { in __is_module_percpu_address() 436 *can_addr = (unsigned long) (va - start); in __is_module_percpu_address() 437 *can_addr += (unsigned long) in __is_module_percpu_address() 495 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument
|
/linux-6.6.21/mm/ |
D | percpu.c | 2307 bool __is_kernel_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_kernel_percpu_address() argument 2319 if (can_addr) { in __is_kernel_percpu_address() 2320 *can_addr = (unsigned long) (va - start); in __is_kernel_percpu_address() 2321 *can_addr += (unsigned long) in __is_kernel_percpu_address()
|
/linux-6.6.21/kernel/locking/ |
D | lockdep.c | 950 unsigned long can_addr, addr = (unsigned long)lock; in assign_lock_key() local 963 if (__is_kernel_percpu_address(addr, &can_addr)) in assign_lock_key() 964 lock->key = (void *)can_addr; in assign_lock_key() 965 else if (__is_module_percpu_address(addr, &can_addr)) in assign_lock_key() 966 lock->key = (void *)can_addr; in assign_lock_key()
|