Home
last modified time | relevance | path

Searched refs:can_addr (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/net/can/j1939/
Dsocket.c23 #define J1939_MIN_NAMELEN CAN_REQUIRED_SIZE(struct sockaddr_can, can_addr.j1939)
423 if (j1939_pgn_is_valid(addr->can_addr.j1939.pgn) && in j1939_sk_sanity_check()
424 !j1939_pgn_is_clean_pdu(addr->can_addr.j1939.pgn)) in j1939_sk_sanity_check()
502 if (j1939_pgn_is_valid(addr->can_addr.j1939.pgn)) in j1939_sk_bind()
503 jsk->pgn_rx_filter = addr->can_addr.j1939.pgn; in j1939_sk_bind()
504 jsk->addr.src_name = addr->can_addr.j1939.name; in j1939_sk_bind()
505 jsk->addr.sa = addr->can_addr.j1939.addr; in j1939_sk_bind()
547 if (!addr->can_addr.j1939.name && in j1939_sk_connect()
548 addr->can_addr.j1939.addr == J1939_NO_ADDR && in j1939_sk_connect()
555 jsk->addr.dst_name = addr->can_addr.j1939.name; in j1939_sk_connect()
[all …]
/kernel/linux/linux-5.10/Documentation/networking/
Dj1939.rst180 } can_addr;
185 ``can_addr.j1939.pgn`` specifies the PGN (max 0x3ffff). Individual bits are
188 ``can_addr.j1939.name`` contains the 64-bit J1939 NAME.
190 ``can_addr.j1939.addr`` contains the address.
210 If ``can_addr.j1939.name`` is set (!= 0) the NAME is looked up by the kernel and
211 the corresponding ADDR is used. If ``can_addr.j1939.name`` is not set (== 0),
212 ``can_addr.j1939.addr`` is used.
322 .can_addr.j1939 = {
355 .can_addr.j1939 = {
396 .can_addr.j1939 = {
[all …]
Dcan.rst264 } can_addr;
/kernel/linux/linux-5.10/tools/include/linux/
Dmodule.h7 static inline bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument
Dlockdep.h67 static __used bool __is_kernel_percpu_address(unsigned long addr, void *can_addr) in __is_kernel_percpu_address() argument
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dcan.h59 } can_addr; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dcan.h78 } can_addr; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dcan.h196 } can_addr; member
/kernel/linux/linux-5.10/include/linux/
Dpercpu.h127 extern bool __is_kernel_percpu_address(unsigned long addr, unsigned long *can_addr);
Dmodule.h571 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr);
724 static inline bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument
/kernel/linux/linux-5.10/net/can/
Disotp.c81 #define ISOTP_MIN_NAMELEN CAN_REQUIRED_SIZE(struct sockaddr_can, can_addr.tp)
1130 tx_id = addr->can_addr.tp.tx_id; in isotp_bind()
1136 rx_id = addr->can_addr.tp.rx_id; in isotp_bind()
1218 addr->can_addr.tp.rx_id = so->rxid; in isotp_getname()
1219 addr->can_addr.tp.tx_id = so->txid; in isotp_getname()
/kernel/linux/linux-5.10/mm/
Dpercpu.c2127 bool __is_kernel_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_kernel_percpu_address() argument
2139 if (can_addr) { in __is_kernel_percpu_address()
2140 *can_addr = (unsigned long) (va - start); in __is_kernel_percpu_address()
2141 *can_addr += (unsigned long) in __is_kernel_percpu_address()
/kernel/linux/linux-5.10/kernel/locking/
Dlockdep.c910 unsigned long can_addr, addr = (unsigned long)lock; in assign_lock_key() local
923 if (__is_kernel_percpu_address(addr, &can_addr)) in assign_lock_key()
924 lock->key = (void *)can_addr; in assign_lock_key()
925 else if (__is_module_percpu_address(addr, &can_addr)) in assign_lock_key()
926 lock->key = (void *)can_addr; in assign_lock_key()
/kernel/linux/linux-5.10/kernel/
Dmodule.c700 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument
717 if (can_addr) { in __is_module_percpu_address()
718 *can_addr = (unsigned long) (va - start); in __is_module_percpu_address()
719 *can_addr += (unsigned long) in __is_module_percpu_address()
778 bool __is_module_percpu_address(unsigned long addr, unsigned long *can_addr) in __is_module_percpu_address() argument