Home
last modified time | relevance | path

Searched full:ni (Results 1 – 25 of 215) sorted by relevance

123456789

/linux/fs/ntfs3/
H A Dfrecord.c20 static struct mft_inode *ni_ins_mi(struct ntfs_inode *ni, struct rb_root *tree, in ni_ins_mi() argument
50 static struct mft_inode *ni_find_mi(struct ntfs_inode *ni, CLST rno) in ni_find_mi() argument
52 return ni_ins_mi(ni, &ni->mi_tree, rno, NULL); in ni_find_mi()
58 static void ni_add_mi(struct ntfs_inode *ni, struct mft_inode *mi) in ni_add_mi() argument
60 ni_ins_mi(ni, &ni->mi_tree, mi->rno, &mi->node); in ni_add_mi()
66 void ni_remove_mi(struct ntfs_inode *ni, struct mft_inode *mi) in ni_remove_mi() argument
68 rb_erase(&mi->node, &ni->mi_tree); in ni_remove_mi()
74 struct ATTR_STD_INFO *ni_std(struct ntfs_inode *ni) in ni_std() argument
78 attr = mi_find_attr(ni, &ni->mi, NULL, ATTR_STD, NULL, 0, NULL); in ni_std()
88 struct ATTR_STD_INFO5 *ni_std5(struct ntfs_inode *ni) in ni_std5() argument
[all …]
H A Dfile.c35 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_dio_alignment() local
37 if (is_resident(ni)) { in ntfs_dio_alignment()
39 if (!ni->file.run_da.count) in ntfs_dio_alignment()
44 return ni->mi.sbi->bdev_blocksize; in ntfs_dio_alignment()
190 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_getattr() local
193 if (unlikely(is_bad_ni(ni))) in ntfs_getattr()
197 stat->btime = ni->i_crtime; in ntfs_getattr()
198 stat->blksize = ni->mi.sbi->cluster_size; /* 512, 1K, ..., 2M */ in ntfs_getattr()
206 if (is_compressed(ni)) in ntfs_getattr()
209 if (is_encrypted(ni)) in ntfs_getattr()
[all …]
H A Dntfs_fs.h74 /* ni->ni_flags */
260 struct ntfs_inode *ni; member
290 struct ntfs_inode *ni; member
301 struct ntfs_inode *ni; member
309 struct ntfs_inode *ni; member
315 struct ntfs_inode *ni; member
453 int attr_make_nonresident(struct ntfs_inode *ni, struct ATTRIB *attr,
457 int attr_set_size_ex(struct ntfs_inode *ni, enum ATTR_TYPE type,
461 static inline int attr_set_size(struct ntfs_inode *ni, enum ATTR_TYPE type, in attr_set_size() argument
466 return attr_set_size_ex(ni, type, name, name_len, run, new_size, in attr_set_size()
[all …]
H A Dindex.c204 static int bmp_buf_get(struct ntfs_index *indx, struct ntfs_inode *ni, in bmp_buf_get() argument
209 struct ntfs_sb_info *sbi = ni->mi.sbi; in bmp_buf_get()
219 b = ni_find_attr(ni, NULL, &le, ATTR_BITMAP, in->name, in->name_len, in bmp_buf_get()
314 static int indx_mark_used(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_mark_used() argument
320 err = bmp_buf_get(indx, ni, bit, &bbuf); in indx_mark_used()
334 static int indx_mark_free(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_mark_free() argument
340 err = bmp_buf_get(indx, ni, bit, &bbuf); in indx_mark_free()
358 static int scan_nres_bitmap(struct ntfs_inode *ni, struct ATTRIB *bitmap, in scan_nres_bitmap() argument
364 struct ntfs_sb_info *sbi = ni->mi.sbi; in scan_nres_bitmap()
400 err = attr_load_runs_vcn(ni, ATTR_BITMAP, name->name, in scan_nres_bitmap()
[all …]
H A Drecord.c34 static __le16 mi_new_attt_id(struct ntfs_inode *ni, struct mft_inode *mi) in mi_new_attt_id() argument
55 attr = mi_enum_attr(ni, mi, attr); in mi_new_attt_id()
122 struct ntfs_inode *mft_ni = sbi->mft.ni; in mi_read()
198 struct ATTRIB *mi_enum_attr(struct ntfs_inode *ni, struct mft_inode *mi, in mi_enum_attr() argument
352 _ntfs_bad_inode(&ni->vfs_inode); in mi_enum_attr()
359 struct ATTRIB *mi_find_attr(struct ntfs_inode *ni, struct mft_inode *mi, in mi_find_attr() argument
367 attr = mi_enum_attr(ni, mi, attr); in mi_find_attr()
453 struct ntfs_inode *ni = sbi->mft.ni; in mi_format_new() local
457 down_read(&ni->file.run_lock); in mi_format_new()
461 err = ntfs_get_bh(sbi, &ni->file.run, vbo, sbi->record_size, in mi_format_new()
[all …]
H A Dsuper.c17 * ni - NTFS inode - Extends linux inode. consists of one or more mft inodes.
638 struct ntfs_inode *ni = alloc_inode_sb(sb, ntfs_inode_cachep, GFP_NOFS); in ntfs_alloc_inode() local
640 if (!ni) in ntfs_alloc_inode()
643 memset(ni, 0, offsetof(struct ntfs_inode, vfs_inode)); in ntfs_alloc_inode()
644 mutex_init(&ni->ni_lock); in ntfs_alloc_inode()
645 return &ni->vfs_inode; in ntfs_alloc_inode()
650 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_free_inode() local
652 mutex_destroy(&ni->ni_lock); in ntfs_free_inode()
653 kmem_cache_free(ntfs_inode_cachep, ni); in ntfs_free_inode()
658 struct ntfs_inode *ni = foo; in init_once() local
[all …]
/linux/drivers/firmware/arm_scmi/
H A Dnotify.c273 * @ni: A reference to the initialized instance descriptor
300 struct scmi_notify_instance *ni; member
376 scmi_get_active_handler(struct scmi_notify_instance *ni, u32 evt_key);
377 static void scmi_put_active_handler(struct scmi_notify_instance *ni,
379 static bool scmi_put_handler_unlocked(struct scmi_notify_instance *ni,
384 * @ni: A reference to the notification instance to use
390 scmi_lookup_and_call_event_chain(struct scmi_notify_instance *ni, in scmi_lookup_and_call_event_chain() argument
402 hndl = scmi_get_active_handler(ni, evt_key); in scmi_lookup_and_call_event_chain()
412 scmi_put_active_handler(ni, hndl); in scmi_lookup_and_call_event_chain()
441 dev_err(pd->ni->handle->dev, "corrupted EVT header. Flush.\n"); in scmi_process_event_header()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp_cmds.c26 struct nsp_identify *ni; in __nfp_nsp_identify() local
32 ni = kzalloc_obj(*ni); in __nfp_nsp_identify()
33 if (!ni) in __nfp_nsp_identify()
36 ret = nfp_nsp_read_identify(nsp, ni, sizeof(*ni)); in __nfp_nsp_identify()
47 memcpy(nspi->version, ni->version, sizeof(nspi->version)); in __nfp_nsp_identify()
49 nspi->flags = ni->flags; in __nfp_nsp_identify()
50 nspi->br_primary = ni->br_primary; in __nfp_nsp_identify()
51 nspi->br_secondary = ni->br_secondary; in __nfp_nsp_identify()
52 nspi->br_nsp = ni->br_nsp; in __nfp_nsp_identify()
53 nspi->primary = le16_to_cpu(ni->primary); in __nfp_nsp_identify()
[all …]
/linux/drivers/comedi/drivers/ni_routing/
H A DREADME9 NI hardware using comedi. The major reason for this is that the actual
15 increasingly hard to find and the NI-MHDDK (comments in in example code).
34 information is through the proprietary NI-MAX software, which currently only
36 cannot be exported from NI-MAX, except by screenshot.
48 directory are chosen to be consistent with (a) the NI's user level
49 documentation, (b) NI's user-level code, (c) the information as provided by
50 the proprietary NI-MAX software, and (d) the user interface code provided by
92 simplify/clarify signal routing on NI devices, a corresponding
98 Windows software, NI-MAX. Also, as noted above, this information can
99 only be visually conveyed from NI-MAX to other media. To make this
[all …]
/linux/drivers/comedi/drivers/
H A Dni_pcimio.c3 * Comedi driver for NI PCI-MIO E series cards
85 * - need to slow down DAC loading. I don't trust NI's claim that
1405 { PCI_VDEVICE(NI, 0x0162), BOARD_PCIMIO_16XE_50 }, /* 0x1620? */
1406 { PCI_VDEVICE(NI, 0x1170), BOARD_PCIMIO_16XE_10 },
1407 { PCI_VDEVICE(NI, 0x1180), BOARD_PCIMIO_16E_1 },
1408 { PCI_VDEVICE(NI, 0x1190), BOARD_PCIMIO_16E_4 },
1409 { PCI_VDEVICE(NI, 0x11b0), BOARD_PXI6070E },
1410 { PCI_VDEVICE(NI, 0x11c0), BOARD_PXI6040E },
1411 { PCI_VDEVICE(NI, 0x11d0), BOARD_PXI6030E },
1412 { PCI_VDEVICE(NI, 0x1270), BOARD_PCI6032E },
[all …]
H A Dni_65xx.c786 { PCI_VDEVICE(NI, 0x1710), BOARD_PXI6509 },
787 { PCI_VDEVICE(NI, 0x7085), BOARD_PCI6509 },
788 { PCI_VDEVICE(NI, 0x7086), BOARD_PXI6528 },
789 { PCI_VDEVICE(NI, 0x7087), BOARD_PCI6515 },
790 { PCI_VDEVICE(NI, 0x7088), BOARD_PCI6514 },
791 { PCI_VDEVICE(NI, 0x70a9), BOARD_PCI6528 },
792 { PCI_VDEVICE(NI, 0x70c3), BOARD_PCI6511 },
793 { PCI_VDEVICE(NI, 0x70c8), BOARD_PCI6513 },
794 { PCI_VDEVICE(NI, 0x70c9), BOARD_PXI6515 },
795 { PCI_VDEVICE(NI, 0x70cc), BOARD_PCI6512 },
[all …]
H A Dni_routes.h4 * Route information for NI boards.
71 * ni_assign_device_routes() - Assign the proper lookup table for NI signal
72 * routing to the specified NI device.
155 * is valid for the given NI comedi_device.
230 * Return: The NI signal value (e.g. NI_PFI(0) or PXI_Clk10) if found.
251 * particular valid NI signal/terminal route.
281 * Otherwise, the src is expected to be one of the abstracted NI in ni_get_reg_value_roffs()
294 * ni_check_trigger_arg_roffs() - Checks the trigger argument (*_arg) of an NI
297 * to define a trigger source, _or_ a valid NI
310 * Return: 0 if the src (either register value or NI signal/terminal name) is
H A Dni_670x.c3 * Comedi driver for NI 670x devices
83 * NI 6703/ NI 6704 | NI 6704 Only in ni_670x_ao_insn_write()
262 { PCI_VDEVICE(NI, 0x1290), BOARD_PCI6704 },
263 { PCI_VDEVICE(NI, 0x1920), BOARD_PXI6704 },
264 { PCI_VDEVICE(NI, 0x2c90), BOARD_PCI6703 },
H A D8255_pci.c281 { PCI_VDEVICE(NI, 0x0160), BOARD_NI_PCIDIO96 },
282 { PCI_VDEVICE(NI, 0x1630), BOARD_NI_PCIDIO96B },
283 { PCI_VDEVICE(NI, 0x13c0), BOARD_NI_PXI6508 },
284 { PCI_VDEVICE(NI, 0x0400), BOARD_NI_PCI6503 },
285 { PCI_VDEVICE(NI, 0x1250), BOARD_NI_PCI6503B },
286 { PCI_VDEVICE(NI, 0x17d0), BOARD_NI_PCI6503X },
287 { PCI_VDEVICE(NI, 0x1800), BOARD_NI_PXI_6503 },
/linux/drivers/clk/renesas/
H A Drcar-gen4-cpg.c87 unsigned int ni, nf; in cpg_pll_8_25_clk_recalc_rate() local
90 ni = (FIELD_GET(CPG_PLLxCR0_NI8, cr0) + 1) * 2; in cpg_pll_8_25_clk_recalc_rate()
91 rate = parent_rate * ni; in cpg_pll_8_25_clk_recalc_rate()
104 unsigned int min_mult, max_mult, ni, nf; in cpg_pll_8_25_clk_determine_rate() local
115 ni = div64_ul(req->rate, prate); in cpg_pll_8_25_clk_determine_rate()
116 if (ni < min_mult) { in cpg_pll_8_25_clk_determine_rate()
117 ni = min_mult; in cpg_pll_8_25_clk_determine_rate()
120 ni = min(ni, max_mult); in cpg_pll_8_25_clk_determine_rate()
121 nf = div64_ul((u64)(req->rate - prate * ni) << 24, in cpg_pll_8_25_clk_determine_rate()
125 ni = DIV_ROUND_CLOSEST_ULL(req->rate, prate); in cpg_pll_8_25_clk_determine_rate()
[all …]
/linux/fs/lockd/
H A Dhost.c111 static struct nlm_host *nlm_alloc_host(struct nlm_lookup_host_info *ni, in nlm_alloc_host() argument
120 nsm = nsm_get_handle(ni->net, ni->sap, ni->salen, in nlm_alloc_host()
121 ni->hostname, ni->hostname_len); in nlm_alloc_host()
136 memcpy(nlm_addr(host), ni->sap, ni->salen); in nlm_alloc_host()
137 host->h_addrlen = ni->salen; in nlm_alloc_host()
143 host->h_version = ni->version; in nlm_alloc_host()
144 host->h_proto = ni->protocol; in nlm_alloc_host()
146 host->h_server = ni->server; in nlm_alloc_host()
147 host->h_noresvport = ni->noresvport; in nlm_alloc_host()
164 host->net = ni->net; in nlm_alloc_host()
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dnixge.txt1 * NI XGE Ethernet controller
4 - compatible: Should be "ni,xge-enet-3.00", but can be "ni,xge-enet-2.00" for
26 compatible = "ni,xge-enet-3.00";
51 compatible = "ni,xge-enet-2.00";
67 compatible = "ni,xge-enet-2.00";
/linux/Documentation/devicetree/bindings/input/
H A De3x0-button.txt3 This module is part of the NI Ettus Research USRP E3x0 SDR.
9 - "ettus,e3x0-button": For devices such as the NI Ettus Research USRP E3x0
11 - <0 30 1>, <0 31 1>: For devices such as the NI Ettus Research USRP E3x0
13 - "press", "release": For devices such as the NI Ettus Research USRP E3x0
/linux/include/uapi/linux/
H A Dcomedi.h952 /* *** BEGIN GLOBALLY-NAMED NI TERMINALS/SIGNALS *** */
956 * Some of these have no NI_ prefix as they are useful for non-NI hardware, such
968 * NI hardware using comedi. The major reason for this is that the actual
973 * increasingly hard to find and the NI MHDDK (comments in example code).
985 * Similar, albeit less, confusion plagued NI's previous version of their own
986 * drivers. Earlier than 2003, NI greatly simplified the situation for users
990 * The names below mirror the names chosen and well documented by NI. These
998 * Base of abstracted NI names.
1001 * NI select registers anyways, we'll identify all values >= (1<<15) as being an
1002 * abstracted NI signal/terminal name.
[all …]
/linux/arch/mips/generic/
H A Dboard-ni169445.its.S4 description = "NI 169445 device tree";
5 data = /incbin/("boot/dts/ni/169445.dtb");
17 description = "NI 169445 Linux Kernel";
/linux/drivers/tty/serial/8250/
H A D8250_ni.c3 * NI 16550 UART Driver
5 * The National Instruments (NI) 16550 is a UART that is compatible with the
140 * If the PMR is not implemented, then by default NI UARTs are in is_pmr_rs232_mode()
318 dev_dbg(dev, "NI 16550 has TX FIFO size %u, RX FIFO size %u\n", in ni16550_probe()
403 /* NI 16550 RS-485 Interface */
408 /* NI CVS-145x RS-485 Interface */
414 /* NI cRIO-904x RS-485 Interface */
421 /* NI sbRIO 96x8 RS-232/485 Interfaces */
449 MODULE_DESCRIPTION("NI 16550 Driver");
/linux/Documentation/devicetree/bindings/perf/
H A Darm,ni.yaml4 $id: http://devicetree.org/schemas/perf/arm,ni.yaml#
7 title: Arm NI (Network-on-Chip Interconnect) Performance Monitors
14 const: arm,ni-700
/linux/drivers/md/
H A Ddm-stats.c217 size_t ni; in dm_stats_cleanup() local
224 for (ni = 0; ni < s->n_entries; ni++) { in dm_stats_cleanup()
225 shared = &s->stat_shared[ni]; in dm_stats_cleanup()
229 (unsigned long)ni, in dm_stats_cleanup()
272 size_t ni; in dm_stats_create() local
345 for (ni = 0; ni < n_entries; ni++) { in dm_stats_create()
346 atomic_set(&s->stat_shared[ni].in_flight[READ], 0); in dm_stats_create()
347 atomic_set(&s->stat_shared[ni].in_flight[WRITE], 0); in dm_stats_create()
359 for (ni = 0; ni < n_entries; ni++) { in dm_stats_create()
360 s->stat_shared[ni].tmp.histogram = hi; in dm_stats_create()
[all …]
/linux/net/core/
H A Dnetpoll.c178 struct netpoll_info *ni = rcu_dereference_bh(dev->npinfo); in netpoll_poll_dev() local
185 if (!ni || down_trylock(&ni->dev_lock)) in netpoll_poll_dev()
192 up(&ni->dev_lock); in netpoll_poll_dev()
202 up(&ni->dev_lock); in netpoll_poll_dev()
210 struct netpoll_info *ni; in netpoll_poll_disable() local
213 ni = rtnl_dereference(dev->npinfo); in netpoll_poll_disable()
214 if (ni) in netpoll_poll_disable()
215 down(&ni->dev_lock); in netpoll_poll_disable()
220 struct netpoll_info *ni; in netpoll_poll_enable() local
222 ni = rtnl_dereference(dev->npinfo); in netpoll_poll_enable()
[all …]
/linux/arch/mips/boot/dts/ni/
H A D169445.dts6 compatible = "ni,169445";
44 compatible = "ni,169445-nand-gpio";
52 compatible = "ni,169445-nand-gpio";

123456789