Home
last modified time | relevance | path

Searched refs:nt (Results 1 – 25 of 54) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/net/
Dnetconsole.c128 static void netconsole_target_get(struct netconsole_target *nt) in netconsole_target_get() argument
130 if (config_item_name(&nt->item)) in netconsole_target_get()
131 config_item_get(&nt->item); in netconsole_target_get()
134 static void netconsole_target_put(struct netconsole_target *nt) in netconsole_target_put() argument
136 if (config_item_name(&nt->item)) in netconsole_target_put()
137 config_item_put(&nt->item); in netconsole_target_put()
155 static void netconsole_target_get(struct netconsole_target *nt) in netconsole_target_get() argument
159 static void netconsole_target_put(struct netconsole_target *nt) in netconsole_target_put() argument
169 struct netconsole_target *nt; in alloc_param_target() local
175 nt = kzalloc(sizeof(*nt), GFP_KERNEL); in alloc_param_target()
[all …]
Dnlmon.c31 struct netlink_tap nt; member
38 nlmon->nt.dev = dev; in nlmon_open()
39 nlmon->nt.module = THIS_MODULE; in nlmon_open()
40 return netlink_add_tap(&nlmon->nt); in nlmon_open()
47 return netlink_remove_tap(&nlmon->nt); in nlmon_close()
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
Dpanel-novatek-nt35510.c394 static int nt35510_send_long(struct nt35510 *nt, struct mipi_dsi_device *dsi, in nt35510_send_long() argument
406 dev_err(nt->dev, "error sending DCS command seq cmd %02x\n", cmd); in nt35510_send_long()
418 dev_err(nt->dev, "error sending generic write seq %02x\n", cmd); in nt35510_send_long()
424 dev_dbg(nt->dev, "sent command %02x %02x bytes\n", cmd, cmdlen); in nt35510_send_long()
428 static int nt35510_read_id(struct nt35510 *nt) in nt35510_read_id() argument
430 struct mipi_dsi_device *dsi = to_mipi_dsi_device(nt->dev); in nt35510_read_id()
436 dev_err(nt->dev, "could not read MTP ID1\n"); in nt35510_read_id()
441 dev_err(nt->dev, "could not read MTP ID2\n"); in nt35510_read_id()
446 dev_err(nt->dev, "could not read MTP ID3\n"); in nt35510_read_id()
455 dev_info(nt->dev, "MTP ID manufacturer: %02x version: %02x driver: %02x\n", id1, id2, id3); in nt35510_read_id()
[all …]
/kernel/linux/linux-5.10/drivers/ntb/
Dntb_transport.c218 struct ntb_transport_ctx *nt; member
272 #define QP_TO_MW(nt, qp) ((qp) % nt->mw_count) argument
328 static int ntb_bus_init(struct ntb_transport_ctx *nt) in ntb_bus_init() argument
330 list_add_tail(&nt->entry, &ntb_transport_list); in ntb_bus_init()
334 static void ntb_bus_remove(struct ntb_transport_ctx *nt) in ntb_bus_remove() argument
338 list_for_each_entry_safe(client_dev, cd, &nt->client_devs, entry) { in ntb_bus_remove()
345 list_del(&nt->entry); in ntb_bus_remove()
365 struct ntb_transport_ctx *nt; in ntb_transport_unregister_client_dev() local
367 list_for_each_entry(nt, &ntb_transport_list, entry) in ntb_transport_unregister_client_dev()
368 list_for_each_entry_safe(client, cd, &nt->client_devs, entry) in ntb_transport_unregister_client_dev()
[all …]
/kernel/linux/linux-5.10/net/tipc/
Dname_distr.c89 struct name_table *nt = tipc_name_table(net); in tipc_named_publish() local
94 list_add_tail_rcu(&publ->binding_node, &nt->node_scope); in tipc_named_publish()
97 write_lock_bh(&nt->cluster_scope_lock); in tipc_named_publish()
98 list_add_tail(&publ->binding_node, &nt->cluster_scope); in tipc_named_publish()
99 write_unlock_bh(&nt->cluster_scope_lock); in tipc_named_publish()
105 msg_set_named_seqno(buf_msg(skb), nt->snd_nxt++); in tipc_named_publish()
117 struct name_table *nt = tipc_name_table(net); in tipc_named_withdraw() local
121 write_lock_bh(&nt->cluster_scope_lock); in tipc_named_withdraw()
123 write_unlock_bh(&nt->cluster_scope_lock); in tipc_named_withdraw()
132 msg_set_named_seqno(buf_msg(skb), nt->snd_nxt++); in tipc_named_withdraw()
[all …]
Dname_table.c446 struct name_table *nt = tipc_name_table(net); in tipc_service_find() local
450 service_head = &nt->services[hash(type)]; in tipc_service_find()
463 struct name_table *nt = tipc_name_table(net); in tipc_nametbl_insert_publ() local
474 sc = tipc_service_create(type, &nt->services[hash(type)]); in tipc_nametbl_insert_publ()
728 struct name_table *nt = tipc_name_table(net); in tipc_nametbl_publish() local
736 if (nt->local_publ_count >= TIPC_MAX_PUBL) { in tipc_nametbl_publish()
744 nt->local_publ_count++; in tipc_nametbl_publish()
747 rc_dests = nt->rc_dests; in tipc_nametbl_publish()
763 struct name_table *nt = tipc_name_table(net); in tipc_nametbl_withdraw() local
774 nt->local_publ_count--; in tipc_nametbl_withdraw()
[all …]
/kernel/linux/linux-5.10/arch/hexagon/lib/
Dmemset.S159 if (r2==#0) jump:nt .L1
164 if (p0.new) jump:nt .L3
179 if (!p0.new) jump:nt .L8
191 if (!p0.new) jump:nt .L10
197 if (p0.new) jump:nt .L1
202 if (!p0.new) jump:nt .L12
208 if (p0.new) jump:nt .L1
213 if (!p0.new) jump:nt .L14
216 if (r3==#0) jump:nt .L17
222 if (r3==#0) jump:nt .L17
[all …]
Dmemcpy_likely_aligned.S16 if (!p0) jump:nt .Lmemcpy_call
22 if (p0) jump:nt .Lmemcpy_call
/kernel/linux/linux-5.10/Documentation/usb/
Dlinux-cdc-acm.inf28 [DriverInstall.nt]
30 CopyFiles=DriverCopyFiles.nt
31 AddReg=DriverInstall.nt.AddReg
33 [DriverCopyFiles.nt]
36 [DriverInstall.nt.AddReg]
41 [DriverInstall.nt.Services]
42 AddService=usbser, 0x00000002, DriverService.nt
44 [DriverService.nt]
/kernel/linux/linux-5.10/arch/hexagon/mm/
Dcopy_user_template.S20 if (!p0.new) jump:nt .Ldone
27 if (!p0.new) jump:nt .Loop_not_aligned_8
53 if (p0.new) jump:nt .Lalign
57 if (!p0.new) jump:nt .Loop_not_aligned_4
83 if (!p0.new) jump:nt .Loop_not_aligned
126 if (p0.new) jump:nt .Loop_not_aligned
Dstrnlen_user.S51 if (P0.new) jump:nt exit_found;
84 if (!P0.new) jump:nt exit_found;
96 if (P0.new) jump:nt exit_error; /* neverfound! */
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/
Dfunctions.sh270 echo $2 -smp cores=`expr \( $3 + $nt - 1 \) / $nt`,threads=$nt
/kernel/linux/linux-5.10/tools/perf/util/
Dthread_map.c183 struct perf_thread_map *threads = NULL, *nt; in thread_map__new_by_pid_str() local
213 nt = perf_thread_map__realloc(threads, total_tasks); in thread_map__new_by_pid_str()
214 if (nt == NULL) in thread_map__new_by_pid_str()
217 threads = nt; in thread_map__new_by_pid_str()
245 struct perf_thread_map *threads = NULL, *nt; in thread_map__new_by_tid_str() local
272 nt = perf_thread_map__realloc(threads, ntasks); in thread_map__new_by_tid_str()
274 if (nt == NULL) in thread_map__new_by_tid_str()
277 threads = nt; in thread_map__new_by_tid_str()
/kernel/linux/linux-5.10/net/ipv6/
Dip6_gre.c349 struct ip6_tnl *t, *nt; in ip6gre_tunnel_locate() local
374 nt = netdev_priv(dev); in ip6gre_tunnel_locate()
375 nt->parms = *parms; in ip6gre_tunnel_locate()
378 nt->dev = dev; in ip6gre_tunnel_locate()
379 nt->net = dev_net(dev); in ip6gre_tunnel_locate()
384 ip6gre_tnl_link_config(nt, 1); in ip6gre_tunnel_locate()
387 if (!(nt->parms.o_flags & TUNNEL_SEQ)) in ip6gre_tunnel_locate()
390 ip6gre_tunnel_link(ign, nt); in ip6gre_tunnel_locate()
391 return nt; in ip6gre_tunnel_locate()
1453 struct ip6_tnl *nt = netdev_priv(dev); in ip6gre_tnl_init_features() local
[all …]
Dsit.c233 struct ip_tunnel *t, *nt; in ipip6_tunnel_locate() local
268 nt = netdev_priv(dev); in ipip6_tunnel_locate()
270 nt->parms = *parms; in ipip6_tunnel_locate()
274 return nt; in ipip6_tunnel_locate()
1612 struct ip_tunnel *nt; in ipip6_newlink() local
1619 nt = netdev_priv(dev); in ipip6_newlink()
1622 err = ip_tunnel_encap_setup(nt, &ipencap); in ipip6_newlink()
1627 ipip6_netlink_parms(data, &nt->parms, &nt->fwmark); in ipip6_newlink()
1629 if (ipip6_tunnel_locate(net, &nt->parms, 0)) in ipip6_newlink()
1646 err = ipip6_tunnel_update_6rd(nt, &ip6rd); in ipip6_newlink()
/kernel/linux/linux-5.10/drivers/mtd/ubi/
Dgluebi.c447 struct ubi_notification *nt = ns_ptr; in gluebi_notify() local
451 gluebi_create(&nt->di, &nt->vi); in gluebi_notify()
454 gluebi_remove(&nt->vi); in gluebi_notify()
457 gluebi_resized(&nt->vi); in gluebi_notify()
460 gluebi_updated(&nt->vi); in gluebi_notify()
Dbuild.c157 struct ubi_notification nt; in ubi_volume_notify() local
159 ubi_do_get_device_info(ubi, &nt.di); in ubi_volume_notify()
160 ubi_do_get_volume_info(ubi, vol, &nt.vi); in ubi_volume_notify()
172 return blocking_notifier_call_chain(&ubi_notifiers, ntype, &nt); in ubi_volume_notify()
188 struct ubi_notification nt; in ubi_notify_all() local
191 ubi_do_get_device_info(ubi, &nt.di); in ubi_notify_all()
203 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); in ubi_notify_all()
205 nb->notifier_call(nb, ntype, &nt); in ubi_notify_all()
208 &nt); in ubi_notify_all()
Dblock.c572 struct ubi_notification *nt = ns_ptr; in ubiblock_notify() local
582 ubiblock_remove(&nt->vi); in ubiblock_notify()
585 ubiblock_resize(&nt->vi); in ubiblock_notify()
592 if (nt->vi.vol_type == UBI_STATIC_VOLUME) in ubiblock_notify()
593 ubiblock_resize(&nt->vi); in ubiblock_notify()
/kernel/linux/linux-5.10/net/ipv4/
Dip_tunnel.c332 struct ip_tunnel *nt; in ip_tunnel_create() local
347 nt = netdev_priv(dev); in ip_tunnel_create()
348 t_hlen = nt->hlen + sizeof(struct iphdr); in ip_tunnel_create()
354 ip_tunnel_add(itn, nt); in ip_tunnel_create()
355 return nt; in ip_tunnel_create()
1130 struct ip_tunnel *nt; in ip_tunnel_newlink() local
1136 nt = netdev_priv(dev); in ip_tunnel_newlink()
1137 itn = net_generic(net, nt->ip_tnl_net_id); in ip_tunnel_newlink()
1139 if (nt->collect_md) { in ip_tunnel_newlink()
1147 nt->net = net; in ip_tunnel_newlink()
[all …]
/kernel/linux/linux-5.10/lib/zlib_dfltcc/
Ddfltcc_inflate.c42 return !param->nt; in dfltcc_was_inflate_used()
127 param->nt = 0; /* Honor history for the first block */ in dfltcc_inflate()
Ddfltcc.c45 dfltcc_state->param.nt = 1; in dfltcc_reset()
/kernel/linux/linux-5.10/net/switchdev/
Dswitchdev.c101 static int switchdev_port_attr_notify(enum switchdev_notifier_type nt, in switchdev_port_attr_notify() argument
115 rc = call_switchdev_blocking_notifiers(nt, dev, in switchdev_port_attr_notify()
221 static int switchdev_port_obj_notify(enum switchdev_notifier_type nt, in switchdev_port_obj_notify() argument
236 rc = call_switchdev_blocking_notifiers(nt, dev, &obj_info.info, extack); in switchdev_port_obj_notify()
/kernel/linux/linux-5.10/drivers/misc/
Dtifm_core.c21 static const char *tifm_media_type_name(unsigned char type, unsigned char nt) in tifm_media_type_name() argument
29 if (nt > 2 || type < 1 || type > 3) in tifm_media_type_name()
31 return card_type_name[nt][type - 1]; in tifm_media_type_name()
/kernel/linux/linux-5.10/drivers/s390/char/
Dtape_char.c69 device->nt = register_tape_dev( in tapechar_setup_device()
93 unregister_tape_dev(&device->cdev->dev, device->nt); in tapechar_cleanup_device()
94 device->nt = NULL; in tapechar_cleanup_device()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/tm/
D.gitignore16 tm-signal-sigreturn-nt

123