| /linux/fs/ntfs/ |
| H A D | attrib.c | 41 * @ni: ntfs inode for which to map (part of) a runlist 45 * Map the part of a runlist containing the @vcn of the ntfs inode @ni. 47 * If @ctx is specified, it is an active search context of @ni and its base mft 78 * Locking: - The runlist described by @ni must be locked for writing on entry 80 * - If @ctx is NULL, the base mft record of @ni must not be mapped on 85 int ntfs_map_runlist_nolock(struct ntfs_inode *ni, s64 vcn, struct ntfs_attr_search_ctx *ctx) in ntfs_map_runlist_nolock() argument 101 if (!NInoAttr(ni)) in ntfs_map_runlist_nolock() 102 base_ni = ni; in ntfs_map_runlist_nolock() 104 base_ni = ni->ext.base_ntfs_ino; in ntfs_map_runlist_nolock() 125 read_lock_irqsave(&ni->size_lock, flags); in ntfs_map_runlist_nolock() [all …]
|
| H A D | iomap.c | 18 struct ntfs_inode *ni = NTFS_I(inode); in ntfs_iomap_put_folio_non_resident() local 24 init = ni->initialized_size; in ntfs_iomap_put_folio_non_resident() 86 struct ntfs_inode *base_ni, *ni = NTFS_I(inode); in ntfs_read_iomap_begin_resident() local 94 if (NInoAttr(ni)) in ntfs_read_iomap_begin_resident() 95 base_ni = ni->ext.base_ntfs_ino; in ntfs_read_iomap_begin_resident() 97 base_ni = ni; in ntfs_read_iomap_begin_resident() 105 err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len, in ntfs_read_iomap_begin_resident() 111 if (unlikely(attr_len > ni->initialized_size)) in ntfs_read_iomap_begin_resident() 112 attr_len = ni->initialized_size; in ntfs_read_iomap_begin_resident() 198 struct ntfs_inode *ni = NTFS_I(inode); in ntfs_read_iomap_begin_non_resident() local [all …]
|
| H A D | file.c | 48 struct ntfs_inode *ni = NTFS_I(vi); in ntfs_file_open() local 50 if (NVolShutdown(ni->vol)) in ntfs_file_open() 79 struct ntfs_inode *ni = NTFS_I(vi); in ntfs_trim_prealloc() local 80 struct ntfs_volume *vol = ni->vol; in ntfs_trim_prealloc() 88 mutex_lock(&ni->mrec_lock); in ntfs_trim_prealloc() 89 down_write(&ni->runlist.lock); in ntfs_trim_prealloc() 91 aligned_data_size = round_up(ni->data_size, vol->cluster_size); in ntfs_trim_prealloc() 92 if (aligned_data_size >= ni->allocated_size) in ntfs_trim_prealloc() 97 rc = ni->runlist.count - 2; in ntfs_trim_prealloc() 98 rl = ni->runlist.rl; in ntfs_trim_prealloc() [all …]
|
| H A D | reparse.c | 41 static bool ntfs_is_valid_reparse_buffer(struct ntfs_inode *ni, in ntfs_is_valid_reparse_buffer() argument 46 if (!ni || !reparse_attr) in ntfs_is_valid_reparse_buffer() 79 static bool valid_reparse_data(struct ntfs_inode *ni, in valid_reparse_data() argument 86 if (ntfs_is_valid_reparse_buffer(ni, reparse_attr, size) == false) in valid_reparse_data() 99 if (data_len || !(ni->flags & FILE_ATTRIBUTE_RECALL_ON_OPEN)) in valid_reparse_data() 134 unsigned int ntfs_make_symlink(struct ntfs_inode *ni) in ntfs_make_symlink() argument 142 reparse_attr = ntfs_attr_readall(ni, AT_REPARSE_POINT, NULL, 0, in ntfs_make_symlink() 145 valid_reparse_data(ni, reparse_attr, attr_size)) { in ntfs_make_symlink() 153 ni->target = kvzalloc(lth + 1, GFP_NOFS); in ntfs_make_symlink() 154 if (ni->target) { in ntfs_make_symlink() [all …]
|
| H A D | namei.c | 244 struct ntfs_inode *ni = NTFS_I(dent_inode); in ntfs_lookup() local 262 ni = NTFS_I(dent_inode); in ntfs_lookup() 263 m = map_mft_record(ni); in ntfs_lookup() 270 ctx = ntfs_attr_get_search_ctx(ni, m); in ntfs_lookup() 301 unmap_mft_record(ni); in ntfs_lookup() 324 unmap_mft_record(ni); in ntfs_lookup() 331 static int ntfs_sd_add_everyone(struct ntfs_inode *ni) in ntfs_sd_add_everyone() argument 386 ret = ntfs_attr_add(ni, AT_SECURITY_DESCRIPTOR, AT_UNNAMED, 0, (u8 *)sd, in ntfs_sd_add_everyone() 389 ntfs_error(ni->vol->sb, "Failed to add SECURITY_DESCRIPTOR\n"); in ntfs_sd_add_everyone() 401 struct ntfs_inode *ni; in __ntfs_create() local [all …]
|
| H A D | ea.c | 22 static int ntfs_write_ea(struct ntfs_inode *ni, __le32 type, char *value, s64 ea_off, in ntfs_write_ea() argument 29 ea_vi = ntfs_attr_iget(VFS_I(ni), type, AT_UNNAMED, 0); in ntfs_write_ea() 41 mark_mft_record_dirty(ni); in ntfs_write_ea() 111 struct ntfs_inode *ni = NTFS_I(inode); in ntfs_get_ea() local 120 if (!NInoHasEA(ni)) in ntfs_get_ea() 123 p_ea_info = ntfs_attr_readall(ni, AT_EA_INFORMATION, NULL, 0, in ntfs_get_ea() 133 ea_buf = ntfs_attr_readall(ni, AT_EA, NULL, 0, &all_ea_size); in ntfs_get_ea() 193 struct ntfs_inode *ni = NTFS_I(inode); in ntfs_set_ea() local 205 if (ntfs_attr_exist(ni, AT_EA_INFORMATION, AT_UNNAMED, 0)) { in ntfs_set_ea() 206 p_ea_info = ntfs_attr_readall(ni, AT_EA_INFORMATION, NULL, 0, in ntfs_set_ea() [all …]
|
| H A D | aops.c | 25 struct ntfs_inode *ni = NTFS_I(folio->mapping->host); in ntfs_iomap_read_end_io() local 29 init_size = ni->initialized_size; in ntfs_iomap_read_end_io() 72 struct ntfs_inode *ni = NTFS_I(folio->mapping->host); in ntfs_read_folio() local 86 if (ni->type != AT_INDEX_ALLOCATION) { in ntfs_read_folio() 91 if (NInoEncrypted(ni)) { in ntfs_read_folio() 96 if (NInoNonResident(ni) && NInoCompressed(ni)) in ntfs_read_folio() 133 struct ntfs_inode *ni = NTFS_I(mapping->host); in ntfs_bmap() local 134 struct ntfs_volume *vol = ni->vol; in ntfs_bmap() 139 ni->mft_no, (unsigned long long)block); in ntfs_bmap() 140 if (ni->type != AT_DATA || !NInoNonResident(ni) || NInoEncrypted(ni) || in ntfs_bmap() [all …]
|
| H A D | mft.c | 82 * @ni: ntfs inode whose mft record page to map 84 * This maps the folio in which the mft record of the ntfs inode @ni is 87 * This allocates a new buffer (@ni->mrec), copies the MFT record data from 91 * The folio is pinned (referenced) in @ni->folio to ensure the data remains 94 * Return: A pointer to the allocated and fixed-up mft record (@ni->mrec). 98 static inline struct mft_record *map_mft_record_folio(struct ntfs_inode *ni) in map_mft_record_folio() argument 101 struct ntfs_volume *vol = ni->vol; in map_mft_record_folio() 107 WARN_ON(ni->folio); in map_mft_record_folio() 112 index = NTFS_MFT_NR_TO_PIDX(vol, ni->mft_no); in map_mft_record_folio() 113 ofs = NTFS_MFT_NR_TO_POFS(vol, ni->mft_no); in map_mft_record_folio() [all …]
|
| H A D | compress.c | 469 struct ntfs_inode *ni = NTFS_I(mapping->host); in ntfs_read_compressed_block() local 470 struct ntfs_volume *vol = ni->vol; in ntfs_read_compressed_block() 476 u32 cb_size = ni->itype.compressed.block_size; in ntfs_read_compressed_block() 491 ni->itype.compressed.block_size_bits; in ntfs_read_compressed_block() 512 if (ni->type != AT_DATA || ni->name_len) { in ntfs_read_compressed_block() 539 read_lock_irqsave(&ni->size_lock, flags); in ntfs_read_compressed_block() 540 i_size = i_size_read(VFS_I(ni)); in ntfs_read_compressed_block() 541 initialized_size = ni->initialized_size; in ntfs_read_compressed_block() 542 read_unlock_irqrestore(&ni->size_lock, flags); in ntfs_read_compressed_block() 584 cb_clusters = ni->itype.compressed.block_clusters; in ntfs_read_compressed_block() [all …]
|
| /linux/drivers/firmware/arm_scmi/ |
| H A D | notify.c | 273 * @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 D | nfp_nsp_cmds.c | 26 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 D | README | 9 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 D | ni_pcimio.c | 3 * 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 D | ni_65xx.c | 786 { 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 D | ni_routes.h | 4 * 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 D | ni_670x.c | 3 * 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 D | 8255_pci.c | 281 { 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 D | rcar-gen4-cpg.c | 87 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/ntfs3/ |
| H A D | record.c | 34 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 …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | nixge.txt | 1 * 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 D | e3x0-button.txt | 3 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 D | comedi.h | 952 /* *** 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 D | board-ni169445.its.S | 4 description = "NI 169445 device tree"; 5 data = /incbin/("boot/dts/ni/169445.dtb"); 17 description = "NI 169445 Linux Kernel";
|
| /linux/Documentation/devicetree/bindings/perf/ |
| H A D | arm,ni.yaml | 4 $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/tty/serial/8250/ |
| H A D | 8250_ni.c | 3 * 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");
|