Home
last modified time | relevance | path

Searched refs:nl (Results 1 – 25 of 126) sorted by relevance

123456

/linux-6.12.1/drivers/net/plip/
Dplip.c291 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 …]
/linux-6.12.1/kernel/
Dnotifier.c25 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 …]
/linux-6.12.1/tools/scripts/
Dutilities.mak8 # 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 …]
/linux-6.12.1/tools/testing/selftests/drivers/net/
Dqueues.py16 def nl_get_queues(cfg, nl): argument
17 queues = nl.queue_get({'ifindex': cfg.ifindex}, dump=True)
23 def get_queues(cfg, nl) -> None: argument
24 queues = nl_get_queues(cfg, nl)
32 def addremove_queues(cfg, nl) -> None: argument
33 queues = nl_get_queues(cfg, nl)
50 queues = nl_get_queues(cfg, nl)
55 queues = nl_get_queues(cfg, nl)
/linux-6.12.1/tools/testing/selftests/net/netfilter/
Dnf_queue.c211 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 …]
/linux-6.12.1/arch/arm/vfp/
Dvfp.h44 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 …]
/linux-6.12.1/arch/powerpc/perf/
Dhv-24x7.c248 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 …]
/linux-6.12.1/tools/net/ynl/
Dynl-gen-c.py201 ri.cw.nl()
210 ri.cw.nl()
1153 self.nl = cw.nlib
1261 def nl(self): member in CodeWriter
1347 self.nl()
1521 cw.nl()
1527 cw.nl()
1542 cw.nl()
1565 cw.nl()
1581 cw.nl()
[all …]
/linux-6.12.1/fs/ceph/
Dioctl.c72 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 …]
/linux-6.12.1/net/tipc/
Dbcast.c731 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 …]
Dbcast.h63 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-6.12.1/fs/xfs/scrub/
Dnlinks.c125 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()
609 struct xchk_nlink nl; in xchk_nlinks_comparison_read() local
612 error = xfarray_load_sparse(xnc->nlinks, ino, &nl); in xchk_nlinks_comparison_read()
[all …]
/linux-6.12.1/tools/perf/arch/loongarch/util/
Dheader.c29 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-6.12.1/samples/bpf/
Dxdp_router_ipv4_user.c262 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 …]
/linux-6.12.1/tools/perf/arch/riscv/util/
Dheader.c22 char *line2, *nl; in _get_field() local
29 nl = strrchr(line, '\n'); in _get_field()
30 if (!nl) in _get_field()
33 return strndup(line2, nl - line2); in _get_field()
/linux-6.12.1/arch/s390/include/asm/
Dsysinfo.h159 unsigned char nl; member
170 unsigned char nl; member
176 unsigned char nl; member
/linux-6.12.1/net/ieee802154/
DMakefile6 ieee802154-y := netlink.o nl-mac.o nl-phy.o nl_policy.o core.o \
/linux-6.12.1/scripts/
Dasn1_compiler.c349 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 = p; in tokenise()
[all …]
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_trans_space.h63 #define XFS_DIRENTER_MAX_SPLIT(mp,nl) 1 argument
64 #define XFS_DIRENTER_SPACE_RES(mp,nl) \ argument
66 XFS_DIRENTER_MAX_SPLIT(mp,nl))
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-class-bdi3 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-6.12.1/lib/
Dinflate.c842 unsigned nl; /* number of literal/length codes */ in inflate_dynamic() local
867 nl = 257 + ((unsigned)b & 0x1f); /* number of literal/length codes */ in inflate_dynamic()
876 if (nl > 288 || nd > 32) in inflate_dynamic()
878 if (nl > 286 || nd > 30) in inflate_dynamic()
912 n = nl + nd; in inflate_dynamic()
978 if ((i = huft_build(ll, nl, 257, cplens, cplext, &tl, &bl)) != 0) in inflate_dynamic()
990 if ((i = huft_build(ll + nl, nd, 0, cpdist, cpdext, &td, &bd)) != 0) in inflate_dynamic()
/linux-6.12.1/tools/thermal/tmon/
Dsysfs.c198 static int find_tzone_cdev(struct dirent *nl, char *tz_name, in find_tzone_cdev() argument
207 if (nl->d_type == DT_LNK) { in find_tzone_cdev()
208 syslog(LOG_DEBUG, "TZ%d: cdev: %s cid %d\n", tz_id, nl->d_name, in find_tzone_cdev()
218 tz_name, nl->d_name); in find_tzone_cdev()
232 "%s%s", nl->d_name, "_trip_point"); in find_tzone_cdev()
/linux-6.12.1/arch/sh/kernel/cpu/sh2a/
Dfpu.c164 unsigned long long mh, ml, nh, nl; in denormal_muld() local
177 nl = ml; in denormal_muld()
183 while (nl) { nl >>= 1; w++;} in denormal_muld()
/linux-6.12.1/drivers/infiniband/ulp/rtrs/
Drtrs-clt-sysfs.c174 const char *nl; in add_path_store() local
180 nl = strchr(buf, '\n'); in add_path_store()
181 if (nl) in add_path_store()
182 len = nl - buf; in add_path_store()
/linux-6.12.1/arch/powerpc/include/asm/
Deeh.h450 int nl) in eeh_readsl() argument
452 _insl(addr, buf, nl); in eeh_readsl()
453 if (EEH_POSSIBLE_ERROR((*(((u32*)buf)+nl-1)), u32)) in eeh_readsl()

123456