| /kernel/linux/linux-5.10/drivers/net/wan/ |
| D | sbni.c | 351 struct net_local *nl; in sbni_probe1() local 382 nl = netdev_priv(dev); in sbni_probe1() 383 if( !nl ) { in sbni_probe1() 389 memset( nl, 0, sizeof(struct net_local) ); in sbni_probe1() 390 spin_lock_init( &nl->lock ); in sbni_probe1() 400 nl->maxframe = DEFAULT_FRAME_LEN; in sbni_probe1() 401 nl->csr1.rate = baud[ num ]; in sbni_probe1() 403 if( (nl->cur_rxl_index = rxl[ num ]) == -1 ) { in sbni_probe1() 405 nl->cur_rxl_index = DEF_RXL; in sbni_probe1() 406 nl->delta_rxl = DEF_RXL_DELTA; in sbni_probe1() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/plip/ |
| D | plip.c | 285 struct net_local *nl = netdev_priv(dev); in plip_init_netdev() local 296 nl->port_owner = 0; in plip_init_netdev() 299 nl->trigger = PLIP_TRIGGER_WAIT; in plip_init_netdev() 300 nl->nibble = PLIP_NIBBLE_WAIT; in plip_init_netdev() 303 INIT_WORK(&nl->immediate, plip_bh); in plip_init_netdev() 304 INIT_DELAYED_WORK(&nl->deferred, plip_kick_bh); in plip_init_netdev() 307 INIT_DELAYED_WORK(&nl->timer, plip_timer_bh); in plip_init_netdev() 309 spin_lock_init(&nl->lock); in plip_init_netdev() 318 struct net_local *nl = in plip_kick_bh() local 321 if (nl->is_deferred) in plip_kick_bh() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/plip/ |
| D | plip.c | 291 struct net_local *nl = netdev_priv(dev); in plip_init_netdev() local 302 nl->port_owner = 0; in plip_init_netdev() 305 nl->trigger = PLIP_TRIGGER_WAIT; in plip_init_netdev() 306 nl->nibble = PLIP_NIBBLE_WAIT; in plip_init_netdev() 309 INIT_WORK(&nl->immediate, plip_bh); in plip_init_netdev() 310 INIT_DELAYED_WORK(&nl->deferred, plip_kick_bh); in plip_init_netdev() 313 INIT_DELAYED_WORK(&nl->timer, plip_timer_bh); in plip_init_netdev() 315 spin_lock_init(&nl->lock); in plip_init_netdev() 324 struct net_local *nl = in plip_kick_bh() local 327 if (nl->is_deferred) in plip_kick_bh() [all …]
|
| /kernel/linux/linux-5.10/tools/scripts/ |
| D | utilities.mak | 8 # nl-escape 10 # Usage: escape = $(call nl-escape[,escape]) 16 nl-escape = $(if $(1),$(1),m822df3020w6a44id34bt574ctac44eb9f4n) 18 # escape-nl 20 # Usage: escaped-text = $(call escape-nl,text[,escape]) 30 # $(call unescape-nl...) 32 escape-nl = $(subst $(newline),$(call nl-escape,$(2)),$(1)) 34 # unescape-nl 36 # Usage: text = $(call unescape-nl,escaped-text[,escape]) 38 # See escape-nl. [all …]
|
| /kernel/linux/linux-6.6/tools/scripts/ |
| D | utilities.mak | 8 # nl-escape 10 # Usage: escape = $(call nl-escape[,escape]) 16 nl-escape = $(if $(1),$(1),m822df3020w6a44id34bt574ctac44eb9f4n) 18 # escape-nl 20 # Usage: escaped-text = $(call escape-nl,text[,escape]) 30 # $(call unescape-nl...) 32 escape-nl = $(subst $(newline),$(call nl-escape,$(2)),$(1)) 34 # unescape-nl 36 # Usage: text = $(call unescape-nl,escaped-text[,escape]) 38 # See escape-nl. [all …]
|
| /kernel/linux/linux-6.6/Documentation/netlink/specs/ |
| D | devlink.yaml | 263 pre: devlink-nl-pre-doit 264 post: devlink-nl-post-doit 289 pre: devlink-nl-pre-doit-port 290 post: devlink-nl-post-doit 317 pre: devlink-nl-pre-doit 318 post: devlink-nl-post-doit 343 pre: devlink-nl-pre-doit 344 post: devlink-nl-post-doit 370 pre: devlink-nl-pre-doit-port 371 post: devlink-nl-post-doit [all …]
|
| /kernel/linux/linux-6.6/fs/xfs/libxfs/ |
| D | xfs_trans_space.h | 59 #define XFS_DIRENTER_MAX_SPLIT(mp,nl) 1 argument 60 #define XFS_DIRENTER_SPACE_RES(mp,nl) \ argument 62 XFS_DIRENTER_MAX_SPLIT(mp,nl)) 79 #define XFS_CREATE_SPACE_RES(mp,nl) \ argument 80 (XFS_IALLOC_SPACE_RES(mp) + XFS_DIRENTER_SPACE_RES(mp,nl)) 87 #define XFS_LINK_SPACE_RES(mp,nl) \ argument 88 XFS_DIRENTER_SPACE_RES(mp,nl) 89 #define XFS_MKDIR_SPACE_RES(mp,nl) \ argument 90 (XFS_IALLOC_SPACE_RES(mp) + XFS_DIRENTER_SPACE_RES(mp,nl)) 98 #define XFS_RENAME_SPACE_RES(mp,nl) \ argument [all …]
|
| /kernel/linux/linux-5.10/fs/xfs/libxfs/ |
| D | xfs_trans_space.h | 52 #define XFS_DIRENTER_MAX_SPLIT(mp,nl) 1 argument 53 #define XFS_DIRENTER_SPACE_RES(mp,nl) \ argument 55 XFS_DIRENTER_MAX_SPLIT(mp,nl)) 73 #define XFS_CREATE_SPACE_RES(mp,nl) \ argument 74 (XFS_IALLOC_SPACE_RES(mp) + XFS_DIRENTER_SPACE_RES(mp,nl)) 81 #define XFS_LINK_SPACE_RES(mp,nl) \ argument 82 XFS_DIRENTER_SPACE_RES(mp,nl) 83 #define XFS_MKDIR_SPACE_RES(mp,nl) \ argument 84 (XFS_IALLOC_SPACE_RES(mp) + XFS_DIRENTER_SPACE_RES(mp,nl)) 92 #define XFS_RENAME_SPACE_RES(mp,nl) \ argument [all …]
|
| /kernel/linux/linux-5.10/kernel/ |
| D | notifier.c | 22 static int notifier_chain_register(struct notifier_block **nl, in notifier_chain_register() argument 25 while ((*nl) != NULL) { in notifier_chain_register() 26 if (unlikely((*nl) == n)) { in notifier_chain_register() 30 if (n->priority > (*nl)->priority) in notifier_chain_register() 32 nl = &((*nl)->next); in notifier_chain_register() 34 n->next = *nl; in notifier_chain_register() 35 rcu_assign_pointer(*nl, n); in notifier_chain_register() 39 static int notifier_chain_unregister(struct notifier_block **nl, in notifier_chain_unregister() argument 42 while ((*nl) != NULL) { in notifier_chain_unregister() 43 if ((*nl) == n) { in notifier_chain_unregister() [all …]
|
| /kernel/linux/linux-6.6/tools/net/ynl/ |
| D | ynl-gen-c.py | 171 ri.cw.nl() 180 ri.cw.nl() 1012 self.nl = cw.nlib 1102 def nl(self): member in CodeWriter 1188 self.nl() 1345 cw.nl() 1351 cw.nl() 1366 cw.nl() 1383 cw.nl() 1401 cw.nl() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
| D | nf-queue.c | 211 struct mnl_socket *nl; in open_queue() local 216 nl = mnl_socket_open(NETLINK_NETFILTER); in open_queue() 217 if (nl == NULL) { in open_queue() 222 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) { in open_queue() 230 if (mnl_socket_sendto(nl, nlh, nlh->nlmsg_len) < 0) { in open_queue() 242 if (mnl_socket_sendto(nl, nlh, nlh->nlmsg_len) < 0) { in open_queue() 249 if (opts.timeout && setsockopt(mnl_socket_get_fd(nl), in open_queue() 256 return nl; in open_queue() 273 struct mnl_socket *nl; in mainloop() local 285 nl = open_queue(); in mainloop() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/netfilter/ |
| D | nf-queue.c | 211 struct mnl_socket *nl; in open_queue() local 216 nl = mnl_socket_open(NETLINK_NETFILTER); in open_queue() 217 if (nl == NULL) { in open_queue() 222 if (mnl_socket_bind(nl, 0, MNL_SOCKET_AUTOPID) < 0) { in open_queue() 230 if (mnl_socket_sendto(nl, nlh, nlh->nlmsg_len) < 0) { in open_queue() 242 if (mnl_socket_sendto(nl, nlh, nlh->nlmsg_len) < 0) { in open_queue() 249 if (opts.timeout && setsockopt(mnl_socket_get_fd(nl), in open_queue() 256 return nl; in open_queue() 273 struct mnl_socket *nl; in mainloop() local 285 nl = open_queue(); in mainloop() [all …]
|
| /kernel/linux/linux-6.6/kernel/ |
| D | notifier.c | 25 static int notifier_chain_register(struct notifier_block **nl, in notifier_chain_register() argument 29 while ((*nl) != NULL) { in notifier_chain_register() 30 if (unlikely((*nl) == n)) { in notifier_chain_register() 35 if (n->priority > (*nl)->priority) in notifier_chain_register() 37 if (n->priority == (*nl)->priority && unique_priority) in notifier_chain_register() 39 nl = &((*nl)->next); in notifier_chain_register() 41 n->next = *nl; in notifier_chain_register() 42 rcu_assign_pointer(*nl, n); in notifier_chain_register() 47 static int notifier_chain_unregister(struct notifier_block **nl, in notifier_chain_unregister() argument 50 while ((*nl) != NULL) { in notifier_chain_unregister() [all …]
|
| /kernel/linux/linux-5.10/fs/ceph/ |
| D | ioctl.c | 71 struct ceph_ioctl_layout nl; in ceph_ioctl_set_layout() local 82 memset(&nl, 0, sizeof(nl)); in ceph_ioctl_set_layout() 84 nl.stripe_count = l.stripe_count; in ceph_ioctl_set_layout() 86 nl.stripe_count = ci->i_layout.stripe_count; in ceph_ioctl_set_layout() 88 nl.stripe_unit = l.stripe_unit; in ceph_ioctl_set_layout() 90 nl.stripe_unit = ci->i_layout.stripe_unit; in ceph_ioctl_set_layout() 92 nl.object_size = l.object_size; in ceph_ioctl_set_layout() 94 nl.object_size = ci->i_layout.object_size; in ceph_ioctl_set_layout() 96 nl.data_pool = l.data_pool; in ceph_ioctl_set_layout() 98 nl.data_pool = ci->i_layout.pool_id; in ceph_ioctl_set_layout() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/vfp/ |
| D | vfp.h | 44 static inline void add128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in add128() argument 50 : "=r" (nl), "=r" (nh) in add128() 51 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) in add128() 54 *resl = nl; in add128() 57 static inline void sub128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in sub128() argument 63 : "=r" (nl), "=r" (nh) in sub128() 64 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) in sub128() 67 *resl = nl; in sub128() 72 u32 nh, nl, mh, ml; in mul64to128() local 75 nl = n; in mul64to128() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/vfp/ |
| D | vfp.h | 44 static inline void add128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in add128() argument 50 : "=r" (nl), "=r" (nh) in add128() 51 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) in add128() 54 *resl = nl; in add128() 57 static inline void sub128(u64 *resh, u64 *resl, u64 nh, u64 nl, u64 mh, u64 ml) in sub128() argument 63 : "=r" (nl), "=r" (nh) in sub128() 64 : "0" (nl), "1" (nh), "r" (ml), "r" (mh) in sub128() 67 *resl = nl; in sub128() 72 u32 nh, nl, mh, ml; in mul64to128() local 75 nl = n; in mul64to128() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/ibm/emac/ |
| D | mal.c | 38 MAL_DBG(mal, "reg(%08x, %08x)" NL, in mal_register_commac() 68 MAL_DBG(mal, "unreg(%08x, %08x)" NL, in mal_unregister_commac() 85 MAL_DBG(mal, "set_rbcs(%d, %lu)" NL, channel, size); in mal_set_rcbs() 117 MAL_DBG(mal, "enable_tx(%d)" NL, channel); in mal_enable_tx_channel() 129 MAL_DBG(mal, "disable_tx(%d)" NL, channel); in mal_disable_tx_channel() 146 MAL_DBG(mal, "enable_rx(%d)" NL, channel); in mal_enable_rx_channel() 166 MAL_DBG(mal, "disable_rx(%d)" NL, channel); in mal_disable_rx_channel() 175 MAL_DBG(mal, "poll_add(%p)" NL, commac); in mal_poll_add() 191 MAL_DBG(mal, "poll_del(%p)" NL, commac); in mal_poll_del() 201 MAL_DBG2(mal, "enable_irq" NL); in mal_enable_eob_irq() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/ibm/emac/ |
| D | mal.c | 40 MAL_DBG(mal, "reg(%08x, %08x)" NL, in mal_register_commac() 70 MAL_DBG(mal, "unreg(%08x, %08x)" NL, in mal_unregister_commac() 87 MAL_DBG(mal, "set_rbcs(%d, %lu)" NL, channel, size); in mal_set_rcbs() 119 MAL_DBG(mal, "enable_tx(%d)" NL, channel); in mal_enable_tx_channel() 131 MAL_DBG(mal, "disable_tx(%d)" NL, channel); in mal_disable_tx_channel() 148 MAL_DBG(mal, "enable_rx(%d)" NL, channel); in mal_enable_rx_channel() 168 MAL_DBG(mal, "disable_rx(%d)" NL, channel); in mal_disable_rx_channel() 177 MAL_DBG(mal, "poll_add(%p)" NL, commac); in mal_poll_add() 193 MAL_DBG(mal, "poll_del(%p)" NL, commac); in mal_poll_del() 203 MAL_DBG2(mal, "enable_irq" NL); in mal_enable_eob_irq() [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/perf/ |
| D | hv-24x7.c | 248 unsigned int nl = be16_to_cpu(ev->event_name_len); in event_desc() local 249 __be16 *desc_len = (__be16 *)(ev->remainder + nl - 2); in event_desc() 252 return (char *)ev->remainder + nl; in event_desc() 257 unsigned int nl = be16_to_cpu(ev->event_name_len); in event_long_desc() local 258 __be16 *desc_len_ = (__be16 *)(ev->remainder + nl - 2); in event_long_desc() 260 __be16 *long_desc_len = (__be16 *)(ev->remainder + nl + desc_len - 2); in event_long_desc() 263 return (char *)ev->remainder + nl + desc_len; in event_long_desc() 287 unsigned int nl = be16_to_cpu(ev->event_name_len); in event_end() local 289 if (nl < 2) { in event_end() 290 pr_debug("%s: name length too short: %d", __func__, nl); in event_end() [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/perf/ |
| D | hv-24x7.c | 255 unsigned nl = be16_to_cpu(ev->event_name_len); in event_desc() local 256 __be16 *desc_len = (__be16 *)(ev->remainder + nl - 2); in event_desc() 259 return (char *)ev->remainder + nl; in event_desc() 264 unsigned nl = be16_to_cpu(ev->event_name_len); in event_long_desc() local 265 __be16 *desc_len_ = (__be16 *)(ev->remainder + nl - 2); in event_long_desc() 267 __be16 *long_desc_len = (__be16 *)(ev->remainder + nl + desc_len - 2); in event_long_desc() 270 return (char *)ev->remainder + nl + desc_len; in event_long_desc() 294 unsigned nl = be16_to_cpu(ev->event_name_len); in event_end() local 296 if (nl < 2) { in event_end() 297 pr_debug("%s: name length too short: %d", __func__, nl); in event_end() [all …]
|
| /kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
| D | net_socket_test_005.cpp | 42 uint32_t nl = htonl(0x12345678); in ByteOrderTest() local 43 ICUNIT_ASSERT_EQUAL(nl, 0x78563412, nl); in ByteOrderTest() 54 uint32_t nl = htonl(0x12345678); in ByteOrderTest() 55 ICUNIT_ASSERT_EQUAL(nl, 0x12345678, nl); in ByteOrderTest()
|
| /kernel/linux/linux-6.6/fs/ceph/ |
| D | ioctl.c | 72 struct ceph_ioctl_layout nl; in ceph_ioctl_set_layout() local 83 memset(&nl, 0, sizeof(nl)); in ceph_ioctl_set_layout() 85 nl.stripe_count = l.stripe_count; in ceph_ioctl_set_layout() 87 nl.stripe_count = ci->i_layout.stripe_count; in ceph_ioctl_set_layout() 89 nl.stripe_unit = l.stripe_unit; in ceph_ioctl_set_layout() 91 nl.stripe_unit = ci->i_layout.stripe_unit; in ceph_ioctl_set_layout() 93 nl.object_size = l.object_size; in ceph_ioctl_set_layout() 95 nl.object_size = ci->i_layout.object_size; in ceph_ioctl_set_layout() 97 nl.data_pool = l.data_pool; in ceph_ioctl_set_layout() 99 nl.data_pool = ci->i_layout.pool_id; in ceph_ioctl_set_layout() [all …]
|
| /kernel/linux/linux-5.10/net/tipc/ |
| D | bcast.c | 731 void tipc_nlist_init(struct tipc_nlist *nl, u32 self) in tipc_nlist_init() argument 733 memset(nl, 0, sizeof(*nl)); in tipc_nlist_init() 734 INIT_LIST_HEAD(&nl->list); in tipc_nlist_init() 735 nl->self = self; in tipc_nlist_init() 738 void tipc_nlist_add(struct tipc_nlist *nl, u32 node) in tipc_nlist_add() argument 740 if (node == nl->self) in tipc_nlist_add() 741 nl->local = true; in tipc_nlist_add() 742 else if (tipc_dest_push(&nl->list, node, 0)) in tipc_nlist_add() 743 nl->remote++; in tipc_nlist_add() 746 void tipc_nlist_del(struct tipc_nlist *nl, u32 node) in tipc_nlist_del() argument [all …]
|
| /kernel/linux/linux-6.6/net/tipc/ |
| D | bcast.c | 731 void tipc_nlist_init(struct tipc_nlist *nl, u32 self) in tipc_nlist_init() argument 733 memset(nl, 0, sizeof(*nl)); in tipc_nlist_init() 734 INIT_LIST_HEAD(&nl->list); in tipc_nlist_init() 735 nl->self = self; in tipc_nlist_init() 738 void tipc_nlist_add(struct tipc_nlist *nl, u32 node) in tipc_nlist_add() argument 740 if (node == nl->self) in tipc_nlist_add() 741 nl->local = true; in tipc_nlist_add() 742 else if (tipc_dest_push(&nl->list, node, 0)) in tipc_nlist_add() 743 nl->remote++; in tipc_nlist_add() 746 void tipc_nlist_del(struct tipc_nlist *nl, u32 node) in tipc_nlist_del() argument [all …]
|
| /kernel/linux/linux-6.6/samples/bpf/ |
| D | xdp_router_ipv4_user.c | 262 struct nlmsghdr nl; in get_route_table() member 280 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_route_table() 281 req.nl.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; in get_route_table() 282 req.nl.nlmsg_type = RTM_GETROUTE; in get_route_table() 286 req.nl.nlmsg_pid = 0; in get_route_table() 287 req.nl.nlmsg_seq = ++seq; in get_route_table() 289 iov.iov_base = (void *)&req.nl; in get_route_table() 290 iov.iov_len = req.nl.nlmsg_len; in get_route_table() 398 struct nlmsghdr nl; in get_arp_table() member 416 req.nl.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in get_arp_table() [all …]
|