Home
last modified time | relevance | path

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

12

/linux/drivers/net/
H A Dnetconsole.c270 static void netconsole_target_get(struct netconsole_target *nt) in netconsole_target_put()
272 if (config_item_name(&nt->group.cg_item)) in netconsole_target_put()
273 config_group_get(&nt->group); in netconsole_target_put()
276 static void netconsole_target_put(struct netconsole_target *nt) in dynamic_netconsole_mutex_lock()
278 if (config_item_name(&nt->group.cg_item)) in dynamic_netconsole_mutex_lock()
279 config_group_put(&nt->group);
307 static void netconsole_target_get(struct netconsole_target *nt)
311 static void netconsole_target_put(struct netconsole_target *nt) in populate_configfs_item()
315 static void populate_configfs_item(struct netconsole_target *nt, in dynamic_netconsole_mutex_lock()
331 static bool bound_by_mac(struct netconsole_target *nt) in netcons_release_dev()
263 netconsole_target_get(struct netconsole_target * nt) netconsole_target_get() argument
269 netconsole_target_put(struct netconsole_target * nt) netconsole_target_put() argument
300 netconsole_target_get(struct netconsole_target * nt) netconsole_target_get() argument
304 netconsole_target_put(struct netconsole_target * nt) netconsole_target_put() argument
308 populate_configfs_item(struct netconsole_target * nt,int cmdline_count) populate_configfs_item() argument
324 bound_by_mac(struct netconsole_target * nt) bound_by_mac() argument
329 netcons_release_dev(struct netconsole_target * nt) netcons_release_dev() argument
336 refill_skbs(struct netconsole_target * nt) refill_skbs() argument
352 struct netconsole_target *nt = refill_skbs_work_handler() local
362 netconsole_skb_pool_init(struct netconsole_target * nt) netconsole_skb_pool_init() argument
367 netconsole_skb_pool_flush(struct netconsole_target * nt) netconsole_skb_pool_flush() argument
406 netcons_take_ipv6(struct netconsole_target * nt,struct net_device * ndev) netcons_take_ipv6() argument
449 netcons_take_ipv4(struct netconsole_target * nt,struct net_device * ndev) netcons_take_ipv4() argument
487 netcons_local_ip_unset(const struct netconsole_target * nt) netcons_local_ip_unset() argument
494 netcons_netpoll_setup(struct netconsole_target * nt) netcons_netpoll_setup() argument
576 resume_target(struct netconsole_target * nt) resume_target() argument
597 deactivated_target_match(struct netconsole_target * nt,struct net_device * ndev) deactivated_target_match() argument
611 struct netconsole_target *nt; process_resume_target() local
672 struct netconsole_target *nt; alloc_and_init() local
702 struct netconsole_target *nt, *tmp; netconsole_process_cleanups_core() local
725 netconsole_print_banner(struct netconsole_target * nt) netconsole_print_banner() argument
869 struct netconsole_target *nt = to_target(item); local_ip_show() local
879 struct netconsole_target *nt = to_target(item); remote_ip_show() local
902 struct netconsole_target *nt = to_target(item); transmit_errors_show() local
918 struct netconsole_target *nt = to_target(item->ci_parent); sysdata_cpu_nr_enabled_show() local
932 struct netconsole_target *nt = to_target(item->ci_parent); sysdata_taskname_enabled_show() local
945 struct netconsole_target *nt = to_target(item->ci_parent); sysdata_release_enabled_show() local
960 struct netconsole_target *nt; unregister_netcons_consoles() local
985 struct netconsole_target *nt = to_target(item->ci_parent); sysdata_msgid_enabled_show() local
1005 struct netconsole_target *nt = to_target(item); enabled_store() local
1103 struct netconsole_target *nt = to_target(item); release_store() local
1130 struct netconsole_target *nt = to_target(item); extended_store() local
1156 struct netconsole_target *nt = to_target(item); dev_name_store() local
1183 struct netconsole_target *nt = to_target(item); local_port_store() local
1205 struct netconsole_target *nt = to_target(item); remote_port_store() local
1227 struct netconsole_target *nt = to_target(item); local_ip_store() local
1252 struct netconsole_target *nt = to_target(item); remote_ip_store() local
1279 count_userdata_entries(struct netconsole_target * nt) count_userdata_entries() argument
1287 struct netconsole_target *nt = to_target(item); remote_mac_store() local
1346 calc_userdata_len(struct netconsole_target * nt) calc_userdata_len() argument
1365 update_userdata(struct netconsole_target * nt) update_userdata() argument
1418 struct netconsole_target *nt; userdatum_value_store() local
1452 disable_sysdata_feature(struct netconsole_target * nt,enum sysdata_feature feature) disable_sysdata_feature() argument
1462 struct netconsole_target *nt = to_target(item->ci_parent); sysdata_msgid_enabled_store() local
1491 struct netconsole_target *nt = to_target(item->ci_parent); sysdata_release_enabled_store() local
1520 struct netconsole_target *nt = to_target(item->ci_parent); sysdata_taskname_enabled_store() local
1550 struct netconsole_target *nt = to_target(item->ci_parent); sysdata_cpu_nr_enabled_store() local
1609 struct netconsole_target *nt; userdatum_make_item() local
1631 struct netconsole_target *nt; userdatum_drop() local
1696 struct netconsole_target *nt = to_target(item); netconsole_target_release() local
1712 init_target_config_group(struct netconsole_target * nt,const char * name) init_target_config_group() argument
1723 struct netconsole_target *nt, *ret = NULL; find_cmdline_target() local
1745 struct netconsole_target *nt; make_netconsole_target() local
1779 struct netconsole_target *nt = to_target(item); drop_netconsole_target() local
1848 populate_configfs_item(struct netconsole_target * nt,int cmdline_count) populate_configfs_item() argument
1858 sysdata_append_cpu_nr(struct netconsole_target * nt,int offset,struct nbcon_write_context * wctxt) sysdata_append_cpu_nr() argument
1866 sysdata_append_taskname(struct netconsole_target * nt,int offset,struct nbcon_write_context * wctxt) sysdata_append_taskname() argument
1874 sysdata_append_release(struct netconsole_target * nt,int offset) sysdata_append_release() argument
1881 sysdata_append_msgid(struct netconsole_target * nt,int offset) sysdata_append_msgid() argument
1894 prepare_sysdata(struct netconsole_target * nt,struct nbcon_write_context * wctxt) prepare_sysdata() argument
1924 struct netconsole_target *nt, *tmp; netconsole_netdev_event() local
2014 netcons_skb_pop(struct netconsole_target * nt,int len) netcons_skb_pop() argument
2037 find_skb(struct netconsole_target * nt,int len,int reserve) find_skb() argument
2064 netpoll_udp_checksum(struct netconsole_target * nt,struct sk_buff * skb,int len) netpoll_udp_checksum() argument
2089 push_udp(struct netconsole_target * nt,struct sk_buff * skb,int len) push_udp() argument
2107 push_eth(struct netconsole_target * nt,struct sk_buff * skb) push_eth() argument
2122 push_ipv4(struct netconsole_target * nt,struct sk_buff * skb,int len) push_ipv4() argument
2150 push_ipv6(struct netconsole_target * nt,struct sk_buff * skb,int len) push_ipv6() argument
2174 netpoll_send_udp(struct netconsole_target * nt,const char * msg,int len) netpoll_send_udp() argument
2221 send_udp(struct netconsole_target * nt,const char * msg,int len) send_udp() argument
2238 send_msg_no_fragmentation(struct netconsole_target * nt,const char * msg,int msg_len,int release_len,const struct netcons_userdata * userdata) send_msg_no_fragmentation() argument
2282 send_fragmented_body(struct netconsole_target * nt,const char * msgbody_ptr,int header_len,int msgbody_len,int sysdata_len,const struct netcons_userdata * userdata) send_fragmented_body() argument
2374 send_msg_fragmented(struct netconsole_target * nt,const char * msg,int msg_len,int release_len,int sysdata_len,const struct netcons_userdata * userdata) send_msg_fragmented() argument
2420 send_ext_msg_udp(struct netconsole_target * nt,struct nbcon_write_context * wctxt) send_ext_msg_udp() argument
2452 send_msg_udp(struct netconsole_target * nt,const char * msg,unsigned int len) send_msg_udp() argument
2475 struct netconsole_target *nt; netconsole_write() local
2527 netconsole_parser_cmdline(struct netconsole_target * nt,char * opt) netconsole_parser_cmdline() argument
2626 struct netconsole_target *nt; alloc_param_target() local
2685 free_param_target(struct netconsole_target * nt) free_param_target() argument
2718 struct netconsole_target *nt, *tmp; init_netconsole() local
2798 struct netconsole_target *nt, *tmp; cleanup_netconsole() local
[all...]
H A Dnlmon.c21 struct netlink_tap nt; member
28 nlmon->nt.dev = dev; in nlmon_open()
29 nlmon->nt.module = THIS_MODULE; in nlmon_open()
30 return netlink_add_tap(&nlmon->nt); in nlmon_open()
37 return netlink_remove_tap(&nlmon->nt); in nlmon_close()
/linux/drivers/gpu/drm/panel/
H A Dpanel-novatek-nt35560.c150 struct nt35560 *nt = bl_get_data(bl); in nt35560_set_brightness() local
152 .dsi = to_mipi_dsi_device(nt->dev) in nt35560_set_brightness()
174 dev_dbg(nt->dev, "calculated duty cycle %02x\n", pwm_ratio); in nt35560_set_brightness()
251 static int nt35560_power_on(struct nt35560 *nt) in nt35560_power_on() argument
255 ret = regulator_enable(nt->supply); in nt35560_power_on()
257 dev_err(nt->dev, "failed to enable supply (%d)\n", ret); in nt35560_power_on()
262 gpiod_set_value_cansleep(nt->reset_gpio, 1); in nt35560_power_on()
265 gpiod_set_value_cansleep(nt->reset_gpio, 0); in nt35560_power_on()
271 static void nt35560_power_off(struct nt35560 *nt) in nt35560_power_off() argument
274 gpiod_set_value_cansleep(nt->reset_gpio, 1); in nt35560_power_off()
[all …]
/linux/drivers/ntb/
H A Dntb_transport.c231 struct ntb_transport_ctx *nt; member
288 #define QP_TO_MW(nt, qp) ((qp) % nt->mw_count) argument
348 static int ntb_bus_init(struct ntb_transport_ctx *nt) in ntb_bus_init() argument
350 list_add_tail(&nt->entry, &ntb_transport_list); in ntb_bus_init()
354 static void ntb_bus_remove(struct ntb_transport_ctx *nt) in ntb_bus_remove() argument
358 list_for_each_entry_safe(client_dev, cd, &nt->client_devs, entry) { in ntb_bus_remove()
365 list_del(&nt->entry); in ntb_bus_remove()
385 struct ntb_transport_ctx *nt; in ntb_transport_unregister_client_dev() local
387 list_for_each_entry(nt, &ntb_transport_list, entry) in ntb_transport_unregister_client_dev()
388 list_for_each_entry_safe(client, cd, &nt->client_devs, entry) in ntb_transport_unregister_client_dev()
[all …]
/linux/net/tipc/
H A Dname_distr.c90 struct name_table *nt = tipc_name_table(net); in tipc_named_publish() local
95 list_add_tail_rcu(&p->binding_node, &nt->node_scope); in tipc_named_publish()
98 write_lock_bh(&nt->cluster_scope_lock); in tipc_named_publish()
99 list_add_tail(&p->binding_node, &nt->cluster_scope); in tipc_named_publish()
100 write_unlock_bh(&nt->cluster_scope_lock); in tipc_named_publish()
106 msg_set_named_seqno(buf_msg(skb), nt->snd_nxt++); in tipc_named_publish()
120 struct name_table *nt = tipc_name_table(net); in tipc_named_withdraw() local
124 write_lock_bh(&nt->cluster_scope_lock); in tipc_named_withdraw()
126 write_unlock_bh(&nt->cluster_scope_lock); in tipc_named_withdraw()
135 msg_set_named_seqno(buf_msg(skb), nt in tipc_named_withdraw()
208 struct name_table *nt = tipc_name_table(net); tipc_named_node_up() local
255 struct name_table *nt = tipc_name_table(net); tipc_publ_notify() local
398 struct name_table *nt = tipc_name_table(net); tipc_named_reinit() local
[all...]
H A Dname_table.c260 struct name_table *nt = tipc_name_table(net); in tipc_service_create() local
275 hd = &nt->services[hash(ua->sr.type)]; in tipc_service_create()
466 struct name_table *nt = tipc_name_table(net); in tipc_service_find() local
470 service_head = &nt->services[hash(ua->sr.type)]; in tipc_service_find()
765 struct name_table *nt = tipc_name_table(net); in tipc_nametbl_publish() local
785 if (nt->local_publ_count >= max_user_pub) { in tipc_nametbl_publish()
799 nt->local_publ_count++; in tipc_nametbl_publish()
802 rc_dests = nt->rc_dests; in tipc_nametbl_publish()
822 struct name_table *nt = tipc_name_table(net); in tipc_nametbl_withdraw() local
835 nt->local_publ_count--; in tipc_nametbl_withdraw()
[all …]
/linux/tools/perf/tests/workloads/
H A Dthloop.c34 int nt = 2, err = 1; in thloop() local
47 nt = atoi(argv[1]); in thloop()
49 if (nt <= 0) { in thloop()
50 fprintf(stderr, "Error: thread count (%d) must be >= 1\n", nt); in thloop()
57 thread_list = calloc(nt, sizeof(pthread_t)); in thloop()
59 fprintf(stderr, "Error: malloc failed for %d threads\n", nt); in thloop()
62 for (int i = 1; i < nt; i++) { in thloop()
80 for (int i = 1; i < nt; i++) { in thloop()
/linux/arch/hexagon/lib/
H A 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 …]
H A Dmemcpy_likely_aligned.S16 if (!p0) jump:nt .Lmemcpy_call
22 if (p0) jump:nt .Lmemcpy_call
/linux/Documentation/usb/
H A 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]
/linux/arch/hexagon/mm/
H A 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
/linux/tools/perf/util/
H A Dthread_map.c161 struct perf_thread_map *threads = NULL, *nt; in thread_map__new_by_pid_str() local
188 nt = perf_thread_map__realloc(threads, total_tasks); in thread_map__new_by_pid_str()
189 if (nt == NULL) in thread_map__new_by_pid_str()
192 threads = nt; in thread_map__new_by_pid_str()
220 struct perf_thread_map *threads = NULL, *nt; in thread_map__new_by_tid_str() local
244 nt = perf_thread_map__realloc(threads, ntasks); in thread_map__new_by_tid_str()
246 if (nt == NULL) in thread_map__new_by_tid_str()
249 threads = nt; in thread_map__new_by_tid_str()
/linux/tools/testing/selftests/rcutorture/bin/
H A Dfunctions.sh311 echo $2 -smp cores=`expr \( $3 + $nt - 1 \) / $nt`,threads=$nt
/linux/net/ipv6/
H A Dip6_gre.c323 struct ip6_tnl *t, *nt; in ip6gre_tunnel_locate()
348 nt = netdev_priv(dev); in ip6gre_tunnel_locate()
349 nt->parms = *parms; in ip6gre_tunnel_locate()
352 nt->dev = dev; in ip6gre_tunnel_locate()
353 nt->net = dev_net(dev); in ip6gre_tunnel_locate()
358 ip6gre_tnl_link_config(nt, 1); in ip6gre_tunnel_locate()
359 ip6gre_tunnel_link(ign, nt); in ip6gre_tunnel_locate()
360 return nt; in ip6gre_tunnel_locate()
1468 struct ip6_tnl *nt = netdev_priv(dev); in ip6gre_tunnel_init_common()
1478 if (test_bit(IP_TUNNEL_SEQ_BIT, nt in ip6gre_tunnel_init_common()
318 struct ip6_tnl *t, *nt; ip6gre_tunnel_locate() local
1447 struct ip6_tnl *nt = netdev_priv(dev); ip6gre_tnl_init_features() local
1941 struct ip6_tnl *nt; ip6gre_newlink_common() local
1976 struct ip6_tnl *nt = netdev_priv(dev); ip6gre_newlink() local
2007 struct ip6_tnl *t, *nt = netdev_priv(dev); ip6gre_changelink_common() local
2217 struct ip6_tnl *nt = netdev_priv(dev); ip6erspan_newlink() local
[all...]
H A Dsit.c276 struct ip_tunnel *t, *nt; in ipip6_tunnel_locate()
315 nt = netdev_priv(dev); in ipip6_tunnel_get_prl()
317 nt->net = net; in ipip6_tunnel_get_prl()
322 rcu_assign_pointer(nt->sit_parms, nt_parms); in ipip6_tunnel_get_prl()
329 return nt; in ipip6_tunnel_get_prl()
1695 struct ip_tunnel *nt; in ipip6_fill_info()
1706 nt = netdev_priv(dev); in ipip6_fill_info()
1707 nt->net = net; in ipip6_fill_info()
1710 err = ip_tunnel_encap_setup(nt, &ipencap); in ipip6_fill_info()
1715 ipip6_netlink_parms(data, &p, &nt in ipip6_fill_info()
236 struct ip_tunnel *t, *nt; ipip6_tunnel_locate() local
1555 struct ip_tunnel *nt; ipip6_newlink() local
[all...]
/linux/drivers/mtd/ubi/
H A Dnvmem.c145 struct ubi_notification *nt = ns_ptr; in nvmem_notify() local
149 ubi_nvmem_remove(&nt->vi); in nvmem_notify()
152 ubi_nvmem_add(&nt->vi); in nvmem_notify()
155 ubi_nvmem_remove(&nt->vi); in nvmem_notify()
H A 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()
H A Dbuild.c164 struct ubi_notification nt; in ubi_volume_notify() local
166 ubi_do_get_device_info(ubi, &nt.di); in ubi_volume_notify()
167 ubi_do_get_volume_info(ubi, vol, &nt.vi); in ubi_volume_notify()
179 return blocking_notifier_call_chain(&ubi_notifiers, ntype, &nt); in ubi_volume_notify()
195 struct ubi_notification nt; in ubi_notify_all() local
198 ubi_do_get_device_info(ubi, &nt.di); in ubi_notify_all()
210 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); in ubi_notify_all()
212 nb->notifier_call(nb, ntype, &nt); in ubi_notify_all()
215 &nt); in ubi_notify_all()
/linux/net/ipv4/
H A Dip_tunnel.c339 struct ip_tunnel *nt; in ip_tunnel_create()
354 nt = netdev_priv(dev); in ip_tunnel_create()
355 t_hlen = nt->hlen + sizeof(struct iphdr); in ip_tunnel_create()
361 ip_tunnel_add(itn, nt); in ip_tunnel_create()
362 return nt;
1224 struct ip_tunnel *nt; in ip_tunnel_newlink()
1228 nt = netdev_priv(dev); in ip_tunnel_newlink()
1229 itn = net_generic(net, nt->ip_tnl_net_id); in ip_tunnel_newlink()
1233 if (nt->collect_md) { in ip_tunnel_newlink()
1243 nt in ip_tunnel_changelink()
333 struct ip_tunnel *nt; ip_tunnel_create() local
1186 struct ip_tunnel *nt; ip_tunnel_newlink() local
[all...]
/linux/net/switchdev/
H A Dswitchdev.c131 static int switchdev_port_attr_notify(enum switchdev_notifier_type nt, in switchdev_port_attr_notify() argument
144 rc = call_switchdev_blocking_notifiers(nt, dev, in switchdev_port_attr_notify()
223 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()
434 * @nt: type of action; add or delete
438 * equivalent to the action @nt on an object @obj.
443 enum switchdev_notifier_type nt, in switchdev_port_obj_act_is_deferred() argument
458 nt == SWITCHDEV_PORT_OBJ_ADD) || in switchdev_port_obj_act_is_deferred()
460 nt == SWITCHDEV_PORT_OBJ_DEL)) { in switchdev_port_obj_act_is_deferred()
/linux/lib/zlib_dfltcc/
H A Ddfltcc_inflate.c46 return !param->nt; in dfltcc_was_inflate_used()
131 param->nt = 0; /* Honor history for the first block */ in dfltcc_inflate()
H A Ddfltcc.c36 dfltcc_state->param.nt = 1; in dfltcc_reset_state()
/linux/tools/testing/selftests/powerpc/tm/
H A D.gitignore16 tm-signal-sigreturn-nt
/linux/Documentation/translations/zh_CN/scsi/
H A Dwd719x.rst31 lha xi pci-scsi.exe nt/wd7296a.sys
/linux/net/netlink/
H A Daf_netlink.c193 int netlink_add_tap(struct netlink_tap *nt) in netlink_add_tap() argument
195 struct net *net = dev_net(nt->dev); in netlink_add_tap()
198 if (unlikely(nt->dev->type != ARPHRD_NETLINK)) in netlink_add_tap()
202 list_add_rcu(&nt->list, &nn->netlink_tap_all); in netlink_add_tap()
205 __module_get(nt->module); in netlink_add_tap()
211 static int __netlink_remove_tap(struct netlink_tap *nt) in __netlink_remove_tap() argument
213 struct net *net = dev_net(nt->dev); in __netlink_remove_tap()
221 if (nt == tmp) { in __netlink_remove_tap()
222 list_del_rcu(&nt->list); in __netlink_remove_tap()
228 pr_warn("__netlink_remove_tap: %p not found\n", nt); in __netlink_remove_tap()
238 netlink_remove_tap(struct netlink_tap * nt) netlink_remove_tap() argument
[all...]

12