Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.12.1/arch/arm64/tools/
Dsysreg44 # NI - Not implemented
109 0b0000 NI
114 0b0000 NI
118 0b0000 NI
128 0b0000 NI
132 0b0000 NI
137 0b0000 NI
142 0b0000 NI
150 0b0000 NI
155 0b0000 NI
[all …]
/linux-6.12.1/fs/ntfs3/
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->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 …]
Dfile.c58 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_fileattr_get() local
67 if (is_compressed(ni)) in ntfs_fileattr_get()
70 if (is_encrypted(ni)) in ntfs_fileattr_get()
85 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_fileattr_set() local
102 if (!is_dedup(ni) && !is_encrypted(ni) && in ntfs_fileattr_set()
148 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_getattr() local
151 stat->btime = ni->i_crtime; in ntfs_getattr()
152 stat->blksize = ni->mi.sbi->cluster_size; /* 512, 1K, ..., 2M */ in ntfs_getattr()
160 if (is_compressed(ni)) in ntfs_getattr()
163 if (is_encrypted(ni)) in ntfs_getattr()
[all …]
Dattrlist.c19 static inline bool al_is_valid_le(const struct ntfs_inode *ni, in al_is_valid_le() argument
22 if (!le || !ni->attr_list.le || !ni->attr_list.size) in al_is_valid_le()
25 return PtrOffset(ni->attr_list.le, le) + le16_to_cpu(le->size) <= in al_is_valid_le()
26 ni->attr_list.size; in al_is_valid_le()
29 void al_destroy(struct ntfs_inode *ni) in al_destroy() argument
31 run_close(&ni->attr_list.run); in al_destroy()
32 kvfree(ni->attr_list.le); in al_destroy()
33 ni->attr_list.le = NULL; in al_destroy()
34 ni->attr_list.size = 0; in al_destroy()
35 ni->attr_list.dirty = false; in al_destroy()
[all …]
Dattrib.c60 static int attr_load_runs(struct ATTRIB *attr, struct ntfs_inode *ni, in attr_load_runs() argument
81 err = run_unpack_ex(run, ni->mi.sbi, ni->mi.rno, svcn, evcn, in attr_load_runs()
226 int attr_make_nonresident(struct ntfs_inode *ni, struct ATTRIB *attr, in attr_make_nonresident() argument
291 struct address_space *mapping = ni->vfs_inode.i_mapping; in attr_make_nonresident()
315 al_remove_le(ni, le); in attr_make_nonresident()
317 err = ni_insert_nonresident(ni, attr_s->type, attr_name(attr_s), in attr_make_nonresident()
330 ni->ni_flags &= ~NI_FLAG_RESIDENT; in attr_make_nonresident()
354 static int attr_set_size_res(struct ntfs_inode *ni, struct ATTRIB *attr, in attr_set_size_res() argument
373 return attr_make_nonresident(ni, attr, le, mi, new_size, in attr_set_size_res()
402 int attr_set_size(struct ntfs_inode *ni, enum ATTR_TYPE type, in attr_set_size() argument
[all …]
Dntfs_fs.h73 /* ni->ni_flags */
255 struct ntfs_inode *ni; member
279 struct ntfs_inode *ni; member
290 struct ntfs_inode *ni; member
298 struct ntfs_inode *ni; member
304 struct ntfs_inode *ni; member
427 int attr_make_nonresident(struct ntfs_inode *ni, struct ATTRIB *attr,
431 int attr_set_size(struct ntfs_inode *ni, enum ATTR_TYPE type,
435 int attr_data_get_block(struct ntfs_inode *ni, CLST vcn, CLST clen, CLST *lcn,
437 int attr_data_read_resident(struct ntfs_inode *ni, struct folio *folio);
[all …]
Dinode.c28 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_read_mft() local
54 err = mi_init(&ni->mi, sbi, ino); in ntfs_read_mft()
58 if (!sbi->mft.ni && ino == MFT_REC_MFT && !sb->s_root) { in ntfs_read_mft()
61 sbi->mft.ni = ni; in ntfs_read_mft()
62 init_rwsem(&ni->file.run_lock); in ntfs_read_mft()
64 if (!run_add_entry(&ni->file.run, 0, t64, t32, true)) { in ntfs_read_mft()
70 err = mi_read(&ni->mi, ino == MFT_REC_MFT); in ntfs_read_mft()
75 rec = ni->mi.mrec; in ntfs_read_mft()
118 * while( (attr = ni_enum_attr_ex(ni, attr, &le, NULL) )) in ntfs_read_mft()
123 attr = ni_enum_attr_ex(ni, attr, &le, NULL); in ntfs_read_mft()
[all …]
Dxattr.c73 static int ntfs_read_ea(struct ntfs_inode *ni, struct EA_FULL **ea, in ntfs_read_ea() argument
77 struct ntfs_sb_info *sbi = ni->mi.sbi; in ntfs_read_ea()
89 ni_find_attr(ni, NULL, &le, ATTR_EA_INFO, NULL, 0, NULL, NULL); in ntfs_read_ea()
91 ni_find_attr(ni, attr_info, &le, ATTR_EA, NULL, 0, NULL, NULL); in ntfs_read_ea()
127 err = attr_load_runs_range(ni, ATTR_EA, NULL, 0, &run, 0, size); in ntfs_read_ea()
193 static ssize_t ntfs_list_ea(struct ntfs_inode *ni, char *buffer, in ntfs_list_ea() argument
202 err = ntfs_read_ea(ni, &ea_all, 0, &info); in ntfs_list_ea()
223 ntfs_set_state(ni->mi.sbi, NTFS_DIRTY_ERROR); in ntfs_list_ea()
254 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_get_ea() local
261 if (!(ni->ni_flags & NI_FLAG_EA)) in ntfs_get_ea()
[all …]
Ddir.c239 struct ntfs_inode *ni = ntfs_i(dir); in dir_search_u() local
254 err = indx_find(&ni->dir, ni, NULL, uni, 0, sbi, &diff, &e, fnd); in dir_search_u()
279 struct ntfs_inode *ni, const struct NTFS_DE *e, in ntfs_dir_emit() argument
292 if (!mi_is_ref(&ni->mi, &fname->home)) in ntfs_dir_emit()
334 ino != ni->mi.rno) { in ntfs_dir_emit()
352 static int ntfs_read_hdr(struct ntfs_sb_info *sbi, struct ntfs_inode *ni, in ntfs_read_hdr() argument
383 if (!ntfs_dir_emit(sbi, ni, e, name, ctx)) { in ntfs_read_hdr()
405 struct ntfs_inode *ni = ntfs_i(dir); in ntfs_readdir() local
412 u8 index_bits = ni->dir.index_bits; in ntfs_readdir()
430 if (!ni->mi_loaded && ni->attr_list.size) { in ntfs_readdir()
[all …]
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()
316 static int indx_mark_used(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_mark_used() argument
322 err = bmp_buf_get(indx, ni, bit, &bbuf); in indx_mark_used()
336 static int indx_mark_free(struct ntfs_index *indx, struct ntfs_inode *ni, in indx_mark_free() argument
342 err = bmp_buf_get(indx, ni, bit, &bbuf); in indx_mark_free()
360 static int scan_nres_bitmap(struct ntfs_inode *ni, struct ATTRIB *bitmap, in scan_nres_bitmap() argument
366 struct ntfs_sb_info *sbi = ni->mi.sbi; in scan_nres_bitmap()
402 err = attr_load_runs_vcn(ni, ATTR_BITMAP, name->name, in scan_nres_bitmap()
[all …]
Dfsntfs.c244 sbi->objid.ni = ntfs_i(inode2); in ntfs_extend_init()
259 sbi->reparse.ni = ntfs_i(inode2); in ntfs_extend_init()
276 int ntfs_loadlog_and_replay(struct ntfs_inode *ni, struct ntfs_sb_info *sbi) in ntfs_loadlog_and_replay() argument
285 if (ni->vfs_inode.i_size >= 0x100000000ull) { in ntfs_loadlog_and_replay()
319 sbi->mft.ni = ntfs_i(inode); in ntfs_loadlog_and_replay()
322 err = ni_load_all_mi(sbi->mft.ni); in ntfs_loadlog_and_replay()
324 err = log_replay(ni, &initialized); in ntfs_loadlog_and_replay()
327 sbi->mft.ni = NULL; in ntfs_loadlog_and_replay()
341 err = ntfs_bio_fill_1(sbi, &ni->file.run); in ntfs_loadlog_and_replay()
501 struct ntfs_inode *ni = sbi->mft.ni; in ntfs_extend_mft() local
[all …]
Dnamei.c70 struct ntfs_inode *ni = ntfs_i(dir); in ntfs_lookup() local
78 err = ntfs_nls_to_utf16(ni->mi.sbi, dentry->d_name.name, in ntfs_lookup()
84 ni_lock_dir(ni); in ntfs_lookup()
86 ni_unlock(ni); in ntfs_lookup()
131 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_link() local
141 ni_lock(ni); in ntfs_link()
160 ni_unlock(ni); in ntfs_link()
171 struct ntfs_inode *ni = ntfs_i(dir); in ntfs_unlink() local
177 ni_lock_dir(ni); in ntfs_unlink()
181 ni_unlock(ni); in ntfs_unlink()
[all …]
Dsuper.c17 * ni - NTFS inode - Extends linux inode. consists of one or more mft inodes.
564 struct ntfs_inode *ni = alloc_inode_sb(sb, ntfs_inode_cachep, GFP_NOFS); in ntfs_alloc_inode() local
566 if (!ni) in ntfs_alloc_inode()
569 memset(ni, 0, offsetof(struct ntfs_inode, vfs_inode)); in ntfs_alloc_inode()
570 mutex_init(&ni->ni_lock); in ntfs_alloc_inode()
571 return &ni->vfs_inode; in ntfs_alloc_inode()
576 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_free_inode() local
578 mutex_destroy(&ni->ni_lock); in ntfs_free_inode()
579 kmem_cache_free(ntfs_inode_cachep, ni); in ntfs_free_inode()
584 struct ntfs_inode *ni = foo; in init_once() local
[all …]
/linux-6.12.1/drivers/firmware/arm_scmi/
Dnotify.c273 * @ni: A reference to the initialized instance descriptor
300 struct scmi_notify_instance *ni; member
372 scmi_get_active_handler(struct scmi_notify_instance *ni, u32 evt_key);
373 static void scmi_put_active_handler(struct scmi_notify_instance *ni,
375 static bool scmi_put_handler_unlocked(struct scmi_notify_instance *ni,
380 * @ni: A reference to the notification instance to use
386 scmi_lookup_and_call_event_chain(struct scmi_notify_instance *ni, in scmi_lookup_and_call_event_chain() argument
398 hndl = scmi_get_active_handler(ni, evt_key); in scmi_lookup_and_call_event_chain()
408 scmi_put_active_handler(ni, hndl); in scmi_lookup_and_call_event_chain()
437 dev_err(pd->ni->handle->dev, "corrupted EVT header. Flush.\n"); in scmi_process_event_header()
[all …]
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_nsp_cmds.c26 struct nsp_identify *ni; in __nfp_nsp_identify() local
32 ni = kzalloc(sizeof(*ni), GFP_KERNEL); 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-6.12.1/drivers/comedi/drivers/ni_routing/
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-6.12.1/arch/x86/crypto/
DKconfig17 tristate "Ciphers: AES, modes: ECB, CBC, CTS, CTR, XCTR, XTS, GCM (AES-NI/VAES)"
31 - AES-NI (AES new instructions)
61 tristate "Ciphers: Camellia with modes: ECB, CBC (AES-NI/AVX)"
71 - AES-NI (AES New Instructions)
75 tristate "Ciphers: Camellia with modes: ECB, CBC (AES-NI/AVX2)"
82 - AES-NI (AES New Instructions)
197 tristate "Ciphers: SM4 with modes: ECB, CBC, CTR (AES-NI/AVX)"
208 - AES-NI (AES New Instructions)
218 tristate "Ciphers: SM4 with modes: ECB, CBC, CTR (AES-NI/AVX2)"
230 - AES-NI (AES New Instructions)
[all …]
/linux-6.12.1/drivers/comedi/drivers/
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 …]
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 …]
/linux-6.12.1/drivers/perf/
Darm-ni.c3 // NI-700 Network-on-Chip PMU driver
232 struct arm_ni *ni = cd_to_ni(pmu_to_cd(dev_get_drvdata(dev))); in arm_ni_identifier_show() local
233 u32 reg = readl_relaxed(ni->base + NI_PERIPHERAL_ID2); in arm_ni_identifier_show()
236 return sysfs_emit(buf, "%03x%02x\n", ni->part, version); in arm_ni_identifier_show()
471 static int arm_ni_init_cd(struct arm_ni *ni, struct arm_ni_node *node, u64 res_start) in arm_ni_init_cd() argument
473 struct arm_ni_cd *cd = ni->cds + node->id; in arm_ni_init_cd()
479 cd->units = devm_kcalloc(ni->dev, cd->num_units, sizeof(*(cd->units)), GFP_KERNEL); in arm_ni_init_cd()
485 void __iomem *unit_base = ni->base + reg; in arm_ni_init_cd()
496 dev_info(ni->dev, "No access to PMU %d\n", cd->id); in arm_ni_init_cd()
497 devm_kfree(ni->dev, cd->units); in arm_ni_init_cd()
[all …]
/linux-6.12.1/drivers/clk/renesas/
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-6.12.1/fs/f2fs/
Dnode.h68 struct node_info ni; /* in-memory node information */ member
71 #define nat_get_nid(nat) ((nat)->ni.nid)
72 #define nat_set_nid(nat, n) ((nat)->ni.nid = (n))
73 #define nat_get_blkaddr(nat) ((nat)->ni.blk_addr)
74 #define nat_set_blkaddr(nat, b) ((nat)->ni.blk_addr = (b))
75 #define nat_get_ino(nat) ((nat)->ni.ino)
76 #define nat_set_ino(nat, i) ((nat)->ni.ino = (i))
77 #define nat_get_version(nat) ((nat)->ni.version)
78 #define nat_set_version(nat, v) ((nat)->ni.version = (v))
96 ne->ni.flag |= BIT(type); in set_nat_flag()
[all …]
/linux-6.12.1/fs/lockd/
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-6.12.1/Documentation/devicetree/bindings/net/
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-6.12.1/Documentation/devicetree/bindings/input/
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

12345678910>>...12