ni                136 arch/ia64/include/asm/processor.h 		__u64 ni : 1;
ni                111 arch/ia64/kernel/time.c 	struct thread_info *ni = task_thread_info(current);
ni                113 arch/ia64/kernel/time.c 	ni->ac_stamp = pi->ac_stamp;
ni                114 arch/ia64/kernel/time.c 	ni->ac_stime = ni->ac_utime = 0;
ni               7318 drivers/gpu/drm/amd/amdgpu/si_dpm.c 	ni_pi = &si_pi->ni;
ni                960 drivers/gpu/drm/amd/amdgpu/si_dpm.h 	struct ni_power_info ni;
ni               6915 drivers/gpu/drm/radeon/si_dpm.c 	ni_pi = &si_pi->ni;
ni                153 drivers/gpu/drm/radeon/si_dpm.h 	struct ni_power_info ni;
ni               1030 drivers/gpu/drm/radeon/trinity_dpm.c 	u32 ni;
ni               1036 drivers/gpu/drm/radeon/trinity_dpm.c 	ni = (p + tp - 1) / tp;
ni               1040 drivers/gpu/drm/radeon/trinity_dpm.c 	value |= SCLK_DPM(ni);
ni                607 drivers/infiniband/hw/hfi1/mad.c 	struct opa_node_info *ni;
ni                611 drivers/infiniband/hw/hfi1/mad.c 	ni = (struct opa_node_info *)data;
ni                615 drivers/infiniband/hw/hfi1/mad.c 	    smp_length_check(sizeof(*ni), max_len) ||
ni                621 drivers/infiniband/hw/hfi1/mad.c 	ni->port_guid = get_sguid(to_iport(ibdev, port), HFI1_PORT_GUID_INDEX);
ni                622 drivers/infiniband/hw/hfi1/mad.c 	ni->base_version = OPA_MGMT_BASE_VERSION;
ni                623 drivers/infiniband/hw/hfi1/mad.c 	ni->class_version = OPA_SM_CLASS_VERSION;
ni                624 drivers/infiniband/hw/hfi1/mad.c 	ni->node_type = 1;     /* channel adapter */
ni                625 drivers/infiniband/hw/hfi1/mad.c 	ni->num_ports = ibdev->phys_port_cnt;
ni                627 drivers/infiniband/hw/hfi1/mad.c 	ni->system_image_guid = ib_hfi1_sys_image_guid;
ni                628 drivers/infiniband/hw/hfi1/mad.c 	ni->node_guid = ibdev->node_guid;
ni                629 drivers/infiniband/hw/hfi1/mad.c 	ni->partition_cap = cpu_to_be16(hfi1_get_npkeys(dd));
ni                630 drivers/infiniband/hw/hfi1/mad.c 	ni->device_id = cpu_to_be16(dd->pcidev->device);
ni                631 drivers/infiniband/hw/hfi1/mad.c 	ni->revision = cpu_to_be32(dd->minrev);
ni                632 drivers/infiniband/hw/hfi1/mad.c 	ni->local_port_num = port;
ni                633 drivers/infiniband/hw/hfi1/mad.c 	ni->vendor_id[0] = dd->oui1;
ni                634 drivers/infiniband/hw/hfi1/mad.c 	ni->vendor_id[1] = dd->oui2;
ni                635 drivers/infiniband/hw/hfi1/mad.c 	ni->vendor_id[2] = dd->oui3;
ni                638 drivers/infiniband/hw/hfi1/mad.c 		*resp_len += sizeof(*ni);
ni                115 drivers/infiniband/ulp/ipoib/ipoib_main.c 	struct netdev_notifier_info *ni = ptr;
ni                116 drivers/infiniband/ulp/ipoib/ipoib_main.c 	struct net_device *dev = ni->dev;
ni                208 drivers/md/dm-stats.c 	size_t ni;
ni                215 drivers/md/dm-stats.c 		for (ni = 0; ni < s->n_entries; ni++) {
ni                216 drivers/md/dm-stats.c 			shared = &s->stat_shared[ni];
ni                220 drivers/md/dm-stats.c 				       (unsigned long)ni,
ni                246 drivers/md/dm-stats.c 	size_t ni;
ni                313 drivers/md/dm-stats.c 	for (ni = 0; ni < n_entries; ni++) {
ni                314 drivers/md/dm-stats.c 		atomic_set(&s->stat_shared[ni].in_flight[READ], 0);
ni                315 drivers/md/dm-stats.c 		atomic_set(&s->stat_shared[ni].in_flight[WRITE], 0);
ni                325 drivers/md/dm-stats.c 		for (ni = 0; ni < n_entries; ni++) {
ni                326 drivers/md/dm-stats.c 			s->stat_shared[ni].tmp.histogram = hi;
ni                345 drivers/md/dm-stats.c 			for (ni = 0; ni < n_entries; ni++) {
ni                346 drivers/md/dm-stats.c 				p[ni].histogram = hi;
ni               1445 drivers/media/pci/ngene/ngene-core.c 	struct ngene_info *ni = dev->card_info;
ni               1446 drivers/media/pci/ngene/ngene-core.c 	int io = ni->io_type[nr];
ni               1456 drivers/media/pci/ngene/ngene-core.c 		if (ni->demod_attach[nr]) {
ni               1457 drivers/media/pci/ngene/ngene-core.c 			ret = ni->demod_attach[nr](chan);
ni               1461 drivers/media/pci/ngene/ngene-core.c 		if (chan->fe && ni->tuner_attach[nr]) {
ni               1462 drivers/media/pci/ngene/ngene-core.c 			ret = ni->tuner_attach[nr](chan);
ni                534 drivers/media/tuners/r820t.c 	u8 ni, si, nint, vco_fine_tune, val;
ni                628 drivers/media/tuners/r820t.c 	ni = (nint - 13) / 4;
ni                629 drivers/media/tuners/r820t.c 	si = nint - 4 * ni - 13;
ni                631 drivers/media/tuners/r820t.c 	rc = r820t_write_reg(priv, 0x14, ni + (si << 6));
ni               1022 drivers/net/bonding/bond_main.c static int bond_netpoll_setup(struct net_device *dev, struct netpoll_info *ni)
ni                 26 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	struct nsp_identify *ni;
ni                 32 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	ni = kzalloc(sizeof(*ni), GFP_KERNEL);
ni                 33 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	if (!ni)
ni                 36 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	ret = nfp_nsp_read_identify(nsp, ni, sizeof(*ni));
ni                 47 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	memcpy(nspi->version, ni->version, sizeof(nspi->version));
ni                 49 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	nspi->flags = ni->flags;
ni                 50 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	nspi->br_primary = ni->br_primary;
ni                 51 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	nspi->br_secondary = ni->br_secondary;
ni                 52 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	nspi->br_nsp = ni->br_nsp;
ni                 53 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	nspi->primary = le16_to_cpu(ni->primary);
ni                 54 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	nspi->secondary = le16_to_cpu(ni->secondary);
ni                 55 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	nspi->nsp = le16_to_cpu(ni->nsp);
ni                 56 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	nspi->sensor_mask = le64_to_cpu(ni->sensor_mask);
ni                 59 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	kfree(ni);
ni                562 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.c 			     struct brcmf_pno_net_info_le *ni)
ni                577 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.c 			if (ms->ssid.ssid_len == ni->SSID_len &&
ni                578 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.c 			    !memcmp(ms->ssid.ssid, ni->SSID, ni->SSID_len)) {
ni                583 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.c 			    !memcmp(ms->bssid, ni->bssid, ETH_ALEN)) {
ni                634 drivers/staging/octeon/ethernet.c 	struct device_node *ni, *np;
ni                636 drivers/staging/octeon/ethernet.c 	ni = cvm_oct_of_get_child(pip, interface);
ni                637 drivers/staging/octeon/ethernet.c 	if (!ni)
ni                640 drivers/staging/octeon/ethernet.c 	np = cvm_oct_of_get_child(ni, port);
ni                641 drivers/staging/octeon/ethernet.c 	of_node_put(ni);
ni                623 fs/f2fs/checkpoint.c 	struct node_info ni;
ni                647 fs/f2fs/checkpoint.c 	err = f2fs_get_node_info(sbi, ino, &ni);
ni                652 fs/f2fs/checkpoint.c 	if (ni.blk_addr != NULL_ADDR) {
ni               1032 fs/f2fs/data.c 	struct node_info ni;
ni               1040 fs/f2fs/data.c 	err = f2fs_get_node_info(sbi, dn->nid, &ni);
ni               1053 fs/f2fs/data.c 	set_summary(&sum, dn->nid, dn->ofs_in_node, ni.version);
ni               1471 fs/f2fs/data.c 	struct node_info ni;
ni               1485 fs/f2fs/data.c 		err = f2fs_get_node_info(sbi, inode->i_ino, &ni);
ni               1491 fs/f2fs/data.c 		phys = (__u64)blk_to_logical(inode, ni.blk_addr);
ni               1516 fs/f2fs/data.c 		err = f2fs_get_node_info(sbi, xnid, &ni);
ni               1522 fs/f2fs/data.c 		phys = (__u64)blk_to_logical(inode, ni.blk_addr);
ni               1972 fs/f2fs/data.c 	struct node_info ni;
ni               2050 fs/f2fs/data.c 	err = f2fs_get_node_info(fio->sbi, dn.nid, &ni);
ni               2054 fs/f2fs/data.c 	fio->version = ni.version;
ni               3049 fs/f2fs/f2fs.h 						struct node_info *ni);
ni               1102 fs/f2fs/file.c 			struct node_info ni;
ni               1111 fs/f2fs/file.c 			ret = f2fs_get_node_info(sbi, dn.nid, &ni);
ni               1131 fs/f2fs/file.c 					blkaddr[i], ni.version, true, false);
ni                527 fs/f2fs/gc.c   		struct node_info ni;
ni                559 fs/f2fs/gc.c   		if (f2fs_get_node_info(sbi, nid, &ni)) {
ni                564 fs/f2fs/gc.c   		if (ni.blk_addr != start_addr + off) {
ni                761 fs/f2fs/gc.c   	struct node_info ni;
ni                809 fs/f2fs/gc.c   	err = f2fs_get_node_info(fio.sbi, dn.nid, &ni);
ni                813 fs/f2fs/gc.c   	set_summary(&sum, dn.nid, dn.ofs_in_node, ni.version);
ni                122 fs/f2fs/inline.c 	struct node_info ni;
ni                132 fs/f2fs/inline.c 	err = f2fs_get_node_info(fio.sbi, dn->nid, &ni);
ni                139 fs/f2fs/inline.c 	fio.version = ni.version;
ni                705 fs/f2fs/inline.c 	struct node_info ni;
ni                731 fs/f2fs/inline.c 	err = f2fs_get_node_info(F2FS_I_SB(inode), inode->i_ino, &ni);
ni                735 fs/f2fs/inline.c 	byteaddr = (__u64)ni.blk_addr << inode->i_sb->s_blocksize_bits;
ni                753 fs/f2fs/inode.c 	struct node_info ni;
ni                777 fs/f2fs/inode.c 	err = f2fs_get_node_info(sbi, inode->i_ino, &ni);
ni                784 fs/f2fs/inode.c 	if (ni.blk_addr != NULL_ADDR) {
ni                174 fs/f2fs/node.c 		node_info_from_raw_nat(&ne->ni, raw_ne);
ni                217 fs/f2fs/node.c 	nid_t set = NAT_BLOCK_OFFSET(ne->ni.nid);
ni                424 fs/f2fs/node.c static void set_node_addr(struct f2fs_sb_info *sbi, struct node_info *ni,
ni                429 fs/f2fs/node.c 	struct nat_entry *new = __alloc_nat_entry(ni->nid, true);
ni                432 fs/f2fs/node.c 	e = __lookup_nat_cache(nm_i, ni->nid);
ni                435 fs/f2fs/node.c 		copy_node_info(&e->ni, ni);
ni                436 fs/f2fs/node.c 		f2fs_bug_on(sbi, ni->blk_addr == NEW_ADDR);
ni                443 fs/f2fs/node.c 		copy_node_info(&e->ni, ni);
ni                444 fs/f2fs/node.c 		f2fs_bug_on(sbi, ni->blk_addr != NULL_ADDR);
ni                451 fs/f2fs/node.c 	f2fs_bug_on(sbi, nat_get_blkaddr(e) != ni->blk_addr);
ni                472 fs/f2fs/node.c 	if (ni->nid != ni->ino)
ni                473 fs/f2fs/node.c 		e = __lookup_nat_cache(nm_i, ni->ino);
ni                475 fs/f2fs/node.c 		if (fsync_done && ni->nid == ni->ino)
ni                517 fs/f2fs/node.c 						struct node_info *ni)
ni                531 fs/f2fs/node.c 	ni->nid = nid;
ni                537 fs/f2fs/node.c 		ni->ino = nat_get_ino(e);
ni                538 fs/f2fs/node.c 		ni->blk_addr = nat_get_blkaddr(e);
ni                539 fs/f2fs/node.c 		ni->version = nat_get_version(e);
ni                551 fs/f2fs/node.c 		node_info_from_raw_nat(ni, &ne);
ni                569 fs/f2fs/node.c 	node_info_from_raw_nat(ni, &ne);
ni                834 fs/f2fs/node.c 	struct node_info ni;
ni                838 fs/f2fs/node.c 	err = f2fs_get_node_info(sbi, dn->nid, &ni);
ni                843 fs/f2fs/node.c 	f2fs_invalidate_blocks(sbi, ni.blk_addr);
ni                845 fs/f2fs/node.c 	set_node_addr(sbi, &ni, NULL_ADDR, false);
ni                863 fs/f2fs/node.c 	trace_f2fs_truncate_node(dn->inode, dn->nid, ni.blk_addr);
ni               1277 fs/f2fs/node.c 	struct node_info ni;
ni               1296 fs/f2fs/node.c 	err = f2fs_get_node_info(sbi, page->index, &ni);
ni               1300 fs/f2fs/node.c 	if (unlikely(ni.blk_addr == NULL_ADDR) ||
ni               1306 fs/f2fs/node.c 	fio.new_blkaddr = fio.old_blkaddr = ni.blk_addr;
ni               1504 fs/f2fs/node.c 	struct node_info ni;
ni               1536 fs/f2fs/node.c 	if (f2fs_get_node_info(sbi, nid, &ni))
ni               1547 fs/f2fs/node.c 	if (unlikely(ni.blk_addr == NULL_ADDR)) {
ni               1555 fs/f2fs/node.c 	if (__is_valid_data_blkaddr(ni.blk_addr) &&
ni               1556 fs/f2fs/node.c 		!f2fs_is_valid_blkaddr(sbi, ni.blk_addr,
ni               1575 fs/f2fs/node.c 	fio.old_blkaddr = ni.blk_addr;
ni               1577 fs/f2fs/node.c 	set_node_addr(sbi, &ni, fio.new_blkaddr, is_fsync_dnode(page));
ni               2550 fs/f2fs/node.c 	struct node_info ni;
ni               2558 fs/f2fs/node.c 	err = f2fs_get_node_info(sbi, prev_xnid, &ni);
ni               2562 fs/f2fs/node.c 	f2fs_invalidate_blocks(sbi, ni.blk_addr);
ni               2564 fs/f2fs/node.c 	set_node_addr(sbi, &ni, NULL_ADDR, false);
ni               2838 fs/f2fs/node.c 		raw_nat_from_node_info(raw_ne, &ne->ni);
ni                 60 fs/f2fs/node.h 	struct node_info ni;	/* in-memory node information */
ni                 63 fs/f2fs/node.h #define nat_get_nid(nat)		((nat)->ni.nid)
ni                 64 fs/f2fs/node.h #define nat_set_nid(nat, n)		((nat)->ni.nid = (n))
ni                 65 fs/f2fs/node.h #define nat_get_blkaddr(nat)		((nat)->ni.blk_addr)
ni                 66 fs/f2fs/node.h #define nat_set_blkaddr(nat, b)		((nat)->ni.blk_addr = (b))
ni                 67 fs/f2fs/node.h #define nat_get_ino(nat)		((nat)->ni.ino)
ni                 68 fs/f2fs/node.h #define nat_set_ino(nat, i)		((nat)->ni.ino = (i))
ni                 69 fs/f2fs/node.h #define nat_get_version(nat)		((nat)->ni.version)
ni                 70 fs/f2fs/node.h #define nat_set_version(nat, v)		((nat)->ni.version = (v))
ni                 89 fs/f2fs/node.h 		ne->ni.flag |= mask;
ni                 91 fs/f2fs/node.h 		ne->ni.flag &= ~mask;
ni                 97 fs/f2fs/node.h 	return ne->ni.flag & mask;
ni                108 fs/f2fs/node.h static inline void node_info_from_raw_nat(struct node_info *ni,
ni                111 fs/f2fs/node.h 	ni->ino = le32_to_cpu(raw_ne->ino);
ni                112 fs/f2fs/node.h 	ni->blk_addr = le32_to_cpu(raw_ne->block_addr);
ni                113 fs/f2fs/node.h 	ni->version = raw_ne->version;
ni                117 fs/f2fs/node.h 						struct node_info *ni)
ni                119 fs/f2fs/node.h 	raw_ne->ino = cpu_to_le32(ni->ino);
ni                120 fs/f2fs/node.h 	raw_ne->block_addr = cpu_to_le32(ni->blk_addr);
ni                121 fs/f2fs/node.h 	raw_ne->version = ni->version;
ni                511 fs/f2fs/recovery.c 	struct node_info ni;
ni                546 fs/f2fs/recovery.c 	err = f2fs_get_node_info(sbi, dn.nid, &ni);
ni                550 fs/f2fs/recovery.c 	f2fs_bug_on(sbi, ni.ino != ino_of_node(page));
ni                629 fs/f2fs/recovery.c 						ni.version, false, false);
ni                635 fs/f2fs/recovery.c 	fill_node_footer(dn.node_page, dn.nid, ni.ino,
ni                239 fs/f2fs/segment.c 			struct node_info ni;
ni                256 fs/f2fs/segment.c 			err = f2fs_get_node_info(sbi, dn.nid, &ni);
ni                267 fs/f2fs/segment.c 					cur->old_addr, ni.version, true, true);
ni                111 fs/lockd/host.c static struct nlm_host *nlm_alloc_host(struct nlm_lookup_host_info *ni,
ni                121 fs/lockd/host.c 		nsm = nsm_get_handle(ni->net, ni->sap, ni->salen,
ni                122 fs/lockd/host.c 					ni->hostname, ni->hostname_len);
ni                137 fs/lockd/host.c 	memcpy(nlm_addr(host), ni->sap, ni->salen);
ni                138 fs/lockd/host.c 	host->h_addrlen    = ni->salen;
ni                144 fs/lockd/host.c 	host->h_version    = ni->version;
ni                145 fs/lockd/host.c 	host->h_proto      = ni->protocol;
ni                147 fs/lockd/host.c 	host->h_server     = ni->server;
ni                148 fs/lockd/host.c 	host->h_noresvport = ni->noresvport;
ni                165 fs/lockd/host.c 	host->net	   = ni->net;
ni                166 fs/lockd/host.c 	host->h_cred	   = get_cred(ni->cred),
ni                225 fs/lockd/host.c 	struct nlm_lookup_host_info ni = {
ni                270 fs/lockd/host.c 	host = nlm_alloc_host(&ni, nsm);
ni                338 fs/lockd/host.c 	struct nlm_lookup_host_info ni = {
ni                359 fs/lockd/host.c 	chain = &nlm_server_hosts[nlm_hash_address(ni.sap)];
ni                363 fs/lockd/host.c 		if (!rpc_cmp_addr(nlm_addr(host), ni.sap))
ni                370 fs/lockd/host.c 		if (host->h_proto != ni.protocol)
ni                372 fs/lockd/host.c 		if (host->h_version != ni.version)
ni                387 fs/lockd/host.c 	host = nlm_alloc_host(&ni, nsm);
ni               1856 fs/nilfs2/btree.c 	union nilfs_bmap_ptr_req dreq, nreq, *di, *ni;
ni               1862 fs/nilfs2/btree.c 		ni = NULL;
ni               1866 fs/nilfs2/btree.c 		ni = &nreq;
ni               1869 fs/nilfs2/btree.c 		ni = NULL;
ni               1873 fs/nilfs2/btree.c 	ret = nilfs_btree_prepare_convert_and_insert(btree, key, di, ni, &bh,
ni               1878 fs/nilfs2/btree.c 					      di, ni, bh);
ni                 51 fs/ntfs/aops.c 	ntfs_inode *ni;
ni                 56 fs/ntfs/aops.c 	ni = NTFS_I(vi);
ni                 66 fs/ntfs/aops.c 		read_lock_irqsave(&ni->size_lock, flags);
ni                 67 fs/ntfs/aops.c 		init_size = ni->initialized_size;
ni                 69 fs/ntfs/aops.c 		read_unlock_irqrestore(&ni->size_lock, flags);
ni                 91 fs/ntfs/aops.c 		ntfs_error(ni->vol->sb, "Buffer I/O error, logical block "
ni                121 fs/ntfs/aops.c 	if (!NInoMstProtected(ni)) {
ni                129 fs/ntfs/aops.c 		rec_size = ni->itype.index.block_size;
ni                174 fs/ntfs/aops.c 	ntfs_inode *ni;
ni                185 fs/ntfs/aops.c 	ni = NTFS_I(vi);
ni                186 fs/ntfs/aops.c 	vol = ni->vol;
ni                189 fs/ntfs/aops.c 	BUG_ON(!ni->runlist.rl && !ni->mft_no && !NInoAttr(ni));
ni                216 fs/ntfs/aops.c 	read_lock_irqsave(&ni->size_lock, flags);
ni                217 fs/ntfs/aops.c 	lblock = (ni->allocated_size + blocksize - 1) >> blocksize_bits;
ni                218 fs/ntfs/aops.c 	init_size = ni->initialized_size;
ni                220 fs/ntfs/aops.c 	read_unlock_irqrestore(&ni->size_lock, flags);
ni                251 fs/ntfs/aops.c 				down_read(&ni->runlist.lock);
ni                252 fs/ntfs/aops.c 				rl = ni->runlist.rl;
ni                285 fs/ntfs/aops.c 				up_read(&ni->runlist.lock);
ni                286 fs/ntfs/aops.c 				err = ntfs_map_runlist(ni, vcn);
ni                291 fs/ntfs/aops.c 				up_read(&ni->runlist.lock);
ni                310 fs/ntfs/aops.c 					"(error code %i).", ni->mft_no,
ni                311 fs/ntfs/aops.c 					ni->type, (unsigned long long)vcn,
ni                331 fs/ntfs/aops.c 		up_read(&ni->runlist.lock);
ni                385 fs/ntfs/aops.c 	ntfs_inode *ni, *base_ni;
ni                412 fs/ntfs/aops.c 	ni = NTFS_I(vi);
ni                421 fs/ntfs/aops.c 	if (ni->type != AT_INDEX_ALLOCATION) {
ni                423 fs/ntfs/aops.c 		if (NInoEncrypted(ni)) {
ni                424 fs/ntfs/aops.c 			BUG_ON(ni->type != AT_DATA);
ni                429 fs/ntfs/aops.c 		if (NInoNonResident(ni) && NInoCompressed(ni)) {
ni                430 fs/ntfs/aops.c 			BUG_ON(ni->type != AT_DATA);
ni                431 fs/ntfs/aops.c 			BUG_ON(ni->name_len);
ni                436 fs/ntfs/aops.c 	if (NInoNonResident(ni)) {
ni                452 fs/ntfs/aops.c 	if (!NInoAttr(ni))
ni                453 fs/ntfs/aops.c 		base_ni = ni;
ni                455 fs/ntfs/aops.c 		base_ni = ni->ext.base_ntfs_ino;
ni                466 fs/ntfs/aops.c 	if (unlikely(NInoNonResident(ni))) {
ni                475 fs/ntfs/aops.c 	err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
ni                480 fs/ntfs/aops.c 	read_lock_irqsave(&ni->size_lock, flags);
ni                481 fs/ntfs/aops.c 	if (unlikely(attr_len > ni->initialized_size))
ni                482 fs/ntfs/aops.c 		attr_len = ni->initialized_size;
ni                484 fs/ntfs/aops.c 	read_unlock_irqrestore(&ni->size_lock, flags);
ni                541 fs/ntfs/aops.c 	ntfs_inode *ni;
ni                552 fs/ntfs/aops.c 	ni = NTFS_I(vi);
ni                553 fs/ntfs/aops.c 	vol = ni->vol;
ni                556 fs/ntfs/aops.c 			"0x%lx.", ni->mft_no, ni->type, page->index);
ni                558 fs/ntfs/aops.c 	BUG_ON(!NInoNonResident(ni));
ni                559 fs/ntfs/aops.c 	BUG_ON(NInoMstProtected(ni));
ni                587 fs/ntfs/aops.c 	read_lock_irqsave(&ni->size_lock, flags);
ni                589 fs/ntfs/aops.c 	initialized_size = ni->initialized_size;
ni                590 fs/ntfs/aops.c 	read_unlock_irqrestore(&ni->size_lock, flags);
ni                707 fs/ntfs/aops.c 			down_read(&ni->runlist.lock);
ni                708 fs/ntfs/aops.c 			rl = ni->runlist.rl;
ni                763 fs/ntfs/aops.c 			up_read(&ni->runlist.lock);
ni                764 fs/ntfs/aops.c 			err = ntfs_map_runlist(ni, vcn);
ni                769 fs/ntfs/aops.c 			up_read(&ni->runlist.lock);
ni                790 fs/ntfs/aops.c 				"determined%s (error code %i).", ni->mft_no,
ni                791 fs/ntfs/aops.c 				ni->type, (unsigned long long)vcn,
ni                799 fs/ntfs/aops.c 		up_read(&ni->runlist.lock);
ni                907 fs/ntfs/aops.c 	ntfs_inode *ni = NTFS_I(vi);
ni                908 fs/ntfs/aops.c 	ntfs_volume *vol = ni->vol;
ni                910 fs/ntfs/aops.c 	unsigned int rec_size = ni->itype.index.block_size;
ni                924 fs/ntfs/aops.c 			"0x%lx.", vi->i_ino, ni->type, page->index);
ni                925 fs/ntfs/aops.c 	BUG_ON(!NInoNonResident(ni));
ni                926 fs/ntfs/aops.c 	BUG_ON(!NInoMstProtected(ni));
ni                935 fs/ntfs/aops.c 			(NInoAttr(ni) && ni->type == AT_INDEX_ALLOCATION)));
ni                949 fs/ntfs/aops.c 	rec_size_bits = ni->itype.index.block_size_bits;
ni               1016 fs/ntfs/aops.c 				down_read(&ni->runlist.lock);
ni               1017 fs/ntfs/aops.c 				rl = ni->runlist.rl;
ni               1046 fs/ntfs/aops.c 					up_read(&ni->runlist.lock);
ni               1047 fs/ntfs/aops.c 					err2 = ntfs_map_runlist(ni, vcn);
ni               1056 fs/ntfs/aops.c 						up_read(&ni->runlist.lock);
ni               1071 fs/ntfs/aops.c 						ni->mft_no, ni->type,
ni               1100 fs/ntfs/aops.c 		up_read(&ni->runlist.lock);
ni               1161 fs/ntfs/aops.c 					ni->type, page->index, ofs);
ni               1208 fs/ntfs/aops.c 					"and run chkdsk.", vi->i_ino, ni->type,
ni               1289 fs/ntfs/aops.c 		if (ni->itype.index.block_size == PAGE_SIZE)
ni               1343 fs/ntfs/aops.c 	ntfs_inode *base_ni = NULL, *ni = NTFS_I(vi);
ni               1373 fs/ntfs/aops.c 	if (ni->type != AT_INDEX_ALLOCATION) {
ni               1375 fs/ntfs/aops.c 		if (NInoEncrypted(ni)) {
ni               1377 fs/ntfs/aops.c 			BUG_ON(ni->type != AT_DATA);
ni               1382 fs/ntfs/aops.c 		if (NInoNonResident(ni) && NInoCompressed(ni)) {
ni               1383 fs/ntfs/aops.c 			BUG_ON(ni->type != AT_DATA);
ni               1384 fs/ntfs/aops.c 			BUG_ON(ni->name_len);
ni               1393 fs/ntfs/aops.c 		if (NInoNonResident(ni) && NInoSparse(ni)) {
ni               1401 fs/ntfs/aops.c 	if (NInoNonResident(ni)) {
ni               1409 fs/ntfs/aops.c 		if (NInoMstProtected(ni))
ni               1433 fs/ntfs/aops.c 	if (!NInoAttr(ni))
ni               1434 fs/ntfs/aops.c 		base_ni = ni;
ni               1436 fs/ntfs/aops.c 		base_ni = ni->ext.base_ntfs_ino;
ni               1449 fs/ntfs/aops.c 	if (unlikely(NInoNonResident(ni))) {
ni               1458 fs/ntfs/aops.c 	err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
ni               1514 fs/ntfs/aops.c 		NVolSetErrors(ni->vol);
ni               1555 fs/ntfs/aops.c 	ntfs_inode *ni = NTFS_I(mapping->host);
ni               1556 fs/ntfs/aops.c 	ntfs_volume *vol = ni->vol;
ni               1561 fs/ntfs/aops.c 			ni->mft_no, (unsigned long long)block);
ni               1562 fs/ntfs/aops.c 	if (ni->type != AT_DATA || !NInoNonResident(ni) || NInoEncrypted(ni)) {
ni               1565 fs/ntfs/aops.c 				(ni->type != AT_DATA) ? "non-data" :
ni               1566 fs/ntfs/aops.c 				(!NInoNonResident(ni) ? "resident" :
ni               1571 fs/ntfs/aops.c 	BUG_ON(NInoCompressed(ni));
ni               1572 fs/ntfs/aops.c 	BUG_ON(NInoMstProtected(ni));
ni               1576 fs/ntfs/aops.c 	read_lock_irqsave(&ni->size_lock, flags);
ni               1577 fs/ntfs/aops.c 	size = ni->initialized_size;
ni               1578 fs/ntfs/aops.c 	i_size = i_size_read(VFS_I(ni));
ni               1579 fs/ntfs/aops.c 	read_unlock_irqrestore(&ni->size_lock, flags);
ni               1588 fs/ntfs/aops.c 	down_read(&ni->runlist.lock);
ni               1589 fs/ntfs/aops.c 	lcn = ntfs_attr_vcn_to_lcn_nolock(ni, ofs >> cluster_size_shift, false);
ni               1590 fs/ntfs/aops.c 	up_read(&ni->runlist.lock);
ni               1611 fs/ntfs/aops.c 					"Returning 0.", ni->mft_no);
ni               1616 fs/ntfs/aops.c 					"Returning 0.", ni->mft_no);
ni               1717 fs/ntfs/aops.c 	ntfs_inode *ni = NTFS_I(mapping->host);
ni               1722 fs/ntfs/aops.c 	end = ofs + ni->itype.index.block_size;
ni               1723 fs/ntfs/aops.c 	bh_size = VFS_I(ni)->i_sb->s_blocksize;
ni                 70 fs/ntfs/attrib.c int ntfs_map_runlist_nolock(ntfs_inode *ni, VCN vcn, ntfs_attr_search_ctx *ctx)
ni                 85 fs/ntfs/attrib.c 	if (!NInoAttr(ni))
ni                 86 fs/ntfs/attrib.c 		base_ni = ni;
ni                 88 fs/ntfs/attrib.c 		base_ni = ni->ext.base_ntfs_ino;
ni                107 fs/ntfs/attrib.c 		read_lock_irqsave(&ni->size_lock, flags);
ni                108 fs/ntfs/attrib.c 		allocated_size_vcn = ni->allocated_size >>
ni                109 fs/ntfs/attrib.c 				ni->vol->cluster_size_bits;
ni                110 fs/ntfs/attrib.c 		read_unlock_irqrestore(&ni->size_lock, flags);
ni                120 fs/ntfs/attrib.c 		if (vcn >= allocated_size_vcn || (a->type == ni->type &&
ni                121 fs/ntfs/attrib.c 				a->name_length == ni->name_len &&
ni                123 fs/ntfs/attrib.c 				ni->name, ni->name_len) &&
ni                152 fs/ntfs/attrib.c 		err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
ni                173 fs/ntfs/attrib.c 	rl = ntfs_mapping_pairs_decompress(ni->vol, a, ni->runlist.rl);
ni                177 fs/ntfs/attrib.c 		ni->runlist.rl = rl;
ni                284 fs/ntfs/attrib.c int ntfs_map_runlist(ntfs_inode *ni, VCN vcn)
ni                288 fs/ntfs/attrib.c 	down_write(&ni->runlist.lock);
ni                290 fs/ntfs/attrib.c 	if (likely(ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn) <=
ni                292 fs/ntfs/attrib.c 		err = ntfs_map_runlist_nolock(ni, vcn, NULL);
ni                293 fs/ntfs/attrib.c 	up_write(&ni->runlist.lock);
ni                327 fs/ntfs/attrib.c LCN ntfs_attr_vcn_to_lcn_nolock(ntfs_inode *ni, const VCN vcn,
ni                334 fs/ntfs/attrib.c 	BUG_ON(!ni);
ni                336 fs/ntfs/attrib.c 			ni->mft_no, (unsigned long long)vcn,
ni                338 fs/ntfs/attrib.c 	BUG_ON(!NInoNonResident(ni));
ni                340 fs/ntfs/attrib.c 	if (!ni->runlist.rl) {
ni                341 fs/ntfs/attrib.c 		read_lock_irqsave(&ni->size_lock, flags);
ni                342 fs/ntfs/attrib.c 		if (!ni->allocated_size) {
ni                343 fs/ntfs/attrib.c 			read_unlock_irqrestore(&ni->size_lock, flags);
ni                346 fs/ntfs/attrib.c 		read_unlock_irqrestore(&ni->size_lock, flags);
ni                350 fs/ntfs/attrib.c 	lcn = ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn);
ni                362 fs/ntfs/attrib.c 			up_read(&ni->runlist.lock);
ni                363 fs/ntfs/attrib.c 			down_write(&ni->runlist.lock);
ni                364 fs/ntfs/attrib.c 			if (unlikely(ntfs_rl_vcn_to_lcn(ni->runlist.rl, vcn) !=
ni                366 fs/ntfs/attrib.c 				up_write(&ni->runlist.lock);
ni                367 fs/ntfs/attrib.c 				down_read(&ni->runlist.lock);
ni                371 fs/ntfs/attrib.c 		err = ntfs_map_runlist_nolock(ni, vcn, NULL);
ni                373 fs/ntfs/attrib.c 			up_write(&ni->runlist.lock);
ni                374 fs/ntfs/attrib.c 			down_read(&ni->runlist.lock);
ni                388 fs/ntfs/attrib.c 		ntfs_error(ni->vol->sb, "Failed with error code %lli.",
ni                450 fs/ntfs/attrib.c runlist_element *ntfs_attr_find_vcn_nolock(ntfs_inode *ni, const VCN vcn,
ni                458 fs/ntfs/attrib.c 	BUG_ON(!ni);
ni                460 fs/ntfs/attrib.c 			ni->mft_no, (unsigned long long)vcn, ctx ? "" : "out");
ni                461 fs/ntfs/attrib.c 	BUG_ON(!NInoNonResident(ni));
ni                463 fs/ntfs/attrib.c 	if (!ni->runlist.rl) {
ni                464 fs/ntfs/attrib.c 		read_lock_irqsave(&ni->size_lock, flags);
ni                465 fs/ntfs/attrib.c 		if (!ni->allocated_size) {
ni                466 fs/ntfs/attrib.c 			read_unlock_irqrestore(&ni->size_lock, flags);
ni                469 fs/ntfs/attrib.c 		read_unlock_irqrestore(&ni->size_lock, flags);
ni                472 fs/ntfs/attrib.c 	rl = ni->runlist.rl;
ni                503 fs/ntfs/attrib.c 			err = ntfs_map_runlist_nolock(ni, vcn, ctx);
ni                514 fs/ntfs/attrib.c 		ntfs_error(ni->vol->sb, "Failed with error code %i.", err);
ni                848 fs/ntfs/attrib.c 	ntfs_inode *base_ni, *ni;
ni                858 fs/ntfs/attrib.c 	ni = ctx->ntfs_ino;
ni                860 fs/ntfs/attrib.c 	ntfs_debug("Entering for inode 0x%lx, type 0x%x.", ni->mft_no, type);
ni                866 fs/ntfs/attrib.c 	if (ni == base_ni)
ni                967 fs/ntfs/attrib.c 		if (MREF_LE(al_entry->mft_reference) == ni->mft_no) {
ni                968 fs/ntfs/attrib.c 			if (MSEQNO_LE(al_entry->mft_reference) != ni->seq_no) {
ni                978 fs/ntfs/attrib.c 			if (ni != base_ni)
ni                979 fs/ntfs/attrib.c 				unmap_extent_mft_record(ni);
ni                983 fs/ntfs/attrib.c 				ni = ctx->ntfs_ino = base_ni;
ni                989 fs/ntfs/attrib.c 						al_entry->mft_reference), &ni);
ni               1002 fs/ntfs/attrib.c 					ni = NULL;
ni               1005 fs/ntfs/attrib.c 				ctx->ntfs_ino = ni;
ni               1076 fs/ntfs/attrib.c 	if (ni != base_ni) {
ni               1077 fs/ntfs/attrib.c 		if (ni)
ni               1078 fs/ntfs/attrib.c 			unmap_extent_mft_record(ni);
ni               1109 fs/ntfs/attrib.c 	if (ni != base_ni)
ni               1110 fs/ntfs/attrib.c 		unmap_extent_mft_record(ni);
ni               1204 fs/ntfs/attrib.c 		ntfs_inode *ni, MFT_RECORD *mrec)
ni               1212 fs/ntfs/attrib.c 		.ntfs_ino = ni,
ni               1255 fs/ntfs/attrib.c ntfs_attr_search_ctx *ntfs_attr_get_search_ctx(ntfs_inode *ni, MFT_RECORD *mrec)
ni               1261 fs/ntfs/attrib.c 		ntfs_attr_init_search_ctx(ctx, ni, mrec);
ni               1521 fs/ntfs/attrib.c int ntfs_attr_make_non_resident(ntfs_inode *ni, const u32 data_size)
ni               1524 fs/ntfs/attrib.c 	struct inode *vi = VFS_I(ni);
ni               1525 fs/ntfs/attrib.c 	ntfs_volume *vol = ni->vol;
ni               1539 fs/ntfs/attrib.c 	err = ntfs_attr_can_be_non_resident(vol, ni->type);
ni               1553 fs/ntfs/attrib.c 	BUG_ON(NInoCompressed(ni));
ni               1554 fs/ntfs/attrib.c 	BUG_ON(NInoEncrypted(ni));
ni               1593 fs/ntfs/attrib.c 	down_write(&ni->runlist.lock);
ni               1594 fs/ntfs/attrib.c 	if (!NInoAttr(ni))
ni               1595 fs/ntfs/attrib.c 		base_ni = ni;
ni               1597 fs/ntfs/attrib.c 		base_ni = ni->ext.base_ntfs_ino;
ni               1610 fs/ntfs/attrib.c 	err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
ni               1619 fs/ntfs/attrib.c 	BUG_ON(NInoNonResident(ni));
ni               1624 fs/ntfs/attrib.c 	if (NInoSparse(ni) || NInoCompressed(ni))
ni               1681 fs/ntfs/attrib.c 	if (NInoSparse(ni) || NInoCompressed(ni)) {
ni               1683 fs/ntfs/attrib.c 		if (NInoCompressed(ni) || vol->major_ver < 3)
ni               1698 fs/ntfs/attrib.c 	ni->runlist.rl = rl;
ni               1699 fs/ntfs/attrib.c 	write_lock_irqsave(&ni->size_lock, flags);
ni               1700 fs/ntfs/attrib.c 	ni->allocated_size = new_size;
ni               1701 fs/ntfs/attrib.c 	if (NInoSparse(ni) || NInoCompressed(ni)) {
ni               1702 fs/ntfs/attrib.c 		ni->itype.compressed.size = ni->allocated_size;
ni               1704 fs/ntfs/attrib.c 			ni->itype.compressed.block_size = 1U << (a->data.
ni               1707 fs/ntfs/attrib.c 			ni->itype.compressed.block_size_bits =
ni               1708 fs/ntfs/attrib.c 					ffs(ni->itype.compressed.block_size) -
ni               1710 fs/ntfs/attrib.c 			ni->itype.compressed.block_clusters = 1U <<
ni               1713 fs/ntfs/attrib.c 			ni->itype.compressed.block_size = 0;
ni               1714 fs/ntfs/attrib.c 			ni->itype.compressed.block_size_bits = 0;
ni               1715 fs/ntfs/attrib.c 			ni->itype.compressed.block_clusters = 0;
ni               1717 fs/ntfs/attrib.c 		vi->i_blocks = ni->itype.compressed.size >> 9;
ni               1719 fs/ntfs/attrib.c 		vi->i_blocks = ni->allocated_size >> 9;
ni               1720 fs/ntfs/attrib.c 	write_unlock_irqrestore(&ni->size_lock, flags);
ni               1727 fs/ntfs/attrib.c 	NInoSetNonResident(ni);
ni               1733 fs/ntfs/attrib.c 	up_write(&ni->runlist.lock);
ni               1776 fs/ntfs/attrib.c 					(unsigned)le32_to_cpu(ni->type),
ni               1778 fs/ntfs/attrib.c 					((ni->type == AT_DATA) &&
ni               1779 fs/ntfs/attrib.c 					!ni->name_len) ? "FILE": "ATTRIBUTE");
ni               1780 fs/ntfs/attrib.c 			write_lock_irqsave(&ni->size_lock, flags);
ni               1781 fs/ntfs/attrib.c 			ni->initialized_size = attr_size;
ni               1783 fs/ntfs/attrib.c 			write_unlock_irqrestore(&ni->size_lock, flags);
ni               1799 fs/ntfs/attrib.c 	write_lock_irqsave(&ni->size_lock, flags);
ni               1800 fs/ntfs/attrib.c 	ni->allocated_size = arec_size - mp_ofs;
ni               1801 fs/ntfs/attrib.c 	write_unlock_irqrestore(&ni->size_lock, flags);
ni               1810 fs/ntfs/attrib.c 	ni->runlist.rl = NULL;
ni               1811 fs/ntfs/attrib.c 	up_write(&ni->runlist.lock);
ni               1890 fs/ntfs/attrib.c s64 ntfs_attr_extend_allocation(ntfs_inode *ni, s64 new_alloc_size,
ni               1895 fs/ntfs/attrib.c 	struct inode *vi = VFS_I(ni);
ni               1896 fs/ntfs/attrib.c 	ntfs_volume *vol = ni->vol;
ni               1908 fs/ntfs/attrib.c 	read_lock_irqsave(&ni->size_lock, flags);
ni               1909 fs/ntfs/attrib.c 	allocated_size = ni->allocated_size;
ni               1910 fs/ntfs/attrib.c 	read_unlock_irqrestore(&ni->size_lock, flags);
ni               1915 fs/ntfs/attrib.c 			(unsigned)le32_to_cpu(ni->type),
ni               1926 fs/ntfs/attrib.c 	if (NInoNonResident(ni)) {
ni               1934 fs/ntfs/attrib.c 	err = ntfs_attr_size_bounds_check(vol, ni->type, new_alloc_size);
ni               1937 fs/ntfs/attrib.c 		read_lock_irqsave(&ni->size_lock, flags);
ni               1938 fs/ntfs/attrib.c 		allocated_size = ni->allocated_size;
ni               1939 fs/ntfs/attrib.c 		read_unlock_irqrestore(&ni->size_lock, flags);
ni               1949 fs/ntfs/attrib.c 						le32_to_cpu(ni->type));
ni               1959 fs/ntfs/attrib.c 						le32_to_cpu(ni->type));
ni               1969 fs/ntfs/attrib.c 	if (!NInoAttr(ni))
ni               1970 fs/ntfs/attrib.c 		base_ni = ni;
ni               1972 fs/ntfs/attrib.c 		base_ni = ni->ext.base_ntfs_ino;
ni               1977 fs/ntfs/attrib.c 	down_write(&ni->runlist.lock);
ni               1990 fs/ntfs/attrib.c 	read_lock_irqsave(&ni->size_lock, flags);
ni               1991 fs/ntfs/attrib.c 	allocated_size = ni->allocated_size;
ni               1992 fs/ntfs/attrib.c 	read_unlock_irqrestore(&ni->size_lock, flags);
ni               1997 fs/ntfs/attrib.c 	vcn = NInoNonResident(ni) ? allocated_size >> vol->cluster_size_bits :
ni               2016 fs/ntfs/attrib.c 	err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
ni               2028 fs/ntfs/attrib.c 	BUG_ON(NInoNonResident(ni));
ni               2041 fs/ntfs/attrib.c 		write_lock_irqsave(&ni->size_lock, flags);
ni               2042 fs/ntfs/attrib.c 		ni->allocated_size = le32_to_cpu(a->length) -
ni               2044 fs/ntfs/attrib.c 		write_unlock_irqrestore(&ni->size_lock, flags);
ni               2062 fs/ntfs/attrib.c 	up_write(&ni->runlist.lock);
ni               2067 fs/ntfs/attrib.c 	err = ntfs_attr_make_non_resident(ni, attr_len);
ni               2077 fs/ntfs/attrib.c 		read_lock_irqsave(&ni->size_lock, flags);
ni               2078 fs/ntfs/attrib.c 		allocated_size = ni->allocated_size;
ni               2079 fs/ntfs/attrib.c 		read_unlock_irqrestore(&ni->size_lock, flags);
ni               2086 fs/ntfs/attrib.c 					(unsigned)le32_to_cpu(ni->type), err);
ni               2092 fs/ntfs/attrib.c 	read_lock_irqsave(&ni->size_lock, flags);
ni               2093 fs/ntfs/attrib.c 	allocated_size = ni->allocated_size;
ni               2094 fs/ntfs/attrib.c 	read_unlock_irqrestore(&ni->size_lock, flags);
ni               2118 fs/ntfs/attrib.c 	if (ni->type == AT_ATTRIBUTE_LIST ||
ni               2119 fs/ntfs/attrib.c 			ni->type == AT_STANDARD_INFORMATION) {
ni               2137 fs/ntfs/attrib.c 	BUG_ON(!NInoNonResident(ni));
ni               2150 fs/ntfs/attrib.c 	if ((start >= 0 && start <= allocated_size) || ni->type != AT_DATA ||
ni               2151 fs/ntfs/attrib.c 			!NVolSparseEnabled(vol) || NInoSparseDisabled(ni))
ni               2158 fs/ntfs/attrib.c 	rl = ni->runlist.rl;
ni               2166 fs/ntfs/attrib.c 			(rl->lcn == LCN_ENOENT && rl > ni->runlist.rl &&
ni               2170 fs/ntfs/attrib.c 		rl = ntfs_mapping_pairs_decompress(vol, a, ni->runlist.rl);
ni               2180 fs/ntfs/attrib.c 						(unsigned)le32_to_cpu(ni->type),
ni               2186 fs/ntfs/attrib.c 		ni->runlist.rl = rl;
ni               2199 fs/ntfs/attrib.c 	while (rl->lcn < 0 && rl > ni->runlist.rl)
ni               2216 fs/ntfs/attrib.c 					(unsigned)le32_to_cpu(ni->type), err);
ni               2221 fs/ntfs/attrib.c 	rl = ntfs_runlists_merge(ni->runlist.rl, rl2);
ni               2229 fs/ntfs/attrib.c 					(unsigned)le32_to_cpu(ni->type), err);
ni               2242 fs/ntfs/attrib.c 	ni->runlist.rl = rl;
ni               2262 fs/ntfs/attrib.c 					(unsigned)le32_to_cpu(ni->type), err);
ni               2297 fs/ntfs/attrib.c 					(unsigned)le32_to_cpu(ni->type), err);
ni               2316 fs/ntfs/attrib.c 		err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
ni               2323 fs/ntfs/attrib.c 	write_lock_irqsave(&ni->size_lock, flags);
ni               2324 fs/ntfs/attrib.c 	ni->allocated_size = new_alloc_size;
ni               2336 fs/ntfs/attrib.c 	if (NInoSparse(ni) || NInoCompressed(ni)) {
ni               2337 fs/ntfs/attrib.c 		ni->itype.compressed.size += new_alloc_size - allocated_size;
ni               2339 fs/ntfs/attrib.c 				cpu_to_sle64(ni->itype.compressed.size);
ni               2340 fs/ntfs/attrib.c 		vi->i_blocks = ni->itype.compressed.size >> 9;
ni               2343 fs/ntfs/attrib.c 	write_unlock_irqrestore(&ni->size_lock, flags);
ni               2357 fs/ntfs/attrib.c 	up_write(&ni->runlist.lock);
ni               2367 fs/ntfs/attrib.c 				(unsigned)le32_to_cpu(ni->type), err);
ni               2371 fs/ntfs/attrib.c 	if (ntfs_attr_lookup(ni->type, ni->name, ni->name_len, CASE_SENSITIVE,
ni               2377 fs/ntfs/attrib.c 		write_lock_irqsave(&ni->size_lock, flags);
ni               2378 fs/ntfs/attrib.c 		ni->allocated_size = new_alloc_size;
ni               2384 fs/ntfs/attrib.c 		if (NInoSparse(ni) || NInoCompressed(ni)) {
ni               2385 fs/ntfs/attrib.c 			ni->itype.compressed.size += new_alloc_size -
ni               2387 fs/ntfs/attrib.c 			vi->i_blocks = ni->itype.compressed.size >> 9;
ni               2390 fs/ntfs/attrib.c 		write_unlock_irqrestore(&ni->size_lock, flags);
ni               2393 fs/ntfs/attrib.c 		up_write(&ni->runlist.lock);
ni               2405 fs/ntfs/attrib.c 	if (ntfs_cluster_free(ni, ll, -1, ctx) < 0) {
ni               2419 fs/ntfs/attrib.c 	if (ntfs_rl_truncate_nolock(vol, &ni->runlist, ll) || IS_ERR(m)) {
ni               2453 fs/ntfs/attrib.c 	up_write(&ni->runlist.lock);
ni               2479 fs/ntfs/attrib.c int ntfs_attr_set(ntfs_inode *ni, const s64 ofs, const s64 cnt, const u8 val)
ni               2481 fs/ntfs/attrib.c 	ntfs_volume *vol = ni->vol;
ni               2498 fs/ntfs/attrib.c 	BUG_ON(NInoCompressed(ni));
ni               2499 fs/ntfs/attrib.c 	BUG_ON(NInoEncrypted(ni));
ni               2500 fs/ntfs/attrib.c 	mapping = VFS_I(ni)->i_mapping;
ni               2508 fs/ntfs/attrib.c 	if (unlikely(end > i_size_read(VFS_I(ni)))) {
ni                 49 fs/ntfs/attrib.h extern int ntfs_map_runlist_nolock(ntfs_inode *ni, VCN vcn,
ni                 51 fs/ntfs/attrib.h extern int ntfs_map_runlist(ntfs_inode *ni, VCN vcn);
ni                 53 fs/ntfs/attrib.h extern LCN ntfs_attr_vcn_to_lcn_nolock(ntfs_inode *ni, const VCN vcn,
ni                 56 fs/ntfs/attrib.h extern runlist_element *ntfs_attr_find_vcn_nolock(ntfs_inode *ni,
ni                 75 fs/ntfs/attrib.h extern ntfs_attr_search_ctx *ntfs_attr_get_search_ctx(ntfs_inode *ni,
ni                 92 fs/ntfs/attrib.h extern int ntfs_attr_make_non_resident(ntfs_inode *ni, const u32 data_size);
ni                 94 fs/ntfs/attrib.h extern s64 ntfs_attr_extend_allocation(ntfs_inode *ni, s64 new_alloc_size,
ni                 97 fs/ntfs/attrib.h extern int ntfs_attr_set(ntfs_inode *ni, const s64 ofs, const s64 cnt,
ni                467 fs/ntfs/compress.c 	ntfs_inode *ni = NTFS_I(mapping->host);
ni                468 fs/ntfs/compress.c 	ntfs_volume *vol = ni->vol;
ni                476 fs/ntfs/compress.c 	u32 cb_size = ni->itype.compressed.block_size;
ni                491 fs/ntfs/compress.c 			>> ni->itype.compressed.block_size_bits;
ni                512 fs/ntfs/compress.c 	BUG_ON(ni->type != AT_DATA);
ni                513 fs/ntfs/compress.c 	BUG_ON(ni->name_len);
ni                542 fs/ntfs/compress.c 	read_lock_irqsave(&ni->size_lock, flags);
ni                543 fs/ntfs/compress.c 	i_size = i_size_read(VFS_I(ni));
ni                544 fs/ntfs/compress.c 	initialized_size = ni->initialized_size;
ni                545 fs/ntfs/compress.c 	read_unlock_irqrestore(&ni->size_lock, flags);
ni                589 fs/ntfs/compress.c 	cb_clusters = ni->itype.compressed.block_clusters;
ni                602 fs/ntfs/compress.c 			down_read(&ni->runlist.lock);
ni                603 fs/ntfs/compress.c 			rl = ni->runlist.rl;
ni                629 fs/ntfs/compress.c 			up_read(&ni->runlist.lock);
ni                630 fs/ntfs/compress.c 			if (!ntfs_map_runlist(ni, vcn))
ni                647 fs/ntfs/compress.c 		up_read(&ni->runlist.lock);
ni                857 fs/ntfs/compress.c 					ni->mft_no, -err);
ni                891 fs/ntfs/compress.c 					"0x%lx.", ni->mft_no, page->index);
ni                926 fs/ntfs/compress.c 	up_read(&ni->runlist.lock);
ni                932 fs/ntfs/compress.c 	up_read(&ni->runlist.lock);
ni                 95 fs/ntfs/file.c static int ntfs_attr_extend_initialized(ntfs_inode *ni, const s64 new_init_size)
ni                101 fs/ntfs/file.c 	struct inode *vi = VFS_I(ni);
ni                112 fs/ntfs/file.c 	read_lock_irqsave(&ni->size_lock, flags);
ni                113 fs/ntfs/file.c 	old_init_size = ni->initialized_size;
ni                115 fs/ntfs/file.c 	BUG_ON(new_init_size > ni->allocated_size);
ni                116 fs/ntfs/file.c 	read_unlock_irqrestore(&ni->size_lock, flags);
ni                120 fs/ntfs/file.c 			vi->i_ino, (unsigned)le32_to_cpu(ni->type),
ni                123 fs/ntfs/file.c 	if (!NInoAttr(ni))
ni                124 fs/ntfs/file.c 		base_ni = ni;
ni                126 fs/ntfs/file.c 		base_ni = ni->ext.base_ntfs_ino;
ni                128 fs/ntfs/file.c 	if (NInoNonResident(ni))
ni                142 fs/ntfs/file.c 	err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
ni                163 fs/ntfs/file.c 	write_lock_irqsave(&ni->size_lock, flags);
ni                165 fs/ntfs/file.c 	ni->initialized_size = new_init_size;
ni                166 fs/ntfs/file.c 	write_unlock_irqrestore(&ni->size_lock, flags);
ni                186 fs/ntfs/file.c 		err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
ni                230 fs/ntfs/file.c 		write_lock_irqsave(&ni->size_lock, flags);
ni                231 fs/ntfs/file.c 		ni->initialized_size = (s64)(index + 1) << PAGE_SHIFT;
ni                232 fs/ntfs/file.c 		if (ni->initialized_size > new_init_size)
ni                233 fs/ntfs/file.c 			ni->initialized_size = new_init_size;
ni                234 fs/ntfs/file.c 		write_unlock_irqrestore(&ni->size_lock, flags);
ni                268 fs/ntfs/file.c 	read_lock_irqsave(&ni->size_lock, flags);
ni                269 fs/ntfs/file.c 	BUG_ON(ni->initialized_size != new_init_size);
ni                270 fs/ntfs/file.c 	read_unlock_irqrestore(&ni->size_lock, flags);
ni                283 fs/ntfs/file.c 	err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
ni                305 fs/ntfs/file.c 	write_lock_irqsave(&ni->size_lock, flags);
ni                306 fs/ntfs/file.c 	ni->initialized_size = old_init_size;
ni                307 fs/ntfs/file.c 	write_unlock_irqrestore(&ni->size_lock, flags);
ni                326 fs/ntfs/file.c 	ntfs_inode *base_ni, *ni = NTFS_I(vi);
ni                327 fs/ntfs/file.c 	ntfs_volume *vol = ni->vol;
ni                331 fs/ntfs/file.c 			(unsigned)le32_to_cpu(ni->type),
ni                341 fs/ntfs/file.c 	BUG_ON(NInoMstProtected(ni));
ni                342 fs/ntfs/file.c 	BUG_ON(ni->type != AT_DATA);
ni                344 fs/ntfs/file.c 	if (NInoEncrypted(ni)) {
ni                354 fs/ntfs/file.c 	if (NInoCompressed(ni)) {
ni                356 fs/ntfs/file.c 		BUG_ON(ni->name_len);
ni                368 fs/ntfs/file.c 	base_ni = ni;
ni                369 fs/ntfs/file.c 	if (NInoAttr(ni))
ni                370 fs/ntfs/file.c 		base_ni = ni->ext.base_ntfs_ino;
ni                387 fs/ntfs/file.c 	read_lock_irqsave(&ni->size_lock, flags);
ni                388 fs/ntfs/file.c 	ll = ni->allocated_size;
ni                389 fs/ntfs/file.c 	read_unlock_irqrestore(&ni->size_lock, flags);
ni                398 fs/ntfs/file.c 		ll = ntfs_attr_extend_allocation(ni, end, -1, pos);
ni                408 fs/ntfs/file.c 						le32_to_cpu(ni->type));
ni                413 fs/ntfs/file.c 			read_lock_irqsave(&ni->size_lock, flags);
ni                414 fs/ntfs/file.c 			ll = ni->allocated_size;
ni                415 fs/ntfs/file.c 			read_unlock_irqrestore(&ni->size_lock, flags);
ni                423 fs/ntfs/file.c 						le32_to_cpu(ni->type),
ni                436 fs/ntfs/file.c 							le32_to_cpu(ni->type),
ni                445 fs/ntfs/file.c 							le32_to_cpu(ni->type));
ni                457 fs/ntfs/file.c 	read_lock_irqsave(&ni->size_lock, flags);
ni                458 fs/ntfs/file.c 	ll = ni->initialized_size;
ni                459 fs/ntfs/file.c 	read_unlock_irqrestore(&ni->size_lock, flags);
ni                466 fs/ntfs/file.c 		err = ntfs_attr_extend_initialized(ni, pos);
ni                472 fs/ntfs/file.c 					(unsigned)le32_to_cpu(ni->type),
ni                579 fs/ntfs/file.c 	ntfs_inode *ni, *base_ni = NULL;
ni                603 fs/ntfs/file.c 	ni = NTFS_I(vi);
ni                604 fs/ntfs/file.c 	vol = ni->vol;
ni                607 fs/ntfs/file.c 			vi->i_ino, ni->type, pages[0]->index, nr_pages,
ni                682 fs/ntfs/file.c 				read_lock_irqsave(&ni->size_lock, flags);
ni                683 fs/ntfs/file.c 				initialized_size = ni->initialized_size;
ni                684 fs/ntfs/file.c 				read_unlock_irqrestore(&ni->size_lock, flags);
ni                755 fs/ntfs/file.c 					read_lock_irqsave(&ni->size_lock,
ni                757 fs/ntfs/file.c 					initialized_size = ni->initialized_size;
ni                758 fs/ntfs/file.c 					read_unlock_irqrestore(&ni->size_lock,
ni                815 fs/ntfs/file.c 		read_lock_irqsave(&ni->size_lock, flags);
ni                816 fs/ntfs/file.c 		initialized_size = ni->allocated_size;
ni                817 fs/ntfs/file.c 		read_unlock_irqrestore(&ni->size_lock, flags);
ni                830 fs/ntfs/file.c 			down_read(&ni->runlist.lock);
ni                832 fs/ntfs/file.c 			rl = ni->runlist.rl;
ni                859 fs/ntfs/file.c 						up_write(&ni->runlist.lock);
ni                862 fs/ntfs/file.c 						up_read(&ni->runlist.lock);
ni                884 fs/ntfs/file.c 					up_read(&ni->runlist.lock);
ni                885 fs/ntfs/file.c 					down_write(&ni->runlist.lock);
ni                889 fs/ntfs/file.c 				err = ntfs_map_runlist_nolock(ni, bh_cpos,
ni                914 fs/ntfs/file.c 					ni->mft_no, ni->type,
ni                966 fs/ntfs/file.c 			up_read(&ni->runlist.lock);
ni                967 fs/ntfs/file.c 			down_write(&ni->runlist.lock);
ni                975 fs/ntfs/file.c 		while (--rl2 >= ni->runlist.rl) {
ni                990 fs/ntfs/file.c 		rl = ntfs_runlists_merge(ni->runlist.rl, rl2);
ni               1005 fs/ntfs/file.c 		ni->runlist.rl = rl;
ni               1010 fs/ntfs/file.c 		if (!NInoAttr(ni))
ni               1011 fs/ntfs/file.c 			base_ni = ni;
ni               1013 fs/ntfs/file.c 			base_ni = ni->ext.base_ntfs_ino;
ni               1026 fs/ntfs/file.c 		err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
ni               1110 fs/ntfs/file.c 					(unsigned)le32_to_cpu(ni->type), err);
ni               1122 fs/ntfs/file.c 		if (likely(NInoSparse(ni) || NInoCompressed(ni))) {
ni               1132 fs/ntfs/file.c 				err = ntfs_attr_lookup(ni->type, ni->name,
ni               1133 fs/ntfs/file.c 						ni->name_len, CASE_SENSITIVE,
ni               1142 fs/ntfs/file.c 			write_lock_irqsave(&ni->size_lock, flags);
ni               1143 fs/ntfs/file.c 			ni->itype.compressed.size += vol->cluster_size;
ni               1145 fs/ntfs/file.c 					cpu_to_sle64(ni->itype.compressed.size);
ni               1146 fs/ntfs/file.c 			write_unlock_irqrestore(&ni->size_lock, flags);
ni               1169 fs/ntfs/file.c 			up_write(&ni->runlist.lock);
ni               1181 fs/ntfs/file.c 			up_write(&ni->runlist.lock);
ni               1184 fs/ntfs/file.c 			up_read(&ni->runlist.lock);
ni               1188 fs/ntfs/file.c 	read_lock_irqsave(&ni->size_lock, flags);
ni               1189 fs/ntfs/file.c 	initialized_size = ni->initialized_size;
ni               1190 fs/ntfs/file.c 	read_unlock_irqrestore(&ni->size_lock, flags);
ni               1229 fs/ntfs/file.c 		if (ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
ni               1235 fs/ntfs/file.c 			write_lock_irqsave(&ni->size_lock, flags);
ni               1236 fs/ntfs/file.c 			ni->itype.compressed.size += vol->cluster_size;
ni               1237 fs/ntfs/file.c 			write_unlock_irqrestore(&ni->size_lock, flags);
ni               1262 fs/ntfs/file.c 		if (ntfs_rl_punch_nolock(vol, &ni->runlist, bh_cpos, 1)) {
ni               1303 fs/ntfs/file.c 					mapping_pairs_offset), ni->runlist.rl,
ni               1322 fs/ntfs/file.c 		up_write(&ni->runlist.lock);
ni               1324 fs/ntfs/file.c 		up_read(&ni->runlist.lock);
ni               1390 fs/ntfs/file.c 	ntfs_inode *ni, *base_ni;
ni               1400 fs/ntfs/file.c 	ni = NTFS_I(vi);
ni               1436 fs/ntfs/file.c 	read_lock_irqsave(&ni->size_lock, flags);
ni               1437 fs/ntfs/file.c 	initialized_size = ni->initialized_size;
ni               1438 fs/ntfs/file.c 	read_unlock_irqrestore(&ni->size_lock, flags);
ni               1447 fs/ntfs/file.c 	if (!NInoAttr(ni))
ni               1448 fs/ntfs/file.c 		base_ni = ni;
ni               1450 fs/ntfs/file.c 		base_ni = ni->ext.base_ntfs_ino;
ni               1459 fs/ntfs/file.c 	BUG_ON(!NInoNonResident(ni));
ni               1465 fs/ntfs/file.c 	err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
ni               1474 fs/ntfs/file.c 	write_lock_irqsave(&ni->size_lock, flags);
ni               1475 fs/ntfs/file.c 	BUG_ON(end > ni->allocated_size);
ni               1476 fs/ntfs/file.c 	ni->initialized_size = end;
ni               1483 fs/ntfs/file.c 	write_unlock_irqrestore(&ni->size_lock, flags);
ni               1499 fs/ntfs/file.c 		NVolSetErrors(ni->vol);
ni               1545 fs/ntfs/file.c 	ntfs_inode *ni, *base_ni;
ni               1560 fs/ntfs/file.c 	ni = NTFS_I(vi);
ni               1563 fs/ntfs/file.c 			vi->i_ino, ni->type, page->index, nr_pages,
ni               1565 fs/ntfs/file.c 	if (NInoNonResident(ni))
ni               1573 fs/ntfs/file.c 	if (!NInoAttr(ni))
ni               1574 fs/ntfs/file.c 		base_ni = ni;
ni               1576 fs/ntfs/file.c 		base_ni = ni->ext.base_ntfs_ino;
ni               1577 fs/ntfs/file.c 	BUG_ON(NInoNonResident(ni));
ni               1591 fs/ntfs/file.c 	err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
ni               1633 fs/ntfs/file.c 	read_lock_irqsave(&ni->size_lock, flags);
ni               1634 fs/ntfs/file.c 	initialized_size = ni->initialized_size;
ni               1635 fs/ntfs/file.c 	BUG_ON(end > ni->allocated_size);
ni               1636 fs/ntfs/file.c 	read_unlock_irqrestore(&ni->size_lock, flags);
ni               1639 fs/ntfs/file.c 		write_lock_irqsave(&ni->size_lock, flags);
ni               1640 fs/ntfs/file.c 		ni->initialized_size = end;
ni               1642 fs/ntfs/file.c 		write_unlock_irqrestore(&ni->size_lock, flags);
ni               1671 fs/ntfs/file.c 		NVolSetErrors(ni->vol);
ni               1735 fs/ntfs/file.c 	ntfs_inode *ni = NTFS_I(vi);
ni               1736 fs/ntfs/file.c 	ntfs_volume *vol = ni->vol;
ni               1747 fs/ntfs/file.c 			(unsigned)le32_to_cpu(ni->type),
ni               1754 fs/ntfs/file.c 	if (unlikely(NInoTruncateFailed(ni))) {
ni               1759 fs/ntfs/file.c 		if (err || NInoTruncateFailed(ni)) {
ni               1766 fs/ntfs/file.c 					(unsigned)le32_to_cpu(ni->type), err);
ni               1775 fs/ntfs/file.c 	if (vol->cluster_size > PAGE_SIZE && NInoNonResident(ni))
ni               1797 fs/ntfs/file.c 				down_read(&ni->runlist.lock);
ni               1798 fs/ntfs/file.c 				lcn = ntfs_attr_vcn_to_lcn_nolock(ni, pos >>
ni               1800 fs/ntfs/file.c 				up_read(&ni->runlist.lock);
ni               1813 fs/ntfs/file.c 							le32_to_cpu(ni->type));
ni               1853 fs/ntfs/file.c 		if (NInoNonResident(ni)) {
ni                 48 fs/ntfs/inode.c 	ntfs_inode *ni;
ni                 52 fs/ntfs/inode.c 	ni = NTFS_I(vi);
ni                 54 fs/ntfs/inode.c 	if (likely(!NInoAttr(ni))) {
ni                 60 fs/ntfs/inode.c 		if (ni->type != na->type)
ni                 62 fs/ntfs/inode.c 		if (ni->name_len != na->name_len)
ni                 64 fs/ntfs/inode.c 		if (na->name_len && memcmp(ni->name, na->name,
ni                 92 fs/ntfs/inode.c 	ntfs_inode *ni = NTFS_I(vi);
ni                 96 fs/ntfs/inode.c 	ni->type = na->type;
ni                 98 fs/ntfs/inode.c 		NInoSetMstProtected(ni);
ni                100 fs/ntfs/inode.c 	ni->name = na->name;
ni                101 fs/ntfs/inode.c 	ni->name_len = na->name_len;
ni                111 fs/ntfs/inode.c 	NInoSetAttr(ni);
ni                125 fs/ntfs/inode.c 		ni->name = kmalloc(i + sizeof(ntfschar), GFP_ATOMIC);
ni                126 fs/ntfs/inode.c 		if (!ni->name)
ni                128 fs/ntfs/inode.c 		memcpy(ni->name, na->name, i);
ni                129 fs/ntfs/inode.c 		ni->name[na->name_len] = 0;
ni                309 fs/ntfs/inode.c 	ntfs_inode *ni;
ni                312 fs/ntfs/inode.c 	ni = kmem_cache_alloc(ntfs_big_inode_cache, GFP_NOFS);
ni                313 fs/ntfs/inode.c 	if (likely(ni != NULL)) {
ni                314 fs/ntfs/inode.c 		ni->state = 0;
ni                315 fs/ntfs/inode.c 		return VFS_I(ni);
ni                328 fs/ntfs/inode.c 	ntfs_inode *ni;
ni                331 fs/ntfs/inode.c 	ni = kmem_cache_alloc(ntfs_inode_cache, GFP_NOFS);
ni                332 fs/ntfs/inode.c 	if (likely(ni != NULL)) {
ni                333 fs/ntfs/inode.c 		ni->state = 0;
ni                334 fs/ntfs/inode.c 		return ni;
ni                340 fs/ntfs/inode.c static void ntfs_destroy_extent_inode(ntfs_inode *ni)
ni                343 fs/ntfs/inode.c 	BUG_ON(ni->page);
ni                344 fs/ntfs/inode.c 	if (!atomic_dec_and_test(&ni->count))
ni                346 fs/ntfs/inode.c 	kmem_cache_free(ntfs_inode_cache, ni);
ni                367 fs/ntfs/inode.c void __ntfs_init_inode(struct super_block *sb, ntfs_inode *ni)
ni                370 fs/ntfs/inode.c 	rwlock_init(&ni->size_lock);
ni                371 fs/ntfs/inode.c 	ni->initialized_size = ni->allocated_size = 0;
ni                372 fs/ntfs/inode.c 	ni->seq_no = 0;
ni                373 fs/ntfs/inode.c 	atomic_set(&ni->count, 1);
ni                374 fs/ntfs/inode.c 	ni->vol = NTFS_SB(sb);
ni                375 fs/ntfs/inode.c 	ntfs_init_runlist(&ni->runlist);
ni                376 fs/ntfs/inode.c 	mutex_init(&ni->mrec_lock);
ni                377 fs/ntfs/inode.c 	ni->page = NULL;
ni                378 fs/ntfs/inode.c 	ni->page_ofs = 0;
ni                379 fs/ntfs/inode.c 	ni->attr_list_size = 0;
ni                380 fs/ntfs/inode.c 	ni->attr_list = NULL;
ni                381 fs/ntfs/inode.c 	ntfs_init_runlist(&ni->attr_list_rl);
ni                382 fs/ntfs/inode.c 	lockdep_set_class(&ni->attr_list_rl.lock,
ni                384 fs/ntfs/inode.c 	ni->itype.index.block_size = 0;
ni                385 fs/ntfs/inode.c 	ni->itype.index.vcn_size = 0;
ni                386 fs/ntfs/inode.c 	ni->itype.index.collation_rule = 0;
ni                387 fs/ntfs/inode.c 	ni->itype.index.block_size_bits = 0;
ni                388 fs/ntfs/inode.c 	ni->itype.index.vcn_size_bits = 0;
ni                389 fs/ntfs/inode.c 	mutex_init(&ni->extent_lock);
ni                390 fs/ntfs/inode.c 	ni->nr_extents = 0;
ni                391 fs/ntfs/inode.c 	ni->ext.base_ntfs_ino = NULL;
ni                404 fs/ntfs/inode.c 	ntfs_inode *ni = ntfs_alloc_extent_inode();
ni                407 fs/ntfs/inode.c 	if (likely(ni != NULL)) {
ni                408 fs/ntfs/inode.c 		__ntfs_init_inode(sb, ni);
ni                409 fs/ntfs/inode.c 		lockdep_set_class(&ni->mrec_lock, &extent_inode_mrec_lock_key);
ni                410 fs/ntfs/inode.c 		ni->mft_no = mft_no;
ni                411 fs/ntfs/inode.c 		ni->type = AT_UNUSED;
ni                412 fs/ntfs/inode.c 		ni->name = NULL;
ni                413 fs/ntfs/inode.c 		ni->name_len = 0;
ni                415 fs/ntfs/inode.c 	return ni;
ni                526 fs/ntfs/inode.c 	ntfs_inode *ni;
ni                547 fs/ntfs/inode.c 	ni = NTFS_I(vi);
ni                549 fs/ntfs/inode.c 	m = map_mft_record(ni);
ni                554 fs/ntfs/inode.c 	ctx = ntfs_attr_get_search_ctx(ni, m);
ni                570 fs/ntfs/inode.c 	vi->i_generation = ni->seq_no = le16_to_cpu(m->sequence_number);
ni                670 fs/ntfs/inode.c 		NInoSetAttrList(ni);
ni                695 fs/ntfs/inode.c 		ni->attr_list_size = (u32)ntfs_attr_size(a);
ni                696 fs/ntfs/inode.c 		ni->attr_list = ntfs_malloc_nofs(ni->attr_list_size);
ni                697 fs/ntfs/inode.c 		if (!ni->attr_list) {
ni                704 fs/ntfs/inode.c 			NInoSetAttrListNonResident(ni);
ni                714 fs/ntfs/inode.c 			ni->attr_list_rl.rl = ntfs_mapping_pairs_decompress(vol,
ni                716 fs/ntfs/inode.c 			if (IS_ERR(ni->attr_list_rl.rl)) {
ni                717 fs/ntfs/inode.c 				err = PTR_ERR(ni->attr_list_rl.rl);
ni                718 fs/ntfs/inode.c 				ni->attr_list_rl.rl = NULL;
ni                724 fs/ntfs/inode.c 			if ((err = load_attribute_list(vol, &ni->attr_list_rl,
ni                725 fs/ntfs/inode.c 					ni->attr_list, ni->attr_list_size,
ni                742 fs/ntfs/inode.c 			memcpy(ni->attr_list, (u8*)a + le16_to_cpu(
ni                794 fs/ntfs/inode.c 			NInoSetCompressed(ni);
ni                801 fs/ntfs/inode.c 			NInoSetEncrypted(ni);
ni                804 fs/ntfs/inode.c 			NInoSetSparse(ni);
ni                829 fs/ntfs/inode.c 		ni->itype.index.collation_rule = ir->collation_rule;
ni                830 fs/ntfs/inode.c 		ni->itype.index.block_size = le32_to_cpu(ir->index_block_size);
ni                831 fs/ntfs/inode.c 		if (ni->itype.index.block_size &
ni                832 fs/ntfs/inode.c 				(ni->itype.index.block_size - 1)) {
ni                835 fs/ntfs/inode.c 					ni->itype.index.block_size);
ni                838 fs/ntfs/inode.c 		if (ni->itype.index.block_size > PAGE_SIZE) {
ni                842 fs/ntfs/inode.c 					ni->itype.index.block_size,
ni                847 fs/ntfs/inode.c 		if (ni->itype.index.block_size < NTFS_BLOCK_SIZE) {
ni                851 fs/ntfs/inode.c 					ni->itype.index.block_size,
ni                856 fs/ntfs/inode.c 		ni->itype.index.block_size_bits =
ni                857 fs/ntfs/inode.c 				ffs(ni->itype.index.block_size) - 1;
ni                859 fs/ntfs/inode.c 		if (vol->cluster_size <= ni->itype.index.block_size) {
ni                860 fs/ntfs/inode.c 			ni->itype.index.vcn_size = vol->cluster_size;
ni                861 fs/ntfs/inode.c 			ni->itype.index.vcn_size_bits = vol->cluster_size_bits;
ni                863 fs/ntfs/inode.c 			ni->itype.index.vcn_size = vol->sector_size;
ni                864 fs/ntfs/inode.c 			ni->itype.index.vcn_size_bits = vol->sector_size_bits;
ni                868 fs/ntfs/inode.c 		NInoSetMstProtected(ni);
ni                869 fs/ntfs/inode.c 		ni->type = AT_INDEX_ALLOCATION;
ni                870 fs/ntfs/inode.c 		ni->name = I30;
ni                871 fs/ntfs/inode.c 		ni->name_len = 4;
ni                875 fs/ntfs/inode.c 			vi->i_size = ni->initialized_size =
ni                876 fs/ntfs/inode.c 					ni->allocated_size = 0;
ni                879 fs/ntfs/inode.c 			unmap_mft_record(ni);
ni                884 fs/ntfs/inode.c 		NInoSetIndexAllocPresent(ni);
ni                940 fs/ntfs/inode.c 		ni->initialized_size = sle64_to_cpu(
ni                942 fs/ntfs/inode.c 		ni->allocated_size = sle64_to_cpu(
ni                949 fs/ntfs/inode.c 		unmap_mft_record(ni);
ni                969 fs/ntfs/inode.c 				ni->itype.index.block_size_bits)) {
ni                987 fs/ntfs/inode.c 		ni->type = AT_DATA;
ni                988 fs/ntfs/inode.c 		ni->name = NULL;
ni                989 fs/ntfs/inode.c 		ni->name_len = 0;
ni                994 fs/ntfs/inode.c 			vi->i_size = ni->initialized_size =
ni                995 fs/ntfs/inode.c 					ni->allocated_size = 0;
ni               1027 fs/ntfs/inode.c 				NInoSetCompressed(ni);
ni               1047 fs/ntfs/inode.c 				NInoSetSparse(ni);
ni               1050 fs/ntfs/inode.c 			if (NInoCompressed(ni)) {
ni               1055 fs/ntfs/inode.c 			NInoSetEncrypted(ni);
ni               1058 fs/ntfs/inode.c 			NInoSetNonResident(ni);
ni               1059 fs/ntfs/inode.c 			if (NInoCompressed(ni) || NInoSparse(ni)) {
ni               1060 fs/ntfs/inode.c 				if (NInoCompressed(ni) && a->data.non_resident.
ni               1073 fs/ntfs/inode.c 					ni->itype.compressed.block_size = 1U <<
ni               1077 fs/ntfs/inode.c 					ni->itype.compressed.block_size_bits =
ni               1078 fs/ntfs/inode.c 							ffs(ni->itype.
ni               1081 fs/ntfs/inode.c 					ni->itype.compressed.block_clusters =
ni               1086 fs/ntfs/inode.c 					ni->itype.compressed.block_size = 0;
ni               1087 fs/ntfs/inode.c 					ni->itype.compressed.block_size_bits =
ni               1089 fs/ntfs/inode.c 					ni->itype.compressed.block_clusters =
ni               1092 fs/ntfs/inode.c 				ni->itype.compressed.size = sle64_to_cpu(
ni               1104 fs/ntfs/inode.c 			ni->initialized_size = sle64_to_cpu(
ni               1106 fs/ntfs/inode.c 			ni->allocated_size = sle64_to_cpu(
ni               1109 fs/ntfs/inode.c 			vi->i_size = ni->initialized_size = le32_to_cpu(
ni               1111 fs/ntfs/inode.c 			ni->allocated_size = le32_to_cpu(a->length) -
ni               1114 fs/ntfs/inode.c 			if (vi->i_size > ni->allocated_size) {
ni               1124 fs/ntfs/inode.c 		unmap_mft_record(ni);
ni               1131 fs/ntfs/inode.c 		if (NInoMstProtected(ni))
ni               1133 fs/ntfs/inode.c 		else if (NInoCompressed(ni))
ni               1147 fs/ntfs/inode.c 	if (S_ISREG(vi->i_mode) && (NInoCompressed(ni) || NInoSparse(ni)))
ni               1148 fs/ntfs/inode.c 		vi->i_blocks = ni->itype.compressed.size >> 9;
ni               1150 fs/ntfs/inode.c 		vi->i_blocks = ni->allocated_size >> 9;
ni               1161 fs/ntfs/inode.c 		unmap_mft_record(ni);
ni               1196 fs/ntfs/inode.c 	ntfs_inode *ni, *base_ni;
ni               1206 fs/ntfs/inode.c 	ni	= NTFS_I(vi);
ni               1216 fs/ntfs/inode.c 	vi->i_generation = ni->seq_no = base_ni->seq_no;
ni               1232 fs/ntfs/inode.c 	err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
ni               1239 fs/ntfs/inode.c 			NInoSetCompressed(ni);
ni               1240 fs/ntfs/inode.c 			if ((ni->type != AT_DATA) || (ni->type == AT_DATA &&
ni               1241 fs/ntfs/inode.c 					ni->name_len)) {
ni               1269 fs/ntfs/inode.c 		if (NInoMstProtected(ni) && ni->type != AT_INDEX_ROOT) {
ni               1274 fs/ntfs/inode.c 					NInoCompressed(ni) ? "compressed" :
ni               1279 fs/ntfs/inode.c 			NInoSetSparse(ni);
ni               1282 fs/ntfs/inode.c 		if (NInoCompressed(ni)) {
ni               1291 fs/ntfs/inode.c 		if (NInoMstProtected(ni) && ni->type != AT_INDEX_ROOT) {
ni               1299 fs/ntfs/inode.c 		if (ni->type != AT_DATA) {
ni               1304 fs/ntfs/inode.c 		NInoSetEncrypted(ni);
ni               1314 fs/ntfs/inode.c 		if (NInoMstProtected(ni)) {
ni               1321 fs/ntfs/inode.c 		vi->i_size = ni->initialized_size = le32_to_cpu(
ni               1323 fs/ntfs/inode.c 		ni->allocated_size = le32_to_cpu(a->length) -
ni               1325 fs/ntfs/inode.c 		if (vi->i_size > ni->allocated_size) {
ni               1331 fs/ntfs/inode.c 		NInoSetNonResident(ni);
ni               1343 fs/ntfs/inode.c 		if (NInoCompressed(ni) || NInoSparse(ni)) {
ni               1344 fs/ntfs/inode.c 			if (NInoCompressed(ni) && a->data.non_resident.
ni               1355 fs/ntfs/inode.c 				ni->itype.compressed.block_size = 1U <<
ni               1359 fs/ntfs/inode.c 				ni->itype.compressed.block_size_bits =
ni               1360 fs/ntfs/inode.c 						ffs(ni->itype.compressed.
ni               1362 fs/ntfs/inode.c 				ni->itype.compressed.block_clusters = 1U <<
ni               1366 fs/ntfs/inode.c 				ni->itype.compressed.block_size = 0;
ni               1367 fs/ntfs/inode.c 				ni->itype.compressed.block_size_bits = 0;
ni               1368 fs/ntfs/inode.c 				ni->itype.compressed.block_clusters = 0;
ni               1370 fs/ntfs/inode.c 			ni->itype.compressed.size = sle64_to_cpu(
ni               1379 fs/ntfs/inode.c 		ni->initialized_size = sle64_to_cpu(
ni               1381 fs/ntfs/inode.c 		ni->allocated_size = sle64_to_cpu(
ni               1385 fs/ntfs/inode.c 	if (NInoMstProtected(ni))
ni               1387 fs/ntfs/inode.c 	else if (NInoCompressed(ni))
ni               1389 fs/ntfs/inode.c 	if ((NInoCompressed(ni) || NInoSparse(ni)) && ni->type != AT_INDEX_ROOT)
ni               1390 fs/ntfs/inode.c 		vi->i_blocks = ni->itype.compressed.size >> 9;
ni               1392 fs/ntfs/inode.c 		vi->i_blocks = ni->allocated_size >> 9;
ni               1398 fs/ntfs/inode.c 	ni->ext.base_ntfs_ino = base_ni;
ni               1399 fs/ntfs/inode.c 	ni->nr_extents = -1;
ni               1417 fs/ntfs/inode.c 			"Run chkdsk.", err, vi->i_ino, ni->type, ni->name_len,
ni               1462 fs/ntfs/inode.c 	ntfs_inode *ni, *base_ni, *bni;
ni               1473 fs/ntfs/inode.c 	ni	= NTFS_I(vi);
ni               1482 fs/ntfs/inode.c 	vi->i_generation = ni->seq_no = base_ni->seq_no;
ni               1497 fs/ntfs/inode.c 	err = ntfs_attr_lookup(AT_INDEX_ROOT, ni->name, ni->name_len,
ni               1544 fs/ntfs/inode.c 	ni->itype.index.collation_rule = ir->collation_rule;
ni               1547 fs/ntfs/inode.c 	ni->itype.index.block_size = le32_to_cpu(ir->index_block_size);
ni               1548 fs/ntfs/inode.c 	if (!is_power_of_2(ni->itype.index.block_size)) {
ni               1550 fs/ntfs/inode.c 				"two.", ni->itype.index.block_size);
ni               1553 fs/ntfs/inode.c 	if (ni->itype.index.block_size > PAGE_SIZE) {
ni               1556 fs/ntfs/inode.c 				ni->itype.index.block_size, PAGE_SIZE);
ni               1560 fs/ntfs/inode.c 	if (ni->itype.index.block_size < NTFS_BLOCK_SIZE) {
ni               1563 fs/ntfs/inode.c 				ni->itype.index.block_size, NTFS_BLOCK_SIZE);
ni               1567 fs/ntfs/inode.c 	ni->itype.index.block_size_bits = ffs(ni->itype.index.block_size) - 1;
ni               1569 fs/ntfs/inode.c 	if (vol->cluster_size <= ni->itype.index.block_size) {
ni               1570 fs/ntfs/inode.c 		ni->itype.index.vcn_size = vol->cluster_size;
ni               1571 fs/ntfs/inode.c 		ni->itype.index.vcn_size_bits = vol->cluster_size_bits;
ni               1573 fs/ntfs/inode.c 		ni->itype.index.vcn_size = vol->sector_size;
ni               1574 fs/ntfs/inode.c 		ni->itype.index.vcn_size_bits = vol->sector_size_bits;
ni               1579 fs/ntfs/inode.c 		vi->i_size = ni->initialized_size = ni->allocated_size = 0;
ni               1587 fs/ntfs/inode.c 	NInoSetIndexAllocPresent(ni);
ni               1590 fs/ntfs/inode.c 	err = ntfs_attr_lookup(AT_INDEX_ALLOCATION, ni->name, ni->name_len,
ni               1638 fs/ntfs/inode.c 	ni->initialized_size = sle64_to_cpu(
ni               1640 fs/ntfs/inode.c 	ni->allocated_size = sle64_to_cpu(a->data.non_resident.allocated_size);
ni               1650 fs/ntfs/inode.c 	bvi = ntfs_attr_iget(base_vi, AT_BITMAP, ni->name, ni->name_len);
ni               1665 fs/ntfs/inode.c 	if ((bvi_size << 3) < (vi->i_size >> ni->itype.index.block_size_bits)) {
ni               1675 fs/ntfs/inode.c 	vi->i_blocks = ni->allocated_size >> 9;
ni               1681 fs/ntfs/inode.c 	ni->ext.base_ntfs_ino = base_ni;
ni               1682 fs/ntfs/inode.c 	ni->nr_extents = -1;
ni               1698 fs/ntfs/inode.c 			ni->name_len);
ni               1747 fs/ntfs/inode.c 	ntfs_inode *ni;
ni               1759 fs/ntfs/inode.c 	ni = NTFS_I(vi);
ni               1762 fs/ntfs/inode.c 	NInoSetNonResident(ni);
ni               1763 fs/ntfs/inode.c 	NInoSetMstProtected(ni);
ni               1764 fs/ntfs/inode.c 	NInoSetSparseDisabled(ni);
ni               1765 fs/ntfs/inode.c 	ni->type = AT_DATA;
ni               1766 fs/ntfs/inode.c 	ni->name = NULL;
ni               1767 fs/ntfs/inode.c 	ni->name_len = 0;
ni               1772 fs/ntfs/inode.c 	ni->itype.index.block_size = vol->mft_record_size;
ni               1773 fs/ntfs/inode.c 	ni->itype.index.block_size_bits = vol->mft_record_size_bits;
ni               1820 fs/ntfs/inode.c 	vi->i_generation = ni->seq_no = le16_to_cpu(m->sequence_number);
ni               1825 fs/ntfs/inode.c 	ctx = ntfs_attr_get_search_ctx(ni, m);
ni               1846 fs/ntfs/inode.c 		NInoSetAttrList(ni);
ni               1870 fs/ntfs/inode.c 		ni->attr_list_size = (u32)ntfs_attr_size(a);
ni               1871 fs/ntfs/inode.c 		ni->attr_list = ntfs_malloc_nofs(ni->attr_list_size);
ni               1872 fs/ntfs/inode.c 		if (!ni->attr_list) {
ni               1878 fs/ntfs/inode.c 			NInoSetAttrListNonResident(ni);
ni               1886 fs/ntfs/inode.c 			ni->attr_list_rl.rl = ntfs_mapping_pairs_decompress(vol,
ni               1888 fs/ntfs/inode.c 			if (IS_ERR(ni->attr_list_rl.rl)) {
ni               1889 fs/ntfs/inode.c 				err = PTR_ERR(ni->attr_list_rl.rl);
ni               1890 fs/ntfs/inode.c 				ni->attr_list_rl.rl = NULL;
ni               1897 fs/ntfs/inode.c 			if ((err = load_attribute_list(vol, &ni->attr_list_rl,
ni               1898 fs/ntfs/inode.c 					ni->attr_list, ni->attr_list_size,
ni               1917 fs/ntfs/inode.c 			memcpy(ni->attr_list, (u8*)a + le16_to_cpu(
ni               1934 fs/ntfs/inode.c 		al_entry = (ATTR_LIST_ENTRY*)ni->attr_list;
ni               1935 fs/ntfs/inode.c 		al_end = (u8*)al_entry + ni->attr_list_size;
ni               1938 fs/ntfs/inode.c 			if ((u8*)al_entry < ni->attr_list ||
ni               1974 fs/ntfs/inode.c 						ni->seq_no)
ni               2017 fs/ntfs/inode.c 		nrl = ntfs_mapping_pairs_decompress(vol, a, ni->runlist.rl);
ni               2024 fs/ntfs/inode.c 		ni->runlist.rl = nrl;
ni               2042 fs/ntfs/inode.c 			ni->initialized_size = sle64_to_cpu(
ni               2044 fs/ntfs/inode.c 			ni->allocated_size = sle64_to_cpu(
ni               2145 fs/ntfs/inode.c 	lockdep_set_class(&ni->runlist.lock, &mft_ni_runlist_lock_key);
ni               2146 fs/ntfs/inode.c 	lockdep_set_class(&ni->mrec_lock, &mft_ni_mrec_lock_key);
ni               2162 fs/ntfs/inode.c static void __ntfs_clear_inode(ntfs_inode *ni)
ni               2165 fs/ntfs/inode.c 	down_write(&ni->runlist.lock);
ni               2166 fs/ntfs/inode.c 	if (ni->runlist.rl) {
ni               2167 fs/ntfs/inode.c 		ntfs_free(ni->runlist.rl);
ni               2168 fs/ntfs/inode.c 		ni->runlist.rl = NULL;
ni               2170 fs/ntfs/inode.c 	up_write(&ni->runlist.lock);
ni               2172 fs/ntfs/inode.c 	if (ni->attr_list) {
ni               2173 fs/ntfs/inode.c 		ntfs_free(ni->attr_list);
ni               2174 fs/ntfs/inode.c 		ni->attr_list = NULL;
ni               2177 fs/ntfs/inode.c 	down_write(&ni->attr_list_rl.lock);
ni               2178 fs/ntfs/inode.c 	if (ni->attr_list_rl.rl) {
ni               2179 fs/ntfs/inode.c 		ntfs_free(ni->attr_list_rl.rl);
ni               2180 fs/ntfs/inode.c 		ni->attr_list_rl.rl = NULL;
ni               2182 fs/ntfs/inode.c 	up_write(&ni->attr_list_rl.lock);
ni               2184 fs/ntfs/inode.c 	if (ni->name_len && ni->name != I30) {
ni               2186 fs/ntfs/inode.c 		BUG_ON(!ni->name);
ni               2187 fs/ntfs/inode.c 		kfree(ni->name);
ni               2191 fs/ntfs/inode.c void ntfs_clear_extent_inode(ntfs_inode *ni)
ni               2193 fs/ntfs/inode.c 	ntfs_debug("Entering for inode 0x%lx.", ni->mft_no);
ni               2195 fs/ntfs/inode.c 	BUG_ON(NInoAttr(ni));
ni               2196 fs/ntfs/inode.c 	BUG_ON(ni->nr_extents != -1);
ni               2199 fs/ntfs/inode.c 	if (NInoDirty(ni)) {
ni               2200 fs/ntfs/inode.c 		if (!is_bad_inode(VFS_I(ni->ext.base_ntfs_ino)))
ni               2201 fs/ntfs/inode.c 			ntfs_error(ni->vol->sb, "Clearing dirty extent inode!  "
ni               2207 fs/ntfs/inode.c 	__ntfs_clear_inode(ni);
ni               2210 fs/ntfs/inode.c 	ntfs_destroy_extent_inode(ni);
ni               2225 fs/ntfs/inode.c 	ntfs_inode *ni = NTFS_I(vi);
ni               2231 fs/ntfs/inode.c 	if (NInoDirty(ni)) {
ni               2237 fs/ntfs/inode.c 		if (!was_bad && (is_bad_inode(vi) || NInoDirty(ni))) {
ni               2246 fs/ntfs/inode.c 	if (ni->nr_extents > 0) {
ni               2249 fs/ntfs/inode.c 		for (i = 0; i < ni->nr_extents; i++)
ni               2250 fs/ntfs/inode.c 			ntfs_clear_extent_inode(ni->ext.extent_ntfs_inos[i]);
ni               2251 fs/ntfs/inode.c 		kfree(ni->ext.extent_ntfs_inos);
ni               2254 fs/ntfs/inode.c 	__ntfs_clear_inode(ni);
ni               2256 fs/ntfs/inode.c 	if (NInoAttr(ni)) {
ni               2258 fs/ntfs/inode.c 		if (ni->nr_extents == -1) {
ni               2259 fs/ntfs/inode.c 			iput(VFS_I(ni->ext.base_ntfs_ino));
ni               2260 fs/ntfs/inode.c 			ni->nr_extents = 0;
ni               2261 fs/ntfs/inode.c 			ni->ext.base_ntfs_ino = NULL;
ni               2264 fs/ntfs/inode.c 	BUG_ON(ni->page);
ni               2265 fs/ntfs/inode.c 	if (!atomic_dec_and_test(&ni->count))
ni               2336 fs/ntfs/inode.c 	ntfs_inode *base_ni, *ni = NTFS_I(vi);
ni               2337 fs/ntfs/inode.c 	ntfs_volume *vol = ni->vol;
ni               2346 fs/ntfs/inode.c 	BUG_ON(NInoAttr(ni));
ni               2348 fs/ntfs/inode.c 	BUG_ON(NInoMstProtected(ni));
ni               2349 fs/ntfs/inode.c 	BUG_ON(ni->nr_extents < 0);
ni               2355 fs/ntfs/inode.c 	down_write(&ni->runlist.lock);
ni               2356 fs/ntfs/inode.c 	if (!NInoAttr(ni))
ni               2357 fs/ntfs/inode.c 		base_ni = ni;
ni               2359 fs/ntfs/inode.c 		base_ni = ni->ext.base_ntfs_ino;
ni               2377 fs/ntfs/inode.c 	err = ntfs_attr_lookup(ni->type, ni->name, ni->name_len,
ni               2400 fs/ntfs/inode.c 	if (NInoNonResident(ni))
ni               2406 fs/ntfs/inode.c 	read_lock_irqsave(&ni->size_lock, flags);
ni               2407 fs/ntfs/inode.c 	old_alloc_size = ni->allocated_size;
ni               2408 fs/ntfs/inode.c 	read_unlock_irqrestore(&ni->size_lock, flags);
ni               2434 fs/ntfs/inode.c 		err = ntfs_attr_size_bounds_check(vol, ni->type, new_size);
ni               2444 fs/ntfs/inode.c 						le32_to_cpu(ni->type));
ni               2451 fs/ntfs/inode.c 						le32_to_cpu(ni->type));
ni               2459 fs/ntfs/inode.c 	if (NInoCompressed(ni) || NInoEncrypted(ni)) {
ni               2462 fs/ntfs/inode.c 				NInoCompressed(ni) ? "compressed" :
ni               2469 fs/ntfs/inode.c 	BUG_ON(NInoNonResident(ni));
ni               2476 fs/ntfs/inode.c 		write_lock_irqsave(&ni->size_lock, flags);
ni               2478 fs/ntfs/inode.c 		ni->allocated_size = le32_to_cpu(a->length) -
ni               2508 fs/ntfs/inode.c 		ni->initialized_size = new_size;
ni               2509 fs/ntfs/inode.c 		write_unlock_irqrestore(&ni->size_lock, flags);
ni               2525 fs/ntfs/inode.c 	up_write(&ni->runlist.lock);
ni               2530 fs/ntfs/inode.c 	err = ntfs_attr_make_non_resident(ni, old_size);
ni               2543 fs/ntfs/inode.c 				(unsigned)le32_to_cpu(ni->type), err);
ni               2569 fs/ntfs/inode.c 	if (ni->type == AT_ATTRIBUTE_LIST ||
ni               2570 fs/ntfs/inode.c 			ni->type == AT_STANDARD_INFORMATION) {
ni               2588 fs/ntfs/inode.c 	BUG_ON(!NInoNonResident(ni));
ni               2604 fs/ntfs/inode.c 					(unsigned)le32_to_cpu(ni->type));
ni               2617 fs/ntfs/inode.c 		write_lock_irqsave(&ni->size_lock, flags);
ni               2618 fs/ntfs/inode.c 		if (new_size < ni->initialized_size) {
ni               2619 fs/ntfs/inode.c 			ni->initialized_size = new_size;
ni               2624 fs/ntfs/inode.c 		write_unlock_irqrestore(&ni->size_lock, flags);
ni               2658 fs/ntfs/inode.c 			up_write(&ni->runlist.lock);
ni               2659 fs/ntfs/inode.c 			err = ntfs_attr_extend_allocation(ni, new_size,
ni               2672 fs/ntfs/inode.c 	nr_freed = ntfs_cluster_free(ni, new_alloc_size >>
ni               2684 fs/ntfs/inode.c 	err = ntfs_rl_truncate_nolock(vol, &ni->runlist,
ni               2702 fs/ntfs/inode.c 	mp_size = ntfs_get_size_for_mapping_pairs(vol, ni->runlist.rl, 0, -1);
ni               2708 fs/ntfs/inode.c 				(unsigned)le32_to_cpu(ni->type), mp_size, es);
ni               2726 fs/ntfs/inode.c 			mp_size, ni->runlist.rl, 0, -1, NULL);
ni               2731 fs/ntfs/inode.c 				vi->i_ino, (unsigned)le32_to_cpu(ni->type),
ni               2739 fs/ntfs/inode.c 	write_lock_irqsave(&ni->size_lock, flags);
ni               2740 fs/ntfs/inode.c 	ni->allocated_size = new_alloc_size;
ni               2742 fs/ntfs/inode.c 	if (NInoSparse(ni) || NInoCompressed(ni)) {
ni               2744 fs/ntfs/inode.c 			ni->itype.compressed.size -= nr_freed <<
ni               2746 fs/ntfs/inode.c 			BUG_ON(ni->itype.compressed.size < 0);
ni               2748 fs/ntfs/inode.c 					ni->itype.compressed.size);
ni               2749 fs/ntfs/inode.c 			vi->i_blocks = ni->itype.compressed.size >> 9;
ni               2753 fs/ntfs/inode.c 	write_unlock_irqrestore(&ni->size_lock, flags);
ni               2775 fs/ntfs/inode.c 	up_write(&ni->runlist.lock);
ni               2798 fs/ntfs/inode.c 		NInoClearTruncateFailed(ni);
ni               2808 fs/ntfs/inode.c 		NInoSetTruncateFailed(ni);
ni               2816 fs/ntfs/inode.c 	up_write(&ni->runlist.lock);
ni               2824 fs/ntfs/inode.c 		NInoSetTruncateFailed(ni);
ni               2876 fs/ntfs/inode.c 			ntfs_inode *ni = NTFS_I(vi);
ni               2881 fs/ntfs/inode.c 			if (NInoCompressed(ni) || NInoEncrypted(ni)) {
ni               2885 fs/ntfs/inode.c 						NInoCompressed(ni) ?
ni               2934 fs/ntfs/inode.c 	ntfs_inode *ni = NTFS_I(vi);
ni               2941 fs/ntfs/inode.c 	ntfs_debug("Entering for %sinode 0x%lx.", NInoAttr(ni) ? "attr " : "",
ni               2948 fs/ntfs/inode.c 	if (NInoAttr(ni)) {
ni               2949 fs/ntfs/inode.c 		NInoClearDirty(ni);
ni               2954 fs/ntfs/inode.c 	m = map_mft_record(ni);
ni               2960 fs/ntfs/inode.c 	ctx = ntfs_attr_get_search_ctx(ni, m);
ni               3025 fs/ntfs/inode.c 	if (NInoDirty(ni))
ni               3026 fs/ntfs/inode.c 		err = write_mft_record(ni, m, sync);
ni               3028 fs/ntfs/inode.c 	mutex_lock(&ni->extent_lock);
ni               3029 fs/ntfs/inode.c 	if (ni->nr_extents > 0) {
ni               3030 fs/ntfs/inode.c 		ntfs_inode **extent_nis = ni->ext.extent_ntfs_inos;
ni               3033 fs/ntfs/inode.c 		ntfs_debug("Writing %i extent inodes.", ni->nr_extents);
ni               3034 fs/ntfs/inode.c 		for (i = 0; i < ni->nr_extents; i++) {
ni               3055 fs/ntfs/inode.c 	mutex_unlock(&ni->extent_lock);
ni               3056 fs/ntfs/inode.c 	unmap_mft_record(ni);
ni               3062 fs/ntfs/inode.c 	unmap_mft_record(ni);
ni               3071 fs/ntfs/inode.c 		NVolSetErrors(ni->vol);
ni                169 fs/ntfs/inode.h static inline int NIno##flag(ntfs_inode *ni)		\
ni                171 fs/ntfs/inode.h 	return test_bit(NI_##flag, &(ni)->state);	\
ni                173 fs/ntfs/inode.h static inline void NInoSet##flag(ntfs_inode *ni)	\
ni                175 fs/ntfs/inode.h 	set_bit(NI_##flag, &(ni)->state);		\
ni                177 fs/ntfs/inode.h static inline void NInoClear##flag(ntfs_inode *ni)	\
ni                179 fs/ntfs/inode.h 	clear_bit(NI_##flag, &(ni)->state);		\
ni                186 fs/ntfs/inode.h static inline int NInoTestSet##flag(ntfs_inode *ni)		\
ni                188 fs/ntfs/inode.h 	return test_and_set_bit(NI_##flag, &(ni)->state);	\
ni                190 fs/ntfs/inode.h static inline int NInoTestClear##flag(ntfs_inode *ni)		\
ni                192 fs/ntfs/inode.h 	return test_and_clear_bit(NI_##flag, &(ni)->state);	\
ni                231 fs/ntfs/inode.h static inline struct inode *VFS_I(ntfs_inode *ni)
ni                233 fs/ntfs/inode.h 	return &((big_ntfs_inode *)ni)->vfs_inode;
ni                270 fs/ntfs/inode.h extern void __ntfs_init_inode(struct super_block *sb, ntfs_inode *ni);
ni                274 fs/ntfs/inode.h 	ntfs_inode *ni = NTFS_I(vi);
ni                277 fs/ntfs/inode.h 	__ntfs_init_inode(vi->i_sb, ni);
ni                278 fs/ntfs/inode.h 	ni->mft_no = vi->i_ino;
ni                283 fs/ntfs/inode.h extern void ntfs_clear_extent_inode(ntfs_inode *ni);
ni                835 fs/ntfs/lcnalloc.c s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, s64 count,
ni                844 fs/ntfs/lcnalloc.c 	BUG_ON(!ni);
ni                846 fs/ntfs/lcnalloc.c 			"0x%llx.%s", ni->mft_no, (unsigned long long)start_vcn,
ni                849 fs/ntfs/lcnalloc.c 	vol = ni->vol;
ni                866 fs/ntfs/lcnalloc.c 	rl = ntfs_attr_find_vcn_nolock(ni, start_vcn, ctx);
ni                920 fs/ntfs/lcnalloc.c 			rl = ntfs_attr_find_vcn_nolock(ni, vcn, ctx);
ni                988 fs/ntfs/lcnalloc.c 	delta = __ntfs_cluster_free(ni, start_vcn, total_freed, ctx, true);
ni                 34 fs/ntfs/lcnalloc.h extern s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn,
ni                 93 fs/ntfs/lcnalloc.h static inline s64 ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn,
ni                 96 fs/ntfs/lcnalloc.h 	return __ntfs_cluster_free(ni, start_vcn, count, ctx, false);
ni                 36 fs/ntfs/mft.c  static inline MFT_RECORD *map_mft_record_page(ntfs_inode *ni)
ni                 39 fs/ntfs/mft.c  	ntfs_volume *vol = ni->vol;
ni                 45 fs/ntfs/mft.c  	BUG_ON(ni->page);
ni                 52 fs/ntfs/mft.c  	index = (u64)ni->mft_no << vol->mft_record_size_bits >>
ni                 54 fs/ntfs/mft.c  	ofs = (ni->mft_no << vol->mft_record_size_bits) & ~PAGE_MASK;
ni                 68 fs/ntfs/mft.c  					"driver.", ni->mft_no);
ni                 78 fs/ntfs/mft.c  			ni->page = page;
ni                 79 fs/ntfs/mft.c  			ni->page_ofs = ofs;
ni                 83 fs/ntfs/mft.c  				"Run chkdsk.", ni->mft_no);
ni                 89 fs/ntfs/mft.c  	ni->page = NULL;
ni                 90 fs/ntfs/mft.c  	ni->page_ofs = 0;
ni                144 fs/ntfs/mft.c  MFT_RECORD *map_mft_record(ntfs_inode *ni)
ni                148 fs/ntfs/mft.c  	ntfs_debug("Entering for mft_no 0x%lx.", ni->mft_no);
ni                151 fs/ntfs/mft.c  	atomic_inc(&ni->count);
ni                154 fs/ntfs/mft.c  	mutex_lock(&ni->mrec_lock);
ni                156 fs/ntfs/mft.c  	m = map_mft_record_page(ni);
ni                160 fs/ntfs/mft.c  	mutex_unlock(&ni->mrec_lock);
ni                161 fs/ntfs/mft.c  	atomic_dec(&ni->count);
ni                162 fs/ntfs/mft.c  	ntfs_error(ni->vol->sb, "Failed with error code %lu.", -PTR_ERR(m));
ni                180 fs/ntfs/mft.c  static inline void unmap_mft_record_page(ntfs_inode *ni)
ni                182 fs/ntfs/mft.c  	BUG_ON(!ni->page);
ni                185 fs/ntfs/mft.c  	ntfs_unmap_page(ni->page);
ni                186 fs/ntfs/mft.c  	ni->page = NULL;
ni                187 fs/ntfs/mft.c  	ni->page_ofs = 0;
ni                202 fs/ntfs/mft.c  void unmap_mft_record(ntfs_inode *ni)
ni                204 fs/ntfs/mft.c  	struct page *page = ni->page;
ni                208 fs/ntfs/mft.c  	ntfs_debug("Entering for mft_no 0x%lx.", ni->mft_no);
ni                210 fs/ntfs/mft.c  	unmap_mft_record_page(ni);
ni                211 fs/ntfs/mft.c  	mutex_unlock(&ni->mrec_lock);
ni                212 fs/ntfs/mft.c  	atomic_dec(&ni->count);
ni                239 fs/ntfs/mft.c  	ntfs_inode *ni = NULL;
ni                261 fs/ntfs/mft.c  			ni = extent_nis[i];
ni                263 fs/ntfs/mft.c  			atomic_inc(&ni->count);
ni                267 fs/ntfs/mft.c  	if (likely(ni != NULL)) {
ni                271 fs/ntfs/mft.c  		m = map_mft_record(ni);
ni                273 fs/ntfs/mft.c  		atomic_dec(&ni->count);
ni                278 fs/ntfs/mft.c  				*ntfs_ino = ni;
ni                281 fs/ntfs/mft.c  			unmap_mft_record(ni);
ni                293 fs/ntfs/mft.c  	ni = ntfs_new_extent_inode(base_ni->vol->sb, mft_no);
ni                294 fs/ntfs/mft.c  	if (unlikely(!ni)) {
ni                299 fs/ntfs/mft.c  	ni->vol = base_ni->vol;
ni                300 fs/ntfs/mft.c  	ni->seq_no = seq_no;
ni                301 fs/ntfs/mft.c  	ni->nr_extents = -1;
ni                302 fs/ntfs/mft.c  	ni->ext.base_ntfs_ino = base_ni;
ni                304 fs/ntfs/mft.c  	m = map_mft_record(ni);
ni                308 fs/ntfs/mft.c  		ntfs_clear_extent_inode(ni);
ni                340 fs/ntfs/mft.c  	base_ni->ext.extent_ntfs_inos[base_ni->nr_extents++] = ni;
ni                344 fs/ntfs/mft.c  	*ntfs_ino = ni;
ni                347 fs/ntfs/mft.c  	unmap_mft_record(ni);
ni                355 fs/ntfs/mft.c  		ntfs_clear_extent_inode(ni);
ni                384 fs/ntfs/mft.c  void __mark_mft_record_dirty(ntfs_inode *ni)
ni                388 fs/ntfs/mft.c  	ntfs_debug("Entering for inode 0x%lx.", ni->mft_no);
ni                389 fs/ntfs/mft.c  	BUG_ON(NInoAttr(ni));
ni                390 fs/ntfs/mft.c  	mark_ntfs_record_dirty(ni->page, ni->page_ofs);
ni                392 fs/ntfs/mft.c  	mutex_lock(&ni->extent_lock);
ni                393 fs/ntfs/mft.c  	if (likely(ni->nr_extents >= 0))
ni                394 fs/ntfs/mft.c  		base_ni = ni;
ni                396 fs/ntfs/mft.c  		base_ni = ni->ext.base_ntfs_ino;
ni                397 fs/ntfs/mft.c  	mutex_unlock(&ni->extent_lock);
ni                660 fs/ntfs/mft.c  int write_mft_record_nolock(ntfs_inode *ni, MFT_RECORD *m, int sync)
ni                662 fs/ntfs/mft.c  	ntfs_volume *vol = ni->vol;
ni                663 fs/ntfs/mft.c  	struct page *page = ni->page;
ni                673 fs/ntfs/mft.c  	ntfs_debug("Entering for inode 0x%lx.", ni->mft_no);
ni                674 fs/ntfs/mft.c  	BUG_ON(NInoAttr(ni));
ni                687 fs/ntfs/mft.c  	if (!NInoTestClearDirty(ni))
ni                694 fs/ntfs/mft.c  	m_start = ni->page_ofs;
ni                724 fs/ntfs/mft.c  			vcn = ((VCN)ni->mft_no << vol->mft_record_size_bits) +
ni                750 fs/ntfs/mft.c  						ni->mft_no, (long long)lcn);
ni                772 fs/ntfs/mft.c  	flush_dcache_mft_record_page(ni);
ni                786 fs/ntfs/mft.c  	if (!sync && ni->mft_no < vol->mftmirr_size)
ni                787 fs/ntfs/mft.c  		ntfs_sync_mft_mirror(vol, ni->mft_no, m, sync);
ni                804 fs/ntfs/mft.c  	if (sync && ni->mft_no < vol->mftmirr_size)
ni                805 fs/ntfs/mft.c  		ntfs_sync_mft_mirror(vol, ni->mft_no, m, sync);
ni                808 fs/ntfs/mft.c  	flush_dcache_mft_record_page(ni);
ni                814 fs/ntfs/mft.c  				ni->mft_no);
ni                834 fs/ntfs/mft.c  		mark_mft_record_dirty(ni);
ni                926 fs/ntfs/mft.c  	ntfs_inode *ni, *eni, **extent_nis;
ni                966 fs/ntfs/mft.c  		ni = NTFS_I(vi);
ni                968 fs/ntfs/mft.c  		atomic_inc(&ni->count);
ni                970 fs/ntfs/mft.c  		if (NInoDirty(ni)) {
ni                973 fs/ntfs/mft.c  			atomic_dec(&ni->count);
ni                979 fs/ntfs/mft.c  		if (unlikely(!mutex_trylock(&ni->mrec_lock))) {
ni                982 fs/ntfs/mft.c  			atomic_dec(&ni->count);
ni                992 fs/ntfs/mft.c  		*locked_ni = ni;
ni               1038 fs/ntfs/mft.c  	ni = NTFS_I(vi);
ni               1039 fs/ntfs/mft.c  	mutex_lock(&ni->extent_lock);
ni               1040 fs/ntfs/mft.c  	if (ni->nr_extents <= 0) {
ni               1045 fs/ntfs/mft.c  		mutex_unlock(&ni->extent_lock);
ni               1052 fs/ntfs/mft.c  	extent_nis = ni->ext.extent_ntfs_inos;
ni               1053 fs/ntfs/mft.c  	for (eni = NULL, i = 0; i < ni->nr_extents; ++i) {
ni               1068 fs/ntfs/mft.c  		mutex_unlock(&ni->extent_lock);
ni               1079 fs/ntfs/mft.c  	mutex_unlock(&ni->extent_lock);
ni               2245 fs/ntfs/mft.c  	ntfs_inode *mft_ni, *mftbmp_ni, *ni;
ni               2588 fs/ntfs/mft.c  		m_tmp = map_extent_mft_record(base_ni, bit, &ni);
ni               2645 fs/ntfs/mft.c  		ni = NTFS_I(vi);
ni               2654 fs/ntfs/mft.c  			NInoSetMstProtected(ni);
ni               2655 fs/ntfs/mft.c  			ni->type = AT_INDEX_ALLOCATION;
ni               2656 fs/ntfs/mft.c  			ni->name = I30;
ni               2657 fs/ntfs/mft.c  			ni->name_len = 4;
ni               2659 fs/ntfs/mft.c  			ni->itype.index.block_size = 4096;
ni               2660 fs/ntfs/mft.c  			ni->itype.index.block_size_bits = ntfs_ffs(4096) - 1;
ni               2661 fs/ntfs/mft.c  			ni->itype.index.collation_rule = COLLATION_FILE_NAME;
ni               2662 fs/ntfs/mft.c  			if (vol->cluster_size <= ni->itype.index.block_size) {
ni               2663 fs/ntfs/mft.c  				ni->itype.index.vcn_size = vol->cluster_size;
ni               2664 fs/ntfs/mft.c  				ni->itype.index.vcn_size_bits =
ni               2667 fs/ntfs/mft.c  				ni->itype.index.vcn_size = vol->sector_size;
ni               2668 fs/ntfs/mft.c  				ni->itype.index.vcn_size_bits =
ni               2675 fs/ntfs/mft.c  			ni->type = AT_DATA;
ni               2676 fs/ntfs/mft.c  			ni->name = NULL;
ni               2677 fs/ntfs/mft.c  			ni->name_len = 0;
ni               2693 fs/ntfs/mft.c  		vi->i_generation = ni->seq_no = le16_to_cpu(m->sequence_number);
ni               2698 fs/ntfs/mft.c  		atomic_inc(&ni->count);
ni               2699 fs/ntfs/mft.c  		mutex_lock(&ni->mrec_lock);
ni               2700 fs/ntfs/mft.c  		ni->page = page;
ni               2701 fs/ntfs/mft.c  		ni->page_ofs = ofs;
ni               2728 fs/ntfs/mft.c  	return ni;
ni               2773 fs/ntfs/mft.c  int ntfs_extent_mft_record_free(ntfs_inode *ni, MFT_RECORD *m)
ni               2775 fs/ntfs/mft.c  	unsigned long mft_no = ni->mft_no;
ni               2776 fs/ntfs/mft.c  	ntfs_volume *vol = ni->vol;
ni               2783 fs/ntfs/mft.c  	BUG_ON(NInoAttr(ni));
ni               2784 fs/ntfs/mft.c  	BUG_ON(ni->nr_extents != -1);
ni               2786 fs/ntfs/mft.c  	mutex_lock(&ni->extent_lock);
ni               2787 fs/ntfs/mft.c  	base_ni = ni->ext.base_ntfs_ino;
ni               2788 fs/ntfs/mft.c  	mutex_unlock(&ni->extent_lock);
ni               2798 fs/ntfs/mft.c  	if (atomic_read(&ni->count) > 2) {
ni               2809 fs/ntfs/mft.c  		if (ni != extent_nis[i])
ni               2850 fs/ntfs/mft.c  	NInoSetDirty(ni);
ni               2851 fs/ntfs/mft.c  	err = write_mft_record(ni, m, 0);
ni               2859 fs/ntfs/mft.c  	unmap_extent_mft_record(ni);
ni               2860 fs/ntfs/mft.c  	ntfs_clear_extent_inode(ni);
ni               2901 fs/ntfs/mft.c  	extent_nis[base_ni->nr_extents++] = ni;
ni               2903 fs/ntfs/mft.c  	mark_mft_record_dirty(ni);
ni                 18 fs/ntfs/mft.h  extern MFT_RECORD *map_mft_record(ntfs_inode *ni);
ni                 19 fs/ntfs/mft.h  extern void unmap_mft_record(ntfs_inode *ni);
ni                 24 fs/ntfs/mft.h  static inline void unmap_extent_mft_record(ntfs_inode *ni)
ni                 26 fs/ntfs/mft.h  	unmap_mft_record(ni);
ni                 41 fs/ntfs/mft.h  static inline void flush_dcache_mft_record_page(ntfs_inode *ni)
ni                 43 fs/ntfs/mft.h  	flush_dcache_page(ni->page);
ni                 46 fs/ntfs/mft.h  extern void __mark_mft_record_dirty(ntfs_inode *ni);
ni                 59 fs/ntfs/mft.h  static inline void mark_mft_record_dirty(ntfs_inode *ni)
ni                 61 fs/ntfs/mft.h  	if (!NInoTestSetDirty(ni))
ni                 62 fs/ntfs/mft.h  		__mark_mft_record_dirty(ni);
ni                 68 fs/ntfs/mft.h  extern int write_mft_record_nolock(ntfs_inode *ni, MFT_RECORD *m, int sync);
ni                 88 fs/ntfs/mft.h  static inline int write_mft_record(ntfs_inode *ni, MFT_RECORD *m, int sync)
ni                 90 fs/ntfs/mft.h  	struct page *page = ni->page;
ni                 95 fs/ntfs/mft.h  	err = write_mft_record_nolock(ni, m, sync);
ni                106 fs/ntfs/mft.h  extern int ntfs_extent_mft_record_free(ntfs_inode *ni, MFT_RECORD *m);
ni                166 fs/ntfs/namei.c 	ntfs_inode *ni = NTFS_I(dent_inode);
ni                184 fs/ntfs/namei.c 		ni = NTFS_I(dent_inode);
ni                185 fs/ntfs/namei.c 		m = map_mft_record(ni);
ni                192 fs/ntfs/namei.c 		ctx = ntfs_attr_get_search_ctx(ni, m);
ni                232 fs/ntfs/namei.c 		unmap_mft_record(ni);
ni                255 fs/ntfs/namei.c 		unmap_mft_record(ni);
ni                289 fs/ntfs/namei.c 	ntfs_inode *ni = NTFS_I(vi);
ni                299 fs/ntfs/namei.c 	mrec = map_mft_record(ni);
ni                303 fs/ntfs/namei.c 	ctx = ntfs_attr_get_search_ctx(ni, mrec);
ni                305 fs/ntfs/namei.c 		unmap_mft_record(ni);
ni                313 fs/ntfs/namei.c 		unmap_mft_record(ni);
ni                332 fs/ntfs/namei.c 	unmap_mft_record(ni);
ni                363 fs/ntfs/super.c 	ntfs_inode *ni = NTFS_I(vol->vol_ino);
ni                373 fs/ntfs/super.c 	BUG_ON(!ni);
ni                374 fs/ntfs/super.c 	m = map_mft_record(ni);
ni                379 fs/ntfs/super.c 	ctx = ntfs_attr_get_search_ctx(ni, m);
ni                394 fs/ntfs/super.c 	unmap_mft_record(ni);
ni                401 fs/ntfs/super.c 	unmap_mft_record(ni);
ni               3033 fs/ntfs/super.c 	ntfs_inode *ni = (ntfs_inode *)foo;
ni               3035 fs/ntfs/super.c 	inode_init_once(VFS_I(ni));
ni                 81 fs/xfs/libxfs/xfs_inode_buf.c 	int		ni;
ni                 87 fs/xfs/libxfs/xfs_inode_buf.c 	ni = XFS_BB_TO_FSB(mp, bp->b_length) * mp->m_sb.sb_inopblock;
ni                 88 fs/xfs/libxfs/xfs_inode_buf.c 	for (i = 0; i < ni; i++) {
ni                155 fs/xfs/xfs_quota.h #define xfs_trans_reserve_quota(tp, mp, ud, gd, pd, nb, ni, f) \
ni                156 fs/xfs/xfs_quota.h 	xfs_trans_reserve_quota_bydquots(tp, mp, ud, gd, pd, nb, ni, \
ni                 52 include/uapi/linux/netfilter_bridge/ebt_802_3.h 		struct hdr_ni ni;
ni                666 net/atm/br2684.c 	struct atm_newif_br2684 ni;
ni                671 net/atm/br2684.c 	if (copy_from_user(&ni, arg, sizeof ni))
ni                674 net/atm/br2684.c 	if (ni.media & BR2684_FLAG_ROUTED)
ni                678 net/atm/br2684.c 	ni.media &= 0xffff;	/* strip flags */
ni                680 net/atm/br2684.c 	if (ni.media != BR2684_MEDIA_ETHERNET || ni.mtu != 1500)
ni                684 net/atm/br2684.c 			      ni.ifname[0] ? ni.ifname : "nas%d",
ni                407 net/bluetooth/hci_sock.c 	struct hci_mon_new_index *ni;
ni                418 net/bluetooth/hci_sock.c 		ni = skb_put(skb, HCI_MON_NEW_INDEX_SIZE);
ni                419 net/bluetooth/hci_sock.c 		ni->type = hdev->dev_type;
ni                420 net/bluetooth/hci_sock.c 		ni->bus = hdev->bus;
ni                421 net/bluetooth/hci_sock.c 		bacpy(&ni->bdaddr, &hdev->bdaddr);
ni                422 net/bluetooth/hci_sock.c 		memcpy(ni->name, hdev->name, 8);
ni                321 net/bridge/br_device.c static int br_netpoll_setup(struct net_device *dev, struct netpoll_info *ni)
ni                 27 net/bridge/netfilter/ebt_802_3.c 	__be16 type = hdr->llc.ui.ctrl & IS_UI ? hdr->llc.ui.type : hdr->llc.ni.type;
ni                174 net/core/netpoll.c 	struct netpoll_info *ni = rcu_dereference_bh(dev->npinfo);
ni                181 net/core/netpoll.c 	if (!ni || down_trylock(&ni->dev_lock))
ni                185 net/core/netpoll.c 		up(&ni->dev_lock);
ni                195 net/core/netpoll.c 	up(&ni->dev_lock);
ni                203 net/core/netpoll.c 	struct netpoll_info *ni;
ni                207 net/core/netpoll.c 	ni = srcu_dereference(dev->npinfo, &netpoll_srcu);
ni                208 net/core/netpoll.c 	if (ni)
ni                209 net/core/netpoll.c 		down(&ni->dev_lock);
ni                216 net/core/netpoll.c 	struct netpoll_info *ni;
ni                218 net/core/netpoll.c 	ni = rcu_dereference(dev->npinfo);
ni                219 net/core/netpoll.c 	if (ni)
ni                220 net/core/netpoll.c 		up(&ni->dev_lock);
ni                790 net/dsa/slave.c 				   struct netpoll_info *ni)
ni                968 sound/soc/codecs/max98088.c        unsigned long long ni;
ni               1005 sound/soc/codecs/max98088.c                ni = 65536ULL * (rate < 50000 ? 96ULL : 48ULL)
ni               1007 sound/soc/codecs/max98088.c                do_div(ni, (unsigned long long int)max98088->sysclk);
ni               1009 sound/soc/codecs/max98088.c                        (ni >> 8) & 0x7F);
ni               1011 sound/soc/codecs/max98088.c                        ni & 0xFF);
ni               1035 sound/soc/codecs/max98088.c        unsigned long long ni;
ni               1072 sound/soc/codecs/max98088.c                ni = 65536ULL * (rate < 50000 ? 96ULL : 48ULL)
ni               1074 sound/soc/codecs/max98088.c                do_div(ni, (unsigned long long int)max98088->sysclk);
ni               1076 sound/soc/codecs/max98088.c                        (ni >> 8) & 0x7F);
ni               1078 sound/soc/codecs/max98088.c                        ni & 0xFF);
ni               1485 sound/soc/codecs/max98090.c 	unsigned long long ni;
ni               1562 sound/soc/codecs/max98090.c 	ni = 65536ULL * (max98090->lrclk < 50000 ? 96ULL : 48ULL)
ni               1564 sound/soc/codecs/max98090.c 	do_div(ni, (unsigned long long int)max98090->sysclk);
ni               1566 sound/soc/codecs/max98090.c 	dev_info(component->dev, "Calculating ni %lld with mi 65536\n", ni);
ni               1568 sound/soc/codecs/max98090.c 		(ni >> 8) & 0x7F);
ni               1569 sound/soc/codecs/max98090.c 	snd_soc_component_write(component, M98090_REG_CLOCK_RATIO_NI_LSB, ni & 0xFF);
ni                945 sound/soc/codecs/max98095.c 	unsigned long long ni;
ni                979 sound/soc/codecs/max98095.c 		ni = 65536ULL * (rate < 50000 ? 96ULL : 48ULL)
ni                981 sound/soc/codecs/max98095.c 		do_div(ni, (unsigned long long int)max98095->sysclk);
ni                983 sound/soc/codecs/max98095.c 			(ni >> 8) & 0x7F);
ni                985 sound/soc/codecs/max98095.c 			ni & 0xFF);
ni               1006 sound/soc/codecs/max98095.c 	unsigned long long ni;
ni               1040 sound/soc/codecs/max98095.c 		ni = 65536ULL * (rate < 50000 ? 96ULL : 48ULL)
ni               1042 sound/soc/codecs/max98095.c 		do_div(ni, (unsigned long long int)max98095->sysclk);
ni               1044 sound/soc/codecs/max98095.c 			(ni >> 8) & 0x7F);
ni               1046 sound/soc/codecs/max98095.c 			ni & 0xFF);
ni               1067 sound/soc/codecs/max98095.c 	unsigned long long ni;
ni               1101 sound/soc/codecs/max98095.c 		ni = 65536ULL * (rate < 50000 ? 96ULL : 48ULL)
ni               1103 sound/soc/codecs/max98095.c 		do_div(ni, (unsigned long long int)max98095->sysclk);
ni               1105 sound/soc/codecs/max98095.c 			(ni >> 8) & 0x7F);
ni               1107 sound/soc/codecs/max98095.c 			ni & 0xFF);
ni                189 sound/soc/codecs/max9867.c 	unsigned int ni = DIV_ROUND_CLOSEST_ULL(96ULL * 0x10000 * params_rate(params),
ni                194 sound/soc/codecs/max9867.c 		MAX9867_NI_HIGH_MASK, (0xFF00 & ni) >> 8);
ni                196 sound/soc/codecs/max9867.c 		MAX9867_NI_LOW_MASK, 0x00FF & ni);