/drivers/net/ |
D | netconsole.c | 140 static void netconsole_target_get(struct netconsole_target *nt) in netconsole_target_get() argument 142 if (config_item_name(&nt->item)) in netconsole_target_get() 143 config_item_get(&nt->item); in netconsole_target_get() 146 static void netconsole_target_put(struct netconsole_target *nt) in netconsole_target_put() argument 148 if (config_item_name(&nt->item)) in netconsole_target_put() 149 config_item_put(&nt->item); in netconsole_target_put() 167 static void netconsole_target_get(struct netconsole_target *nt) in netconsole_target_get() argument 171 static void netconsole_target_put(struct netconsole_target *nt) in netconsole_target_put() argument 181 struct netconsole_target *nt; in alloc_param_target() local 187 nt = kzalloc(sizeof(*nt), GFP_KERNEL); in alloc_param_target() [all …]
|
D | nlmon.c | 60 struct netlink_tap nt; member 67 nlmon->nt.dev = dev; in nlmon_open() 68 nlmon->nt.module = THIS_MODULE; in nlmon_open() 69 return netlink_add_tap(&nlmon->nt); in nlmon_open() 76 return netlink_remove_tap(&nlmon->nt); in nlmon_close()
|
/drivers/ntb/ |
D | ntb_transport.c | 201 struct ntb_transport_ctx *nt; member 254 #define QP_TO_MW(nt, qp) ((qp) % nt->mw_count) argument 310 static int ntb_bus_init(struct ntb_transport_ctx *nt) in ntb_bus_init() argument 312 list_add_tail(&nt->entry, &ntb_transport_list); in ntb_bus_init() 316 static void ntb_bus_remove(struct ntb_transport_ctx *nt) in ntb_bus_remove() argument 320 list_for_each_entry_safe(client_dev, cd, &nt->client_devs, entry) { in ntb_bus_remove() 327 list_del(&nt->entry); in ntb_bus_remove() 347 struct ntb_transport_ctx *nt; in ntb_transport_unregister_client_dev() local 349 list_for_each_entry(nt, &ntb_transport_list, entry) in ntb_transport_unregister_client_dev() 350 list_for_each_entry_safe(client, cd, &nt->client_devs, entry) in ntb_transport_unregister_client_dev() [all …]
|
/drivers/mtd/ubi/ |
D | gluebi.c | 463 struct ubi_notification *nt = ns_ptr; in gluebi_notify() local 467 gluebi_create(&nt->di, &nt->vi); in gluebi_notify() 470 gluebi_remove(&nt->vi); in gluebi_notify() 473 gluebi_resized(&nt->vi); in gluebi_notify() 476 gluebi_updated(&nt->vi); in gluebi_notify()
|
D | block.c | 555 struct ubi_notification *nt = ns_ptr; in ubiblock_notify() local 565 ubiblock_remove(&nt->vi); in ubiblock_notify() 568 ubiblock_resize(&nt->vi); in ubiblock_notify() 575 if (nt->vi.vol_type == UBI_STATIC_VOLUME) in ubiblock_notify() 576 ubiblock_resize(&nt->vi); in ubiblock_notify()
|
D | build.c | 168 struct ubi_notification nt; in ubi_volume_notify() local 170 ubi_do_get_device_info(ubi, &nt.di); in ubi_volume_notify() 171 ubi_do_get_volume_info(ubi, vol, &nt.vi); in ubi_volume_notify() 183 return blocking_notifier_call_chain(&ubi_notifiers, ntype, &nt); in ubi_volume_notify() 199 struct ubi_notification nt; in ubi_notify_all() local 202 ubi_do_get_device_info(ubi, &nt.di); in ubi_notify_all() 214 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); in ubi_notify_all() 216 nb->notifier_call(nb, ntype, &nt); in ubi_notify_all() 219 &nt); in ubi_notify_all()
|
/drivers/misc/ |
D | tifm_core.c | 25 static const char *tifm_media_type_name(unsigned char type, unsigned char nt) in tifm_media_type_name() argument 33 if (nt > 2 || type < 1 || type > 3) in tifm_media_type_name() 35 return card_type_name[nt][type - 1]; in tifm_media_type_name()
|
/drivers/s390/char/ |
D | tape_char.c | 68 device->nt = register_tape_dev( in tapechar_setup_device() 92 unregister_tape_dev(&device->cdev->dev, device->nt); in tapechar_cleanup_device() 93 device->nt = NULL; in tapechar_cleanup_device()
|
D | tape.h | 184 struct tape_class_device * nt; member
|
/drivers/usb/gadget/udc/ |
D | gr_udc.c | 1491 u8 nt; in gr_ep_enable() local 1542 nt = 0x3 & (usb_endpoint_maxp(desc) >> 11); in gr_ep_enable() 1544 if (nt && (mode == 0 || mode == 2)) { in gr_ep_enable() 1549 } else if (nt == 0x3) { in gr_ep_enable() 1553 } else if ((nt + 1) * max > buffer_size) { in gr_ep_enable() 1555 buffer_size, (nt + 1), max); in gr_ep_enable() 1580 if (nt) { in gr_ep_enable() 1585 ep->bytes_per_buffer = (nt + 1) * max; in gr_ep_enable() 1602 | (nt << GR_EPCTRL_NT_POS) in gr_ep_enable()
|
/drivers/s390/cio/ |
D | chsc.c | 315 u8 nt; member 665 CIO_CRW_EVENT(2, "chsc: sei successful (nt=%d)\n", sei->nt); in chsc_process_event_information() 666 switch (sei->nt) { in chsc_process_event_information() 674 CIO_CRW_EVENT(2, "chsc: unhandled nt: %d\n", sei->nt); in chsc_process_event_information()
|
/drivers/block/drbd/ |
D | drbd_req.c | 1661 unsigned long ent = 0, dt = 0, et, nt; /* effective timeout = ko_count * timeout */ in request_timer_fn() local 1686 nt = now + et; in request_timer_fn() 1739 nt = time_before(ent, dt) ? ent : dt; in request_timer_fn() 1742 mod_timer(&device->request_timer, nt); in request_timer_fn()
|
D | drbd_main.c | 389 struct task_struct *nt; in drbd_thread_start() local 418 nt = kthread_create(drbd_thread_setup, (void *) thi, in drbd_thread_start() 421 if (IS_ERR(nt)) { in drbd_thread_start() 431 thi->task = nt; in drbd_thread_start() 434 wake_up_process(nt); in drbd_thread_start()
|
/drivers/char/ipmi/ |
D | ipmi_msghandler.c | 4183 int nt = 0; in ipmi_timeout() local 4209 nt += lnt; in ipmi_timeout() 4213 if (nt) in ipmi_timeout()
|