/linux/drivers/net/plip/ |
H A 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 in plip_kick_bh() 368 struct net_local *nl = container_of(work, struct net_local, immediate); plip_bh() local 386 struct net_local *nl = plip_timer_bh() local 400 plip_bh_timeout_error(struct net_device * dev,struct net_local * nl,struct plip_local * snd,struct plip_local * rcv,int error) plip_bh_timeout_error() argument 475 plip_none(struct net_device * dev,struct net_local * nl,struct plip_local * snd,struct plip_local * rcv) plip_none() argument 588 plip_receive_packet(struct net_device * dev,struct net_local * nl,struct plip_local * snd,struct plip_local * rcv) plip_receive_packet() argument 756 plip_send_packet(struct net_device * dev,struct net_local * nl,struct plip_local * snd,struct plip_local * rcv) plip_send_packet() argument 876 plip_connection_close(struct net_device * dev,struct net_local * nl,struct plip_local * snd,struct plip_local * rcv) plip_connection_close() argument 894 plip_error(struct net_device * dev,struct net_local * nl,struct plip_local * snd,struct plip_local * rcv) plip_error() argument 922 struct net_local *nl; plip_interrupt() local 972 struct net_local *nl = netdev_priv(dev); plip_tx_packet() local 1069 struct net_local *nl = netdev_priv(dev); plip_open() local 1129 struct net_local *nl = netdev_priv(dev); plip_close() local 1176 struct net_local *nl = netdev_priv(dev); plip_preempt() local 1192 struct net_local *nl = netdev_priv(dev); plip_wakeup() local 1219 struct net_local *nl = netdev_priv(dev); plip_siocdevprivate() local 1270 struct net_local *nl; plip_attach() local 1370 struct net_local *nl = netdev_priv(dev); plip_cleanup_module() local [all...] |
/linux/tools/testing/selftests/drivers/net/ |
H A D | napi_threaded.py | 14 def _assert_napi_threaded_enabled(nl, napi_id) -> None: argument 15 napi = nl.napi_get({'id': napi_id}) 20 def _assert_napi_threaded_disabled(nl, napi_id) -> None: argument 21 napi = nl.napi_get({'id': napi_id}) 41 def enable_dev_threaded_disable_napi_threaded(cfg, nl) -> None: argument 48 napis = nl.napi_get({'ifindex': cfg.ifindex}, dump=True) 60 _assert_napi_threaded_enabled(nl, napi0_id) 61 _assert_napi_threaded_enabled(nl, napi1_id) 64 nl.napi_set({'id': napi1_id, 'threaded': 'disabled'}) 68 _assert_napi_threaded_enabled(nl, napi0_id) [all …]
|
H A D | queues.py | 20 def nl_get_queues(cfg, nl, qtype='rx'): argument 21 queues = nl.queue_get({'ifindex': cfg.ifindex}, dump=True) 27 def check_xsk(cfg, nl, xdp_queue_id=0) -> None: argument 40 queues = nl.queue_get({'ifindex': cfg.ifindex}, dump=True) 61 def get_queues(cfg, nl) -> None: argument 73 def addremove_queues(cfg, nl) -> None: argument 74 queues = nl_get_queues(cfg, nl) 90 queues = nl_get_queues(cfg, nl) 95 queues = nl_get_queues(cfg, nl) 100 def check_down(cfg, nl) argument [all...] |
/linux/Documentation/netlink/specs/ |
H A D | devlink.yaml | 1286 pre: devlink-nl-pre-doit 1287 post: devlink-nl-post-doit 1309 pre: devlink-nl-pre-doit-port 1310 post: devlink-nl-post-doit 1334 pre: devlink-nl-pre-doit-port 1335 post: devlink-nl-post-doit 1351 pre: devlink-nl-pre-doit 1352 post: devlink-nl-post-doit 1373 pre: devlink-nl-pre-doit-port 1374 post: devlink-nl [all...] |
H A D | ovpn.yaml | 388 pre: ovpn-nl-pre-doit 389 post: ovpn-nl-post-doit 400 pre: ovpn-nl-pre-doit 401 post: ovpn-nl-post-doit 412 pre: ovpn-nl-pre-doit 413 post: ovpn-nl-post-doit 434 pre: ovpn-nl-pre-doit 435 post: ovpn-nl-post-doit 452 pre: ovpn-nl-pre-doit 453 post: ovpn-nl [all...] |
H A D | net_shaper.yaml | 214 pre: net-shaper-nl-pre-doit 215 post: net-shaper-nl-post-doit 233 pre: net-shaper-nl-pre-dumpit 234 post: net-shaper-nl-post-dumpit 250 pre: net-shaper-nl-pre-doit 251 post: net-shaper-nl-post-doit 281 pre: net-shaper-nl-pre-doit 282 post: net-shaper-nl-post-doit 312 pre: net-shaper-nl-pre-doit 313 post: net-shaper-nl [all...] |
/linux/tools/scripts/ |
H A 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,escape [all...] |
/linux/kernel/ |
H A D | notifier.c | 17 static int notifier_chain_register(struct notifier_block **nl, in notifier_chain_register() argument 21 while ((*nl) != NULL) { in notifier_chain_register() 22 if (unlikely((*nl) == n)) { in notifier_chain_register() 27 if (n->priority > (*nl)->priority) in notifier_chain_register() 29 if (n->priority == (*nl)->priority && unique_priority) in notifier_chain_register() 31 nl = &((*nl)->next); in notifier_chain_register() 33 n->next = *nl; in notifier_chain_register() 34 rcu_assign_pointer(*nl, n); in notifier_chain_register() 39 static int notifier_chain_unregister(struct notifier_block **nl, in notifier_chain_unregister() argument 65 notifier_call_chain(struct notifier_block ** nl,unsigned long val,void * v,int nr_to_call,int * nr_calls) notifier_call_chain() argument 114 notifier_call_chain_robust(struct notifier_block ** nl,unsigned long val_up,unsigned long val_down,void * v) notifier_call_chain_robust() argument [all...] |
/linux/tools/testing/selftests/net/netfilter/ |
H A 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 in mainloop() [all...] |
/linux/drivers/net/ethernet/ibm/emac/ |
H A 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...] |
H A D | core.c | 122 DBG(dev, "%s" NL, error); in emac_report_timeout_error() 209 DBG(dev, "tx_enable" NL); in emac_tx_enable() 221 DBG(dev, "tx_disable" NL); in emac_tx_disable() 244 DBG(dev, "rx_enable" NL); in emac_rx_enable() 270 DBG(dev, "rx_disable" NL); in emac_rx_disable() 322 DBG(dev, "rx_disable_async" NL); in emac_rx_disable_async() 335 DBG(dev, "reset" NL); in emac_reset() 418 DBG(dev, "hash_mc %d" NL, netdev_mc_count(dev->ndev)); in emac_hash_mc() 424 DBG2(dev, "mc %pM" NL, ha->addr); in emac_hash_mc() 470 DBG2(dev, "__emac_calc_base_mr1" NL); in __emac_calc_base_mr1() [all...] |
H A D | zmii.c | 89 ZMII_DBG(dev, "init(%d, %d)" NL, input, *mode); in zmii_attach() 111 ZMII_DBG(dev, "autodetecting mode, FER = 0x%08x" NL, r); in zmii_attach() 155 ZMII_DBG2(dev, "get_mdio(%d)" NL, input); in zmii_get_mdio() 167 ZMII_DBG2(dev, "put_mdio(%d)" NL, input); in zmii_put_mdio() 181 ZMII_DBG(dev, "speed(%d, %d)" NL, input, speed); in zmii_set_speed() 201 ZMII_DBG(dev, "detach(%d)" NL, input); in zmii_detach()
|
/linux/tools/net/ynl/pyynl/ |
H A D | ynl_gen_c.py | 257 ri.cw.nl() 266 ri.cw.nl() 1554 self.nl = cw.nlib 1682 def nl(self): member in CodeWriter 1768 self.nl() 1947 cw.nl() 1953 cw.nl() 1972 cw.nl() 1978 cw.nl() 1993 cw.nl() [all...] |
/linux/fs/ceph/ |
H A 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 in ceph_ioctl_set_layout() [all...] |
/linux/net/tipc/ |
H A 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 in tipc_nlist_add() 746 tipc_nlist_del(struct tipc_nlist * nl,u32 node) tipc_nlist_del() argument 754 tipc_nlist_purge(struct tipc_nlist * nl) tipc_nlist_purge() argument [all...] |
H A D | bcast.h | 63 void tipc_nlist_init(struct tipc_nlist *nl, u32 self); 64 void tipc_nlist_purge(struct tipc_nlist *nl); 65 void tipc_nlist_add(struct tipc_nlist *nl, u32 node); 66 void tipc_nlist_del(struct tipc_nlist *nl, u32 node);
|
/linux/samples/bpf/ |
H A 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 in get_arp_table() [all...] |
/linux/tools/perf/arch/loongarch/util/ |
H A D | header.c | 29 char *line2, *nl; in _get_field() local 36 nl = strrchr(line, '\n'); in _get_field() 37 if (!nl) in _get_field() 40 return strndup(line2, nl - line2); in _get_field()
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-bdi | 3 Contact: Peter Zijlstra <a.p.zijlstra@chello.nl> 28 Contact: Peter Zijlstra <a.p.zijlstra@chello.nl> 35 Contact: Peter Zijlstra <a.p.zijlstra@chello.nl> 64 Contact: Peter Zijlstra <a.p.zijlstra@chello.nl> 129 Contact: Peter Zijlstra <a.p.zijlstra@chello.nl>
|
/linux/fs/xfs/scrub/ |
H A D | nlinks.c | 125 struct xchk_nlink nl; in xchk_nlinks_update_incore() local 131 error = xfarray_load_sparse(xnc->nlinks, ino, &nl); in xchk_nlinks_update_incore() 135 trace_xchk_nlinks_update_incore(xnc->sc->mp, ino, &nl, parents_delta, in xchk_nlinks_update_incore() 138 careful_add(&nl.parents, parents_delta); in xchk_nlinks_update_incore() 139 careful_add(&nl.backrefs, backrefs_delta); in xchk_nlinks_update_incore() 140 careful_add(&nl.children, children_delta); in xchk_nlinks_update_incore() 142 nl.flags |= XCHK_NLINK_WRITTEN; in xchk_nlinks_update_incore() 143 error = xfarray_store(xnc->nlinks, ino, &nl); in xchk_nlinks_update_incore() 607 struct xchk_nlink nl; in xchk_nlinks_comparison_read() local 610 error = xfarray_load_sparse(xnc->nlinks, ino, &nl); in xchk_nlinks_comparison_read() 866 struct xchk_nlink nl; xchk_nlinks_compare() local [all...] |
/linux/net/ieee802154/ |
H A D | Makefile | 6 ieee802154-y := netlink.o nl-mac.o nl-phy.o nl_policy.o core.o \
|
/linux/scripts/ |
H A D | asn1_compiler.c | 349 char *line, *nl, *start, *p, *q; in tokenise() local 367 nl = memchr(line, '\n', end - buffer); in tokenise() 368 if (!nl) { in tokenise() 369 buffer = nl = end; in tokenise() 371 buffer = nl + 1; in tokenise() 372 *nl = '\0'; in tokenise() 378 while ((p = memchr(p, '-', nl - p))) { in tokenise() 382 while ((q = memchr(q, '-', nl - q))) { in tokenise() 386 memmove(p, q, nl - q); in tokenise() 392 nl in tokenise() [all...] |
/linux/arch/mips/include/uapi/asm/ |
H A D | termbits.h | 89 #define ONLCR 0x00004 /* Map NL to CR-NL on output */ 156 #define ECHOK 0x00020 /* Echo NL after KILL */ 157 #define ECHONL 0x00040 /* Echo NL even if ECHO is off */
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_trans_space.h | 76 #define XFS_DIRENTER_MAX_SPLIT(mp,nl) 1 argument 77 #define XFS_DIRENTER_SPACE_RES(mp,nl) \ argument 79 XFS_DIRENTER_MAX_SPLIT(mp,nl))
|
/linux/arch/s390/include/asm/ |
H A D | sysinfo.h | 185 unsigned char nl; member 196 unsigned char nl; member 202 unsigned char nl; member
|