| /linux/drivers/net/ |
| H A D | netconsole.c | 198 static void netconsole_target_get(struct netconsole_target *nt) in netconsole_target_get() argument 200 if (config_item_name(&nt->group.cg_item)) in netconsole_target_get() 201 config_group_get(&nt->group); in netconsole_target_get() 204 static void netconsole_target_put(struct netconsole_target *nt) in netconsole_target_put() argument 206 if (config_item_name(&nt->group.cg_item)) in netconsole_target_put() 207 config_group_put(&nt->group); in netconsole_target_put() 225 static void netconsole_target_get(struct netconsole_target *nt) in netconsole_target_get() argument 229 static void netconsole_target_put(struct netconsole_target *nt) in netconsole_target_put() argument 233 static void populate_configfs_item(struct netconsole_target *nt, in populate_configfs_item() argument 244 struct netconsole_target *nt; in alloc_and_init() local [all …]
|
| H A D | nlmon.c | 21 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 D | panel-novatek-nt35560.c | 150 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 D | ntb_transport.c | 219 struct ntb_transport_ctx *nt; member 276 #define QP_TO_MW(nt, qp) ((qp) % nt->mw_count) argument 330 static int ntb_bus_init(struct ntb_transport_ctx *nt) in ntb_bus_init() argument 332 list_add_tail(&nt->entry, &ntb_transport_list); in ntb_bus_init() 336 static void ntb_bus_remove(struct ntb_transport_ctx *nt) in ntb_bus_remove() argument 340 list_for_each_entry_safe(client_dev, cd, &nt->client_devs, entry) { in ntb_bus_remove() 347 list_del(&nt->entry); in ntb_bus_remove() 367 struct ntb_transport_ctx *nt; in ntb_transport_unregister_client_dev() local 369 list_for_each_entry(nt, &ntb_transport_list, entry) in ntb_transport_unregister_client_dev() 370 list_for_each_entry_safe(client, cd, &nt->client_devs, entry) in ntb_transport_unregister_client_dev() [all …]
|
| /linux/net/tipc/ |
| H A D | name_distr.c | 90 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->snd_nxt++); in tipc_named_withdraw() [all …]
|
| /linux/tools/perf/tests/workloads/ |
| H A D | thloop.c | 34 int nt = 2, sec = 1, err = 1; in thloop() local 46 nt = atoi(argv[1]); in thloop() 48 if (nt <= 0) { in thloop() 49 fprintf(stderr, "Error: thread count (%d) must be >= 1\n", nt); in thloop() 56 thread_list = calloc(nt, sizeof(pthread_t)); in thloop() 58 fprintf(stderr, "Error: malloc failed for %d threads\n", nt); in thloop() 61 for (int i = 1; i < nt; i++) { in thloop() 74 for (int i = 1; i < nt; i++) { in thloop()
|
| /linux/arch/hexagon/lib/ |
| H A D | memset.S | 159 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 D | memcpy_likely_aligned.S | 16 if (!p0) jump:nt .Lmemcpy_call 22 if (p0) jump:nt .Lmemcpy_call
|
| /linux/Documentation/usb/ |
| H A D | linux-cdc-acm.inf | 28 [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 D | copy_user_template.S | 20 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 D | thread_map.c | 161 struct perf_thread_map *threads = NULL, *nt; in thread_map__new_by_pid_str() local 191 nt = perf_thread_map__realloc(threads, total_tasks); in thread_map__new_by_pid_str() 192 if (nt == NULL) in thread_map__new_by_pid_str() 195 threads = nt; in thread_map__new_by_pid_str() 223 struct perf_thread_map *threads = NULL, *nt; in thread_map__new_by_tid_str() local 250 nt = perf_thread_map__realloc(threads, ntasks); in thread_map__new_by_tid_str() 252 if (nt == NULL) in thread_map__new_by_tid_str() 255 threads = nt; in thread_map__new_by_tid_str()
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A D | functions.sh | 311 echo $2 -smp cores=`expr \( $3 + $nt - 1 \) / $nt`,threads=$nt
|
| /linux/net/ipv6/ |
| H A D | ip6_gre.c | 318 struct ip6_tnl *t, *nt; in ip6gre_tunnel_locate() local 343 nt = netdev_priv(dev); in ip6gre_tunnel_locate() 344 nt->parms = *parms; in ip6gre_tunnel_locate() 347 nt->dev = dev; in ip6gre_tunnel_locate() 348 nt->net = dev_net(dev); in ip6gre_tunnel_locate() 353 ip6gre_tnl_link_config(nt, 1); in ip6gre_tunnel_locate() 354 ip6gre_tunnel_link(ign, nt); in ip6gre_tunnel_locate() 355 return nt; in ip6gre_tunnel_locate() 1452 struct ip6_tnl *nt = netdev_priv(dev); in ip6gre_tnl_init_features() local 1460 if (test_bit(IP_TUNNEL_SEQ_BIT, nt->parms.o_flags)) in ip6gre_tnl_init_features() [all …]
|
| H A D | ip6_vti.c | 1005 struct ip6_tnl *nt; in vti6_newlink() local 1009 nt = netdev_priv(dev); in vti6_newlink() 1010 vti6_netlink_parms(data, &nt->parms); in vti6_newlink() 1012 nt->parms.proto = IPPROTO_IPV6; in vti6_newlink() 1013 nt->net = net; in vti6_newlink() 1015 if (vti6_locate(net, &nt->parms, 0)) in vti6_newlink()
|
| /linux/drivers/mtd/ubi/ |
| H A D | nvmem.c | 145 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 D | gluebi.c | 447 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 D | build.c | 162 struct ubi_notification nt; in ubi_volume_notify() local 164 ubi_do_get_device_info(ubi, &nt.di); in ubi_volume_notify() 165 ubi_do_get_volume_info(ubi, vol, &nt.vi); in ubi_volume_notify() 177 return blocking_notifier_call_chain(&ubi_notifiers, ntype, &nt); in ubi_volume_notify() 193 struct ubi_notification nt; in ubi_notify_all() local 196 ubi_do_get_device_info(ubi, &nt.di); in ubi_notify_all() 208 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); in ubi_notify_all() 210 nb->notifier_call(nb, ntype, &nt); in ubi_notify_all() 213 &nt); in ubi_notify_all()
|
| /linux/net/ipv4/ |
| H A D | ip_tunnel.c | 333 struct ip_tunnel *nt; in ip_tunnel_create() local 348 nt = netdev_priv(dev); in ip_tunnel_create() 349 t_hlen = nt->hlen + sizeof(struct iphdr); in ip_tunnel_create() 355 ip_tunnel_add(itn, nt); in ip_tunnel_create() 356 return nt; in ip_tunnel_create() 1196 struct ip_tunnel *nt; in ip_tunnel_newlink() local 1201 nt = netdev_priv(dev); in ip_tunnel_newlink() 1202 itn = net_generic(net, nt->ip_tnl_net_id); in ip_tunnel_newlink() 1204 if (nt->collect_md) { in ip_tunnel_newlink() 1212 nt->net = net; in ip_tunnel_newlink() [all …]
|
| /linux/net/switchdev/ |
| H A D | switchdev.c | 131 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() 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 D | dfltcc_inflate.c | 46 return !param->nt; in dfltcc_was_inflate_used() 131 param->nt = 0; /* Honor history for the first block */ in dfltcc_inflate()
|
| H A D | dfltcc.c | 36 dfltcc_state->param.nt = 1; in dfltcc_reset_state()
|
| H A D | dfltcc.h | 45 unsigned nt : 1; /* New Task */ member
|
| /linux/drivers/misc/ |
| H A D | tifm_core.c | 21 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()
|
| /linux/tools/testing/selftests/powerpc/tm/ |
| H A D | .gitignore | 16 tm-signal-sigreturn-nt
|
| /linux/Documentation/translations/zh_CN/scsi/ |
| H A D | wd719x.rst | 31 lha xi pci-scsi.exe nt/wd7296a.sys
|