Home
last modified time | relevance | path

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

12345678910>>...14

/openbmc/linux/arch/arm64/tools/
H A 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 …]
/openbmc/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->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.c78 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_getattr() local
80 if (is_compressed(ni)) in ntfs_getattr()
83 if (is_encrypted(ni)) in ntfs_getattr()
91 stat->btime = ni->i_crtime; in ntfs_getattr()
92 stat->blksize = ni->mi.sbi->cluster_size; /* 512, 1K, ..., 2M */ in ntfs_getattr()
98 struct ntfs_inode *ni, in ntfs_extend_initialized_size() argument
102 struct inode *inode = &ni->vfs_inode; in ntfs_extend_initialized_size()
108 if (is_resident(ni)) { in ntfs_extend_initialized_size()
109 ni->i_valid = new_valid; in ntfs_extend_initialized_size()
113 WARN_ON(is_compressed(ni)); in ntfs_extend_initialized_size()
[all …]
H A 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 …]
H A 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 page *page);
[all …]
H A 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
293 page = grab_cache_page(ni->vfs_inode.i_mapping, 0); in attr_make_nonresident()
316 al_remove_le(ni, le); in attr_make_nonresident()
318 err = ni_insert_nonresident(ni, attr_s->type, attr_name(attr_s), in attr_make_nonresident()
331 ni->ni_flags &= ~NI_FLAG_RESIDENT; in attr_make_nonresident()
355 static int attr_set_size_res(struct ntfs_inode *ni, struct ATTRIB *attr, in attr_set_size_res() argument
374 return attr_make_nonresident(ni, attr, le, mi, new_size, in attr_set_size_res()
403 int attr_set_size(struct ntfs_inode *ni, enum ATTR_TYPE type, in attr_set_size() argument
[all …]
H A 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 …]
H A 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
204 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()
253 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_get_ea() local
260 if (!(ni->ni_flags & NI_FLAG_EA)) in ntfs_get_ea()
[all …]
H A 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 …]
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()
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 …]
H A 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 …]
H A 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()
141 struct ntfs_inode *ni = ntfs_i(inode); in ntfs_link() local
151 ni_lock(ni); in ntfs_link()
170 ni_unlock(ni); in ntfs_link()
181 struct ntfs_inode *ni = ntfs_i(dir); in ntfs_unlink() local
187 ni_lock_dir(ni); in ntfs_unlink()
191 ni_unlock(ni); in ntfs_unlink()
[all …]
/openbmc/linux/fs/ntfs/
H A Dinode.c49 ntfs_inode *ni; in ntfs_test_inode() local
53 ni = NTFS_I(vi); in ntfs_test_inode()
54 /* If !NInoAttr(ni), @vi is a normal file or directory inode. */ in ntfs_test_inode()
55 if (likely(!NInoAttr(ni))) { in ntfs_test_inode()
61 if (ni->type != na->type) in ntfs_test_inode()
63 if (ni->name_len != na->name_len) in ntfs_test_inode()
65 if (na->name_len && memcmp(ni->name, na->name, in ntfs_test_inode()
94 ntfs_inode *ni = NTFS_I(vi); in ntfs_init_locked_inode() local
98 ni->type = na->type; in ntfs_init_locked_inode()
100 NInoSetMstProtected(ni); in ntfs_init_locked_inode()
[all …]
H A Dmft.h18 extern MFT_RECORD *map_mft_record(ntfs_inode *ni);
19 extern void unmap_mft_record(ntfs_inode *ni);
24 static inline void unmap_extent_mft_record(ntfs_inode *ni) in unmap_extent_mft_record() argument
26 unmap_mft_record(ni); in unmap_extent_mft_record()
34 * @ni: ntfs inode structure of mft record
41 static inline void flush_dcache_mft_record_page(ntfs_inode *ni) in flush_dcache_mft_record_page() argument
43 flush_dcache_page(ni->page); in flush_dcache_mft_record_page()
46 extern void __mark_mft_record_dirty(ntfs_inode *ni);
50 * @ni: ntfs inode describing the mapped mft record
52 * Set the mapped (extent) mft record of the (base or extent) ntfs inode @ni,
[all …]
H A Dattrib.c26 * @ni: ntfs inode for which to map (part of) a runlist
30 * Map the part of a runlist containing the @vcn of the ntfs inode @ni.
32 * If @ctx is specified, it is an active search context of @ni and its base mft
63 * Locking: - The runlist described by @ni must be locked for writing on entry
65 * - If @ctx is NULL, the base mft record of @ni must not be mapped on
70 int ntfs_map_runlist_nolock(ntfs_inode *ni, VCN vcn, ntfs_attr_search_ctx *ctx) in ntfs_map_runlist_nolock() argument
85 if (!NInoAttr(ni)) in ntfs_map_runlist_nolock()
86 base_ni = ni; in ntfs_map_runlist_nolock()
88 base_ni = ni->ext.base_ntfs_ino; in ntfs_map_runlist_nolock()
107 read_lock_irqsave(&ni->size_lock, flags); in ntfs_map_runlist_nolock()
[all …]
H A Dfile.c62 * @ni: ntfs inode of the attribute to extend
65 * Extend the initialized size of an attribute described by the ntfs inode @ni
93 * Locking: i_mutex on the vfs inode corrseponsind to the ntfs inode @ni must be
96 static int ntfs_attr_extend_initialized(ntfs_inode *ni, const s64 new_init_size) in ntfs_attr_extend_initialized() argument
102 struct inode *vi = VFS_I(ni); in ntfs_attr_extend_initialized()
113 read_lock_irqsave(&ni->size_lock, flags); in ntfs_attr_extend_initialized()
114 old_init_size = ni->initialized_size; in ntfs_attr_extend_initialized()
116 BUG_ON(new_init_size > ni->allocated_size); in ntfs_attr_extend_initialized()
117 read_unlock_irqrestore(&ni->size_lock, flags); in ntfs_attr_extend_initialized()
121 vi->i_ino, (unsigned)le32_to_cpu(ni->type), in ntfs_attr_extend_initialized()
[all …]
H A Daops.c51 ntfs_inode *ni; in ntfs_end_buffer_async_read() local
56 ni = NTFS_I(vi); in ntfs_end_buffer_async_read()
66 read_lock_irqsave(&ni->size_lock, flags); in ntfs_end_buffer_async_read()
67 init_size = ni->initialized_size; in ntfs_end_buffer_async_read()
69 read_unlock_irqrestore(&ni->size_lock, flags); in ntfs_end_buffer_async_read()
91 ntfs_error(ni->vol->sb, "Buffer I/O error, logical block " in ntfs_end_buffer_async_read()
114 * attribute is mst protected, i.e. if NInoMstProteced(ni) is true. in ntfs_end_buffer_async_read()
119 if (!NInoMstProtected(ni)) { in ntfs_end_buffer_async_read()
127 rec_size = ni->itype.index.block_size; in ntfs_end_buffer_async_read()
171 ntfs_inode *ni; in ntfs_read_block() local
[all …]
H A Dmft.c28 * @ni: ntfs inode whose mft record page to map
30 * This maps the page in which the mft record of the ntfs inode @ni is situated
36 static inline MFT_RECORD *map_mft_record_page(ntfs_inode *ni) in map_mft_record_page() argument
39 ntfs_volume *vol = ni->vol; in map_mft_record_page()
45 BUG_ON(ni->page); in map_mft_record_page()
52 index = (u64)ni->mft_no << vol->mft_record_size_bits >> in map_mft_record_page()
54 ofs = (ni->mft_no << vol->mft_record_size_bits) & ~PAGE_MASK; in map_mft_record_page()
68 "driver.", ni->mft_no); in map_mft_record_page()
78 ni->page = page; in map_mft_record_page()
79 ni->page_ofs = ofs; in map_mft_record_page()
[all …]
H A Dinode.h169 static inline int NIno##flag(ntfs_inode *ni) \
171 return test_bit(NI_##flag, &(ni)->state); \
173 static inline void NInoSet##flag(ntfs_inode *ni) \
175 set_bit(NI_##flag, &(ni)->state); \
177 static inline void NInoClear##flag(ntfs_inode *ni) \
179 clear_bit(NI_##flag, &(ni)->state); \
186 static inline int NInoTestSet##flag(ntfs_inode *ni) \
188 return test_and_set_bit(NI_##flag, &(ni)->state); \
190 static inline int NInoTestClear##flag(ntfs_inode *ni) \
192 return test_and_clear_bit(NI_##flag, &(ni)->state); \
[all …]
/openbmc/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(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 …]
/openbmc/linux/drivers/firmware/arm_scmi/
H A Dnotify.c272 * @ni: A reference to the initialized instance descriptor
299 struct scmi_notify_instance *ni; member
371 scmi_get_active_handler(struct scmi_notify_instance *ni, u32 evt_key);
372 static void scmi_put_active_handler(struct scmi_notify_instance *ni,
374 static bool scmi_put_handler_unlocked(struct scmi_notify_instance *ni,
379 * @ni: A reference to the notification instance to use
385 scmi_lookup_and_call_event_chain(struct scmi_notify_instance *ni, in scmi_lookup_and_call_event_chain() argument
397 hndl = scmi_get_active_handler(ni, evt_key); in scmi_lookup_and_call_event_chain()
407 scmi_put_active_handler(ni, hndl); in scmi_lookup_and_call_event_chain()
436 dev_err(pd->ni->handle->dev, "corrupted EVT header. Flush.\n"); in scmi_process_event_header()
[all …]
/openbmc/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 …]
/openbmc/linux/arch/x86/crypto/
H A DKconfig17 tristate "Ciphers: AES, modes: ECB, CBC, CTS, CTR, XTR, XTS, GCM (AES-NI)"
30 - AES-NI (AES new instructions)
56 tristate "Ciphers: Camellia with modes: ECB, CBC (AES-NI/AVX)"
66 - AES-NI (AES New Instructions)
70 tristate "Ciphers: Camellia with modes: ECB, CBC (AES-NI/AVX2)"
77 - AES-NI (AES New Instructions)
192 tristate "Ciphers: SM4 with modes: ECB, CBC, CFB, CTR (AES-NI/AVX)"
203 - AES-NI (AES New Instructions)
213 tristate "Ciphers: SM4 with modes: ECB, CBC, CFB, CTR (AES-NI/AVX2)"
225 - AES-NI (AES New Instructions)
[all …]
/openbmc/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
1396 { PCI_VDEVICE(NI, 0x0162), BOARD_PCIMIO_16XE_50 }, /* 0x1620? */
1397 { PCI_VDEVICE(NI, 0x1170), BOARD_PCIMIO_16XE_10 },
1398 { PCI_VDEVICE(NI, 0x1180), BOARD_PCIMIO_16E_1 },
1399 { PCI_VDEVICE(NI, 0x1190), BOARD_PCIMIO_16E_4 },
1400 { PCI_VDEVICE(NI, 0x11b0), BOARD_PXI6070E },
1401 { PCI_VDEVICE(NI, 0x11c0), BOARD_PXI6040E },
1402 { PCI_VDEVICE(NI, 0x11d0), BOARD_PXI6030E },
1403 { PCI_VDEVICE(NI, 0x1270), BOARD_PCI6032E },
[all …]
/openbmc/linux/fs/f2fs/
H A 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 …]

12345678910>>...14