nf                556 drivers/block/aoe/aoecmd.c 	struct frame *nf;
nf                559 drivers/block/aoe/aoecmd.c 	nf = newframe(f->t->d);
nf                560 drivers/block/aoe/aoecmd.c 	if (!nf)
nf                562 drivers/block/aoe/aoecmd.c 	if (nf->t == f->t) {
nf                563 drivers/block/aoe/aoecmd.c 		aoe_freetframe(nf);
nf                567 drivers/block/aoe/aoecmd.c 	skb = nf->skb;
nf                568 drivers/block/aoe/aoecmd.c 	nf->skb = f->skb;
nf                569 drivers/block/aoe/aoecmd.c 	nf->buf = f->buf;
nf                570 drivers/block/aoe/aoecmd.c 	nf->iter = f->iter;
nf                571 drivers/block/aoe/aoecmd.c 	nf->waited = 0;
nf                572 drivers/block/aoe/aoecmd.c 	nf->waited_total = f->waited_total;
nf                573 drivers/block/aoe/aoecmd.c 	nf->sent = f->sent;
nf                576 drivers/block/aoe/aoecmd.c 	return nf;
nf                642 drivers/block/aoe/aoecmd.c 	struct frame *nf;
nf                655 drivers/block/aoe/aoecmd.c 				nf = reassign_frame(f);
nf                656 drivers/block/aoe/aoecmd.c 				if (nf) {
nf                662 drivers/block/aoe/aoecmd.c 					list_replace(&f->head, &nf->head);
nf                663 drivers/block/aoe/aoecmd.c 					pos = &nf->head;
nf                665 drivers/block/aoe/aoecmd.c 					f = nf;
nf                379 drivers/clk/rockchip/clk-pll.c 	rate->nf = ((pllcon >> RK3066_PLLCON1_NF_SHIFT)
nf                404 drivers/clk/rockchip/clk-pll.c 	rate64 *= cur.nf;
nf                422 drivers/clk/rockchip/clk-pll.c 		 __func__, rate->rate, rate->nr, rate->no, rate->nf);
nf                444 drivers/clk/rockchip/clk-pll.c 	writel_relaxed(HIWORD_UPDATE(rate->nf - 1, RK3066_PLLCON1_NF_MASK,
nf                539 drivers/clk/rockchip/clk-pll.c 		 rate->no, cur.no, rate->nf, cur.nf, rate->nb, cur.nb);
nf                540 drivers/clk/rockchip/clk-pll.c 	if (rate->nr != cur.nr || rate->no != cur.no || rate->nf != cur.nf
nf                214 drivers/clk/rockchip/clk.h 	.nf = _nf,				\
nf                223 drivers/clk/rockchip/clk.h 	.nf = _nf,						\
nf                247 drivers/clk/rockchip/clk.h 	unsigned int nf;
nf                364 drivers/clk/sirf/clk-atlas7.c 	u32 nf = (regfreq & (BIT(9) - 1)) + 1;
nf                380 drivers/clk/sirf/clk-atlas7.c 		rate *= nf;
nf                 87 drivers/clk/sirf/clk-common.c 		u32 nf = (cfg0 & (BIT(13) - 1)) + 1;
nf                 91 drivers/clk/sirf/clk-common.c 		return fin / MHZ * nf / nr / od * MHZ;
nf                 98 drivers/clk/sirf/clk-common.c 	unsigned long fin, nf, nr, od;
nf                107 drivers/clk/sirf/clk-common.c 	nf = rate / MHZ;
nf                108 drivers/clk/sirf/clk-common.c 	if (nf > BIT(13))
nf                109 drivers/clk/sirf/clk-common.c 		nf = BIT(13);
nf                110 drivers/clk/sirf/clk-common.c 	if (nf < 1)
nf                111 drivers/clk/sirf/clk-common.c 		nf = 1;
nf                120 drivers/clk/sirf/clk-common.c 	dividend = (u64)fin * nf;
nf                130 drivers/clk/sirf/clk-common.c 	unsigned long fin, nf, nr, od, reg;
nf                137 drivers/clk/sirf/clk-common.c 	nf = rate / MHZ;
nf                138 drivers/clk/sirf/clk-common.c 	if (unlikely((rate % MHZ) || nf > BIT(13) || nf < 1))
nf                149 drivers/clk/sirf/clk-common.c 	reg = (nf - 1) | ((nr - 1) << 13) | ((od - 1) << 19);
nf                153 drivers/clk/sirf/clk-common.c 	clkc_writel((nf >> 1) - 1, reg);
nf                104 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	struct intel_range vco, np, nr, nf;
nf                110 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	int nf;
nf                127 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	.nf  = { .min = NF_MIN,			.max = NF_MAX  },
nf                180 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	int np, nr, nf;
nf                198 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	nf = DIV_ROUND_CLOSEST((target * 10 * np * nr), refclk);
nf                199 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	DRM_DEBUG_KMS("np, nr, nf %d %d %d\n", np, nr, nf);
nf                207 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	best_clock->nf = (nf << 14);
nf                313 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	REG_WRITE(DPLL_DIV_CTRL, ((clock.nf << 6) | clock.nr));
nf                314 drivers/gpu/drm/gma500/oaktrail_hdmi.c 	REG_WRITE(DPLL_ADJUST, ((clock.nf >> 14) - 1));
nf                828 drivers/md/dm-bufio.c static struct dm_buffer *__alloc_buffer_wait_no_callback(struct dm_bufio_client *c, enum new_flag nf)
nf                853 drivers/md/dm-bufio.c 		if (nf == NF_PREFETCH)
nf                882 drivers/md/dm-bufio.c static struct dm_buffer *__alloc_buffer_wait(struct dm_bufio_client *c, enum new_flag nf)
nf                884 drivers/md/dm-bufio.c 	struct dm_buffer *b = __alloc_buffer_wait_no_callback(c, nf);
nf                951 drivers/md/dm-bufio.c 				     enum new_flag nf, int *need_submit,
nf                962 drivers/md/dm-bufio.c 	if (nf == NF_GET)
nf                965 drivers/md/dm-bufio.c 	new_b = __alloc_buffer_wait(c, nf);
nf                987 drivers/md/dm-bufio.c 	if (nf == NF_FRESH) {
nf                998 drivers/md/dm-bufio.c 	if (nf == NF_PREFETCH)
nf               1007 drivers/md/dm-bufio.c 	if (nf == NF_GET && unlikely(test_bit(B_READING, &b->state)))
nf               1040 drivers/md/dm-bufio.c 		      enum new_flag nf, struct dm_buffer **bp)
nf               1048 drivers/md/dm-bufio.c 	b = __bufio_new(c, block, nf, &need_submit, &write_list);
nf                547 drivers/media/i2c/noon010pc30.c 	const struct noon010_format *nf;
nf                551 drivers/media/i2c/noon010pc30.c 	nf = noon010_try_fmt(sd, &fmt->format);
nf                566 drivers/media/i2c/noon010pc30.c 		info->curr_fmt = nf;
nf                970 drivers/media/pci/ivtv/ivtv-yuv.c 	struct yuv_frame_info *nf = &yi->new_frame_info[frame];
nf                975 drivers/media/pci/ivtv/ivtv-yuv.c 	int update = nf->update;
nf                978 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->src_x = args->src.left;
nf                979 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->src_y = args->src.top;
nf                980 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->src_w = args->src.width;
nf                981 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->src_h = args->src.height;
nf                982 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->dst_x = args->dst.left;
nf                983 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->dst_y = args->dst.top;
nf                984 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->dst_w = args->dst.width;
nf                985 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->dst_h = args->dst.height;
nf                986 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->tru_x = args->dst.left;
nf                987 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->tru_w = args->src_width;
nf                988 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->tru_h = args->src_height;
nf                991 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->offset_y = (nf->tru_h + nf->src_x < 512 - 16) ? 1 : 0;
nf                993 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->update = 0;
nf                994 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->interlaced_y = 0;
nf                995 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->interlaced_uv = 0;
nf                996 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->delay = 0;
nf                997 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->sync_field = 0;
nf                998 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->lace_mode = yi->lace_mode & IVTV_YUV_MODE_MASK;
nf               1004 drivers/media/pci/ivtv/ivtv-yuv.c 	switch (nf->lace_mode) {
nf               1006 drivers/media/pci/ivtv/ivtv-yuv.c 		nf->interlaced = 0;
nf               1007 drivers/media/pci/ivtv/ivtv-yuv.c 		if (nf->tru_h < 512 || (nf->tru_h > 576 && nf->tru_h < 1021))
nf               1008 drivers/media/pci/ivtv/ivtv-yuv.c 			nf->interlaced_y = 0;
nf               1010 drivers/media/pci/ivtv/ivtv-yuv.c 			nf->interlaced_y = 1;
nf               1012 drivers/media/pci/ivtv/ivtv-yuv.c 		if (nf->tru_h < 1021 && (nf->dst_h >= nf->src_h / 2))
nf               1013 drivers/media/pci/ivtv/ivtv-yuv.c 			nf->interlaced_uv = 0;
nf               1015 drivers/media/pci/ivtv/ivtv-yuv.c 			nf->interlaced_uv = 1;
nf               1019 drivers/media/pci/ivtv/ivtv-yuv.c 		if (nf->tru_h <= lace_threshold || nf->tru_h > 576 || nf->tru_w > 720) {
nf               1020 drivers/media/pci/ivtv/ivtv-yuv.c 			nf->interlaced = 0;
nf               1021 drivers/media/pci/ivtv/ivtv-yuv.c 			if ((nf->tru_h < 512) ||
nf               1022 drivers/media/pci/ivtv/ivtv-yuv.c 			    (nf->tru_h > 576 && nf->tru_h < 1021) ||
nf               1023 drivers/media/pci/ivtv/ivtv-yuv.c 			    (nf->tru_w > 720 && nf->tru_h < 1021))
nf               1024 drivers/media/pci/ivtv/ivtv-yuv.c 				nf->interlaced_y = 0;
nf               1026 drivers/media/pci/ivtv/ivtv-yuv.c 				nf->interlaced_y = 1;
nf               1027 drivers/media/pci/ivtv/ivtv-yuv.c 			if (nf->tru_h < 1021 && (nf->dst_h >= nf->src_h / 2))
nf               1028 drivers/media/pci/ivtv/ivtv-yuv.c 				nf->interlaced_uv = 0;
nf               1030 drivers/media/pci/ivtv/ivtv-yuv.c 				nf->interlaced_uv = 1;
nf               1032 drivers/media/pci/ivtv/ivtv-yuv.c 			nf->interlaced = 1;
nf               1033 drivers/media/pci/ivtv/ivtv-yuv.c 			nf->interlaced_y = 1;
nf               1034 drivers/media/pci/ivtv/ivtv-yuv.c 			nf->interlaced_uv = 1;
nf               1040 drivers/media/pci/ivtv/ivtv-yuv.c 		nf->interlaced = 1;
nf               1041 drivers/media/pci/ivtv/ivtv-yuv.c 		nf->interlaced_y = 1;
nf               1042 drivers/media/pci/ivtv/ivtv-yuv.c 		nf->interlaced_uv = 1;
nf               1046 drivers/media/pci/ivtv/ivtv-yuv.c 	if (memcmp(&yi->old_frame_info_args, nf, sizeof(*nf))) {
nf               1047 drivers/media/pci/ivtv/ivtv-yuv.c 		yi->old_frame_info_args = *nf;
nf               1048 drivers/media/pci/ivtv/ivtv-yuv.c 		nf->update = 1;
nf               1052 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->update |= update;
nf               1053 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->sync_field = yi->lace_sync_field;
nf               1054 drivers/media/pci/ivtv/ivtv-yuv.c 	nf->delay = nf->sync_field != of->sync_field;
nf                519 drivers/media/platform/omap3isp/isppreview.c 	const struct omap3isp_prev_nf *nf = &params->nf;
nf                522 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, nf->spread, OMAP3_ISP_IOMEM_PREV, ISPPRV_NF);
nf                526 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_writel(isp, nf->table[i],
nf                830 drivers/media/platform/omap3isp/isppreview.c 		offsetof(struct prev_params, nf),
nf                831 drivers/media/platform/omap3isp/isppreview.c 		FIELD_SIZEOF(struct prev_params, nf),
nf                832 drivers/media/platform/omap3isp/isppreview.c 		offsetof(struct omap3isp_prev_update_config, nf),
nf               1325 drivers/media/platform/omap3isp/isppreview.c 	params->nf.spread = FLR_NF_STRGTH;
nf               1326 drivers/media/platform/omap3isp/isppreview.c 	memcpy(params->nf.table, noise_filter_table, sizeof(params->nf.table));
nf                 84 drivers/media/platform/omap3isp/isppreview.h 	struct omap3isp_prev_nf nf;
nf                825 drivers/net/ethernet/pasemi/pasemi_mac.c 	int nf[TX_CLEAN_BATCHSIZE];
nf                881 drivers/net/ethernet/pasemi/pasemi_mac.c 		nf[descr_count] = nr_frags;
nf                894 drivers/net/ethernet/pasemi/pasemi_mac.c 		pasemi_mac_unmap_tx_skb(mac, nf[i], skbs[i], dmas[i]);
nf               1982 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	struct netxen_skb_frag *nf;
nf               1988 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	nf = &pbuf->frag_array[0];
nf               1995 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	nf->dma = map;
nf               1996 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	nf->length = skb_headlen(skb);
nf               2000 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 		nf = &pbuf->frag_array[i+1];
nf               2007 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 		nf->dma = map;
nf               2008 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 		nf->length = skb_frag_size(frag);
nf               2015 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 		nf = &pbuf->frag_array[i+1];
nf               2016 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 		pci_unmap_page(pdev, nf->dma, nf->length, PCI_DMA_TODEVICE);
nf               2017 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 		nf->dma = 0ULL;
nf               2020 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	nf = &pbuf->frag_array[0];
nf               2021 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	pci_unmap_single(pdev, nf->dma, skb_headlen(skb), PCI_DMA_TODEVICE);
nf               2022 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	nf->dma = 0ULL;
nf                583 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	struct qlcnic_skb_frag *nf;
nf                589 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	nf = &pbuf->frag_array[0];
nf                596 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	nf->dma = map;
nf                597 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	nf->length = skb_headlen(skb);
nf                601 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		nf = &pbuf->frag_array[i+1];
nf                607 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		nf->dma = map;
nf                608 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		nf->length = skb_frag_size(frag);
nf                615 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		nf = &pbuf->frag_array[i+1];
nf                616 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		pci_unmap_page(pdev, nf->dma, nf->length, PCI_DMA_TODEVICE);
nf                619 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	nf = &pbuf->frag_array[0];
nf                620 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	pci_unmap_single(pdev, nf->dma, skb_headlen(skb), PCI_DMA_TODEVICE);
nf                629 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	struct qlcnic_skb_frag *nf = &pbuf->frag_array[0];
nf                633 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		nf = &pbuf->frag_array[i+1];
nf                634 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 		pci_unmap_page(pdev, nf->dma, nf->length, PCI_DMA_TODEVICE);
nf                637 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	nf = &pbuf->frag_array[0];
nf                638 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c 	pci_unmap_single(pdev, nf->dma, skb_headlen(skb), PCI_DMA_TODEVICE);
nf               1598 drivers/net/wireless/ath/ath5k/phy.c 	s16 nf, threshold;
nf               1614 drivers/net/wireless/ath/ath5k/phy.c 	nf = ath5k_hw_read_measured_noise_floor(ah);
nf               1617 drivers/net/wireless/ath/ath5k/phy.c 	if (nf > threshold) {
nf               1621 drivers/net/wireless/ath/ath5k/phy.c 			nf, threshold);
nf               1623 drivers/net/wireless/ath/ath5k/phy.c 		nf = AR5K_TUNE_CCA_MAX_GOOD_VALUE;
nf               1626 drivers/net/wireless/ath/ath5k/phy.c 	ath5k_hw_update_nfcal_hist(ah, nf);
nf               1627 drivers/net/wireless/ath/ath5k/phy.c 	nf = ath5k_hw_get_median_noise_floor(ah);
nf               1631 drivers/net/wireless/ath/ath5k/phy.c 	val |= (nf * 2) & AR5K_PHY_NF_M;
nf               1653 drivers/net/wireless/ath/ath5k/phy.c 	ah->ah_noise_floor = nf;
nf               1658 drivers/net/wireless/ath/ath5k/phy.c 		"noise floor calibrated: %d\n", nf);
nf               1120 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	int16_t nf;
nf               1122 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	nf = MS(REG_READ(ah, AR_PHY_CCA), AR_PHY_MINCCA_PWR);
nf               1123 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	nfarray[0] = sign_extend32(nf, 8);
nf               1125 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	nf = MS(REG_READ(ah, AR_PHY_CH1_CCA), AR_PHY_CH1_MINCCA_PWR);
nf               1126 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	nfarray[1] = sign_extend32(nf, 8);
nf               1128 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	nf = MS(REG_READ(ah, AR_PHY_CH2_CCA), AR_PHY_CH2_MINCCA_PWR);
nf               1129 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	nfarray[2] = sign_extend32(nf, 8);
nf               1134 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	nf = MS(REG_READ(ah, AR_PHY_EXT_CCA), AR_PHY_EXT_MINCCA_PWR);
nf               1135 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	nfarray[3] = sign_extend32(nf, 8);
nf               1137 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	nf = MS(REG_READ(ah, AR_PHY_CH1_EXT_CCA), AR_PHY_CH1_EXT_MINCCA_PWR);
nf               1138 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	nfarray[4] = sign_extend32(nf, 8);
nf               1140 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	nf = MS(REG_READ(ah, AR_PHY_CH2_EXT_CCA), AR_PHY_CH2_EXT_MINCCA_PWR);
nf               1141 drivers/net/wireless/ath/ath9k/ar5008_phy.c 	nfarray[5] = sign_extend32(nf, 8);
nf                334 drivers/net/wireless/ath/ath9k/ar9002_phy.c 	int16_t nf;
nf                336 drivers/net/wireless/ath/ath9k/ar9002_phy.c 	nf = MS(REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR);
nf                337 drivers/net/wireless/ath/ath9k/ar9002_phy.c 	nfarray[0] = sign_extend32(nf, 8);
nf                339 drivers/net/wireless/ath/ath9k/ar9002_phy.c 	nf = MS(REG_READ(ah, AR_PHY_EXT_CCA), AR9280_PHY_EXT_MINCCA_PWR);
nf                341 drivers/net/wireless/ath/ath9k/ar9002_phy.c 		nfarray[3] = sign_extend32(nf, 8);
nf                346 drivers/net/wireless/ath/ath9k/ar9002_phy.c 	nf = MS(REG_READ(ah, AR_PHY_CH1_CCA), AR9280_PHY_CH1_MINCCA_PWR);
nf                347 drivers/net/wireless/ath/ath9k/ar9002_phy.c 	nfarray[1] = sign_extend32(nf, 8);
nf                349 drivers/net/wireless/ath/ath9k/ar9002_phy.c 	nf = MS(REG_READ(ah, AR_PHY_CH1_EXT_CCA), AR9280_PHY_CH1_EXT_MINCCA_PWR);
nf                351 drivers/net/wireless/ath/ath9k/ar9002_phy.c 		nfarray[4] = sign_extend32(nf, 8);
nf               1356 drivers/net/wireless/ath/ath9k/ar9003_phy.c 	int16_t nf;
nf               1361 drivers/net/wireless/ath/ath9k/ar9003_phy.c 			nf = MS(REG_READ(ah, ah->nf_regs[i]),
nf               1363 drivers/net/wireless/ath/ath9k/ar9003_phy.c 			nfarray[i] = sign_extend32(nf, 8);
nf               1368 drivers/net/wireless/ath/ath9k/ar9003_phy.c 				nf = MS(REG_READ(ah, ah->nf_regs[ext_idx]),
nf               1370 drivers/net/wireless/ath/ath9k/ar9003_phy.c 				nfarray[ext_idx] = sign_extend32(nf, 8);
nf                 73 drivers/net/wireless/ath/ath9k/calib.c 			   s16 nf)
nf                 77 drivers/net/wireless/ath/ath9k/calib.c 	if (nf) {
nf                 78 drivers/net/wireless/ath/ath9k/calib.c 		s8 delta = nf - ATH9K_NF_CAL_NOISE_THRESH -
nf                367 drivers/net/wireless/ath/ath9k/calib.c static void ath9k_hw_nf_sanitize(struct ath_hw *ah, s16 *nf)
nf                379 drivers/net/wireless/ath/ath9k/calib.c 		if (!nf[i])
nf                384 drivers/net/wireless/ath/ath9k/calib.c 			(i >= 3 ? "ext" : "ctl"), i % 3, nf[i]);
nf                386 drivers/net/wireless/ath/ath9k/calib.c 		if (nf[i] > limit->max) {
nf                389 drivers/net/wireless/ath/ath9k/calib.c 				i, nf[i], limit->max);
nf                390 drivers/net/wireless/ath/ath9k/calib.c 			nf[i] = limit->max;
nf                391 drivers/net/wireless/ath/ath9k/calib.c 		} else if (nf[i] < limit->min) {
nf                394 drivers/net/wireless/ath/ath9k/calib.c 				i, nf[i], limit->min);
nf                395 drivers/net/wireless/ath/ath9k/calib.c 			nf[i] = limit->nominal;
nf                403 drivers/net/wireless/ath/ath9k/calib.c 	int16_t nf, nfThresh;
nf                417 drivers/net/wireless/ath/ath9k/calib.c 	nf = nfarray[0];
nf                419 drivers/net/wireless/ath/ath9k/calib.c 	    && nf > nfThresh) {
nf                422 drivers/net/wireless/ath/ath9k/calib.c 			nf, nfThresh);
nf                426 drivers/net/wireless/ath/ath9k/calib.c 		chan->noisefloor = nf;
nf                120 drivers/net/wireless/ath/ath9k/calib.h 			   s16 nf);
nf                568 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h 	s8 nf[BRCMF_ANT_MAX];     /* per antenna noise floor */
nf                 18 drivers/net/wireless/marvell/libertas/cmd.c #define CAL_NF(nf)		((s32)(-(s32)(nf)))
nf                 19 drivers/net/wireless/marvell/libertas/cmd.c #define CAL_RSSI(snr, nf)	((s32)((s32)(snr) + CAL_NF(nf)))
nf                667 drivers/net/wireless/marvell/libertas/cmd.c int lbs_get_rssi(struct lbs_private *priv, s8 *rssi, s8 *nf)
nf                673 drivers/net/wireless/marvell/libertas/cmd.c 	BUG_ON(nf == NULL);
nf                682 drivers/net/wireless/marvell/libertas/cmd.c 		*nf = CAL_NF(le16_to_cpu(cmd.nf));
nf                683 drivers/net/wireless/marvell/libertas/cmd.c 		*rssi = CAL_RSSI(le16_to_cpu(cmd.n_or_snr), le16_to_cpu(cmd.nf));
nf                132 drivers/net/wireless/marvell/libertas/cmd.h int lbs_get_rssi(struct lbs_private *priv, s8 *snr, s8 *nf);
nf                349 drivers/net/wireless/marvell/libertas/host.h 	u8 nf;
nf                638 drivers/net/wireless/marvell/libertas/host.h 	__le16 nf;       /* most recent beacon noise floor */
nf                247 drivers/net/wireless/marvell/libertas/rx.c 	radiotap_hdr.antsignal = prxpd->snr + prxpd->nf;
nf                300 drivers/net/wireless/marvell/libertas_tf/libertas_tf.h 	u8 nf;
nf                509 drivers/net/wireless/marvell/libertas_tf/main.c 	stats.signal = prxpd->snr - prxpd->nf;
nf                510 drivers/net/wireless/marvell/libertas_tf/main.c 	priv->noise = prxpd->nf;
nf                704 drivers/net/wireless/marvell/mwifiex/fw.h 	s8 nf;
nf                751 drivers/net/wireless/marvell/mwifiex/fw.h 	s8 nf;
nf                167 drivers/net/wireless/marvell/mwifiex/sta_rx.c 				      local_rx_pd->nf);
nf                250 drivers/net/wireless/marvell/mwifiex/sta_rx.c 							     local_rx_pd->nf);
nf                359 drivers/net/wireless/marvell/mwifiex/util.c 					    addr2, rx_pd->nf, rx_pd->snr);
nf                363 drivers/net/wireless/marvell/mwifiex/util.c 								     rx_pd->nf);
nf                429 drivers/net/wireless/marvell/mwifiex/util.c 			 CAL_RSSI(rx_pd->snr, rx_pd->nf), skb->data, pkt_len,
nf                710 drivers/net/wireless/marvell/mwifiex/util.c 	s8 nf   = -nflr;
nf                716 drivers/net/wireless/marvell/mwifiex/util.c 	atomic_inc(&phist_data->noise_flr[nf + 128]);
nf               3101 drivers/net/wireless/marvell/mwl8k.c 	s8 nf = 0, idx;
nf               3125 drivers/net/wireless/marvell/mwl8k.c 	mwl8k_cmd_bbp_reg_access(priv->hw, 0, BBU_AVG_NOISE_VAL, &nf);
nf               3128 drivers/net/wireless/marvell/mwl8k.c 	survey->noise = nf * -1;
nf                572 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c 	u16 nf;
nf                575 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c 	nf = (inno_read(inno, 0xe2) & RK3228_PRE_PLL_FB_DIV_8_MASK) << 1;
nf                576 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c 	nf |= inno_read(inno, 0xe3);
nf                577 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c 	vco = parent_rate * nf;
nf                719 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c 	u16 nf;
nf                722 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c 	nf = ((inno_read(inno, 0xa2) & RK3328_PRE_PLL_FB_DIV_11_8_MASK) << 8);
nf                723 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c 	nf |= inno_read(inno, 0xa3);
nf                724 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c 	vco = parent_rate * nf;
nf                369 drivers/staging/media/ipu3/include/intel-ipu3.h 	} nf;
nf               1084 drivers/staging/media/ipu3/ipu3-abi.h 	s8 nf;
nf               9585 drivers/staging/media/ipu3/ipu3-tables.c 		.nf = { X, 7, X, 7 },
nf                499 drivers/video/console/sticore.c 	struct sti_rom_font *nf;
nf                516 drivers/video/console/sticore.c 	nf = kzalloc(size, STI_LOWMEM);
nf                517 drivers/video/console/sticore.c 	if (!nf)
nf                520 drivers/video/console/sticore.c 	nf->first_char = 0;
nf                521 drivers/video/console/sticore.c 	nf->last_char = 255;
nf                522 drivers/video/console/sticore.c 	nf->width = fbfont->width;
nf                523 drivers/video/console/sticore.c 	nf->height = fbfont->height;
nf                524 drivers/video/console/sticore.c 	nf->font_type = STI_FONT_HPROMAN8;
nf                525 drivers/video/console/sticore.c 	nf->bytes_per_char = bpc;
nf                526 drivers/video/console/sticore.c 	nf->next_font = 0;
nf                527 drivers/video/console/sticore.c 	nf->underline_height = 1;
nf                528 drivers/video/console/sticore.c 	nf->underline_pos = fbfont->height - nf->underline_height;
nf                530 drivers/video/console/sticore.c 	dest = nf;
nf                536 drivers/video/console/sticore.c 		kfree(nf);
nf                540 drivers/video/console/sticore.c 	cooked_font->raw = nf;
nf                 86 fs/nfsd/filecache.c 	struct nfsd_file *nf = container_of(rcu, struct nfsd_file, nf_rcu);
nf                 88 fs/nfsd/filecache.c 	put_cred(nf->nf_cred);
nf                 89 fs/nfsd/filecache.c 	kmem_cache_free(nfsd_file_slab, nf);
nf                120 fs/nfsd/filecache.c nfsd_file_mark_find_or_create(struct nfsd_file *nf)
nf                125 fs/nfsd/filecache.c 	struct inode *inode = nf->nf_inode;
nf                174 fs/nfsd/filecache.c 	struct nfsd_file *nf;
nf                176 fs/nfsd/filecache.c 	nf = kmem_cache_alloc(nfsd_file_slab, GFP_KERNEL);
nf                177 fs/nfsd/filecache.c 	if (nf) {
nf                178 fs/nfsd/filecache.c 		INIT_HLIST_NODE(&nf->nf_node);
nf                179 fs/nfsd/filecache.c 		INIT_LIST_HEAD(&nf->nf_lru);
nf                180 fs/nfsd/filecache.c 		nf->nf_file = NULL;
nf                181 fs/nfsd/filecache.c 		nf->nf_cred = get_current_cred();
nf                182 fs/nfsd/filecache.c 		nf->nf_net = net;
nf                183 fs/nfsd/filecache.c 		nf->nf_flags = 0;
nf                184 fs/nfsd/filecache.c 		nf->nf_inode = inode;
nf                185 fs/nfsd/filecache.c 		nf->nf_hashval = hashval;
nf                186 fs/nfsd/filecache.c 		atomic_set(&nf->nf_ref, 1);
nf                187 fs/nfsd/filecache.c 		nf->nf_may = may & NFSD_FILE_MAY_MASK;
nf                190 fs/nfsd/filecache.c 				__set_bit(NFSD_FILE_BREAK_WRITE, &nf->nf_flags);
nf                192 fs/nfsd/filecache.c 				__set_bit(NFSD_FILE_BREAK_READ, &nf->nf_flags);
nf                194 fs/nfsd/filecache.c 		nf->nf_mark = NULL;
nf                195 fs/nfsd/filecache.c 		trace_nfsd_file_alloc(nf);
nf                197 fs/nfsd/filecache.c 	return nf;
nf                201 fs/nfsd/filecache.c nfsd_file_free(struct nfsd_file *nf)
nf                205 fs/nfsd/filecache.c 	trace_nfsd_file_put_final(nf);
nf                206 fs/nfsd/filecache.c 	if (nf->nf_mark)
nf                207 fs/nfsd/filecache.c 		nfsd_file_mark_put(nf->nf_mark);
nf                208 fs/nfsd/filecache.c 	if (nf->nf_file) {
nf                209 fs/nfsd/filecache.c 		get_file(nf->nf_file);
nf                210 fs/nfsd/filecache.c 		filp_close(nf->nf_file, NULL);
nf                211 fs/nfsd/filecache.c 		fput(nf->nf_file);
nf                214 fs/nfsd/filecache.c 	call_rcu(&nf->nf_rcu, nfsd_file_slab_free);
nf                219 fs/nfsd/filecache.c nfsd_file_check_writeback(struct nfsd_file *nf)
nf                221 fs/nfsd/filecache.c 	struct file *file = nf->nf_file;
nf                232 fs/nfsd/filecache.c nfsd_file_check_write_error(struct nfsd_file *nf)
nf                234 fs/nfsd/filecache.c 	struct file *file = nf->nf_file;
nf                242 fs/nfsd/filecache.c nfsd_file_in_use(struct nfsd_file *nf)
nf                244 fs/nfsd/filecache.c 	return nfsd_file_check_writeback(nf) ||
nf                245 fs/nfsd/filecache.c 			nfsd_file_check_write_error(nf);
nf                249 fs/nfsd/filecache.c nfsd_file_do_unhash(struct nfsd_file *nf)
nf                251 fs/nfsd/filecache.c 	lockdep_assert_held(&nfsd_file_hashtbl[nf->nf_hashval].nfb_lock);
nf                253 fs/nfsd/filecache.c 	trace_nfsd_file_unhash(nf);
nf                255 fs/nfsd/filecache.c 	if (nfsd_file_check_write_error(nf))
nf                256 fs/nfsd/filecache.c 		nfsd_reset_boot_verifier(net_generic(nf->nf_net, nfsd_net_id));
nf                257 fs/nfsd/filecache.c 	--nfsd_file_hashtbl[nf->nf_hashval].nfb_count;
nf                258 fs/nfsd/filecache.c 	hlist_del_rcu(&nf->nf_node);
nf                259 fs/nfsd/filecache.c 	if (!list_empty(&nf->nf_lru))
nf                260 fs/nfsd/filecache.c 		list_lru_del(&nfsd_file_lru, &nf->nf_lru);
nf                265 fs/nfsd/filecache.c nfsd_file_unhash(struct nfsd_file *nf)
nf                267 fs/nfsd/filecache.c 	if (test_and_clear_bit(NFSD_FILE_HASHED, &nf->nf_flags)) {
nf                268 fs/nfsd/filecache.c 		nfsd_file_do_unhash(nf);
nf                278 fs/nfsd/filecache.c nfsd_file_unhash_and_release_locked(struct nfsd_file *nf, struct list_head *dispose)
nf                280 fs/nfsd/filecache.c 	lockdep_assert_held(&nfsd_file_hashtbl[nf->nf_hashval].nfb_lock);
nf                282 fs/nfsd/filecache.c 	trace_nfsd_file_unhash_and_release_locked(nf);
nf                283 fs/nfsd/filecache.c 	if (!nfsd_file_unhash(nf))
nf                286 fs/nfsd/filecache.c 	if (atomic_add_unless(&nf->nf_ref, -1, 1))
nf                289 fs/nfsd/filecache.c 	list_add(&nf->nf_lru, dispose);
nf                294 fs/nfsd/filecache.c nfsd_file_put_noref(struct nfsd_file *nf)
nf                297 fs/nfsd/filecache.c 	trace_nfsd_file_put(nf);
nf                299 fs/nfsd/filecache.c 	count = atomic_dec_return(&nf->nf_ref);
nf                301 fs/nfsd/filecache.c 		WARN_ON(test_bit(NFSD_FILE_HASHED, &nf->nf_flags));
nf                302 fs/nfsd/filecache.c 		nfsd_file_free(nf);
nf                308 fs/nfsd/filecache.c nfsd_file_put(struct nfsd_file *nf)
nf                310 fs/nfsd/filecache.c 	bool is_hashed = test_bit(NFSD_FILE_HASHED, &nf->nf_flags) != 0;
nf                311 fs/nfsd/filecache.c 	bool unused = !nfsd_file_in_use(nf);
nf                313 fs/nfsd/filecache.c 	set_bit(NFSD_FILE_REFERENCED, &nf->nf_flags);
nf                314 fs/nfsd/filecache.c 	if (nfsd_file_put_noref(nf) == 1 && is_hashed && unused)
nf                319 fs/nfsd/filecache.c nfsd_file_get(struct nfsd_file *nf)
nf                321 fs/nfsd/filecache.c 	if (likely(atomic_inc_not_zero(&nf->nf_ref)))
nf                322 fs/nfsd/filecache.c 		return nf;
nf                329 fs/nfsd/filecache.c 	struct nfsd_file *nf;
nf                332 fs/nfsd/filecache.c 		nf = list_first_entry(dispose, struct nfsd_file, nf_lru);
nf                333 fs/nfsd/filecache.c 		list_del(&nf->nf_lru);
nf                334 fs/nfsd/filecache.c 		nfsd_file_put_noref(nf);
nf                342 fs/nfsd/filecache.c 	struct nfsd_file *nf;
nf                345 fs/nfsd/filecache.c 		nf = list_first_entry(dispose, struct nfsd_file, nf_lru);
nf                346 fs/nfsd/filecache.c 		list_del(&nf->nf_lru);
nf                347 fs/nfsd/filecache.c 		if (!atomic_dec_and_test(&nf->nf_ref))
nf                349 fs/nfsd/filecache.c 		if (nfsd_file_free(nf))
nf                366 fs/nfsd/filecache.c 	struct nfsd_file *nf = list_entry(item, struct nfsd_file, nf_lru);
nf                378 fs/nfsd/filecache.c 	if (atomic_read(&nf->nf_ref) > 1)
nf                385 fs/nfsd/filecache.c 	if (nfsd_file_check_writeback(nf))
nf                388 fs/nfsd/filecache.c 	if (test_and_clear_bit(NFSD_FILE_REFERENCED, &nf->nf_flags))
nf                391 fs/nfsd/filecache.c 	if (!test_and_clear_bit(NFSD_FILE_HASHED, &nf->nf_flags))
nf                394 fs/nfsd/filecache.c 	list_lru_isolate_move(lru, &nf->nf_lru, head);
nf                406 fs/nfsd/filecache.c 		struct nfsd_file *nf = list_first_entry(head,
nf                408 fs/nfsd/filecache.c 		list_del_init(&nf->nf_lru);
nf                409 fs/nfsd/filecache.c 		spin_lock(&nfsd_file_hashtbl[nf->nf_hashval].nfb_lock);
nf                410 fs/nfsd/filecache.c 		nfsd_file_do_unhash(nf);
nf                411 fs/nfsd/filecache.c 		spin_unlock(&nfsd_file_hashtbl[nf->nf_hashval].nfb_lock);
nf                412 fs/nfsd/filecache.c 		nfsd_file_put_noref(nf);
nf                443 fs/nfsd/filecache.c 	struct nfsd_file	*nf;
nf                447 fs/nfsd/filecache.c 	hlist_for_each_entry_safe(nf, tmp, &nfsd_file_hashtbl[hashval].nfb_head, nf_node) {
nf                448 fs/nfsd/filecache.c 		if (inode == nf->nf_inode)
nf                449 fs/nfsd/filecache.c 			nfsd_file_unhash_and_release_locked(nf, dispose);
nf                657 fs/nfsd/filecache.c 	struct nfsd_file	*nf;
nf                669 fs/nfsd/filecache.c 		hlist_for_each_entry_safe(nf, next, &nfb->nfb_head, nf_node) {
nf                670 fs/nfsd/filecache.c 			if (net && nf->nf_net != net)
nf                672 fs/nfsd/filecache.c 			del = nfsd_file_unhash_and_release_locked(nf, &dispose);
nf                737 fs/nfsd/filecache.c 	struct nfsd_file *nf;
nf                740 fs/nfsd/filecache.c 	hlist_for_each_entry_rcu(nf, &nfsd_file_hashtbl[hashval].nfb_head,
nf                742 fs/nfsd/filecache.c 		if ((need & nf->nf_may) != need)
nf                744 fs/nfsd/filecache.c 		if (nf->nf_inode != inode)
nf                746 fs/nfsd/filecache.c 		if (nf->nf_net != net)
nf                748 fs/nfsd/filecache.c 		if (!nfsd_match_cred(nf->nf_cred, current_cred()))
nf                750 fs/nfsd/filecache.c 		if (nfsd_file_get(nf) != NULL)
nf                751 fs/nfsd/filecache.c 			return nf;
nf                767 fs/nfsd/filecache.c 	struct nfsd_file	*nf;
nf                773 fs/nfsd/filecache.c 	hlist_for_each_entry_rcu(nf, &nfsd_file_hashtbl[hashval].nfb_head,
nf                775 fs/nfsd/filecache.c 		if (inode == nf->nf_inode) {
nf                791 fs/nfsd/filecache.c 	struct nfsd_file *nf, *new;
nf                806 fs/nfsd/filecache.c 	nf = nfsd_file_find_locked(inode, may_flags, hashval, net);
nf                808 fs/nfsd/filecache.c 	if (nf)
nf                819 fs/nfsd/filecache.c 	nf = nfsd_file_find_locked(inode, may_flags, hashval, net);
nf                820 fs/nfsd/filecache.c 	if (nf == NULL)
nf                826 fs/nfsd/filecache.c 	wait_on_bit(&nf->nf_flags, NFSD_FILE_PENDING, TASK_UNINTERRUPTIBLE);
nf                829 fs/nfsd/filecache.c 	if (!test_bit(NFSD_FILE_HASHED, &nf->nf_flags)) {
nf                835 fs/nfsd/filecache.c 		nfsd_file_put_noref(nf);
nf                844 fs/nfsd/filecache.c 		if (test_bit(NFSD_FILE_BREAK_READ, &nf->nf_flags) ||
nf                845 fs/nfsd/filecache.c 		    (test_bit(NFSD_FILE_BREAK_WRITE, &nf->nf_flags) && write)) {
nf                847 fs/nfsd/filecache.c 					file_inode(nf->nf_file), may_flags));
nf                849 fs/nfsd/filecache.c 				clear_bit(NFSD_FILE_BREAK_READ, &nf->nf_flags);
nf                852 fs/nfsd/filecache.c 						  &nf->nf_flags);
nf                858 fs/nfsd/filecache.c 		*pnf = nf;
nf                860 fs/nfsd/filecache.c 		nfsd_file_put(nf);
nf                861 fs/nfsd/filecache.c 		nf = NULL;
nf                864 fs/nfsd/filecache.c 	trace_nfsd_file_acquire(rqstp, hashval, inode, may_flags, nf, status);
nf                867 fs/nfsd/filecache.c 	nf = new;
nf                869 fs/nfsd/filecache.c 	atomic_inc(&nf->nf_ref);
nf                870 fs/nfsd/filecache.c 	__set_bit(NFSD_FILE_HASHED, &nf->nf_flags);
nf                871 fs/nfsd/filecache.c 	__set_bit(NFSD_FILE_PENDING, &nf->nf_flags);
nf                872 fs/nfsd/filecache.c 	list_lru_add(&nfsd_file_lru, &nf->nf_lru);
nf                873 fs/nfsd/filecache.c 	hlist_add_head_rcu(&nf->nf_node, &nfsd_file_hashtbl[hashval].nfb_head);
nf                880 fs/nfsd/filecache.c 	nf->nf_mark = nfsd_file_mark_find_or_create(nf);
nf                881 fs/nfsd/filecache.c 	if (nf->nf_mark)
nf                883 fs/nfsd/filecache.c 				may_flags, &nf->nf_file);
nf                893 fs/nfsd/filecache.c 		do_free = nfsd_file_unhash(nf);
nf                896 fs/nfsd/filecache.c 			nfsd_file_put_noref(nf);
nf                898 fs/nfsd/filecache.c 	clear_bit_unlock(NFSD_FILE_PENDING, &nf->nf_flags);
nf                900 fs/nfsd/filecache.c 	wake_up_bit(&nf->nf_flags, NFSD_FILE_PENDING);
nf                 54 fs/nfsd/filecache.h void nfsd_file_put(struct nfsd_file *nf);
nf                 55 fs/nfsd/filecache.h struct nfsd_file *nfsd_file_get(struct nfsd_file *nf);
nf                990 fs/nfsd/nfs4proc.c 	struct nfsd_file *nf = NULL;
nf               1002 fs/nfsd/nfs4proc.c 						stateid, WR_STATE, &nf);
nf               1015 fs/nfsd/nfs4proc.c 	status = nfsd_vfs_write(rqstp, &cstate->current_fh, nf->nf_file,
nf               1018 fs/nfsd/nfs4proc.c 	nfsd_file_put(nf);
nf               1347 fs/nfsd/nfs4proc.c 	struct nfsd_file *nf;
nf               1351 fs/nfsd/nfs4proc.c 					    WR_STATE, &nf);
nf               1357 fs/nfsd/nfs4proc.c 	status = nfsd4_vfs_fallocate(rqstp, &cstate->current_fh, nf->nf_file,
nf               1361 fs/nfsd/nfs4proc.c 	nfsd_file_put(nf);
nf               1406 fs/nfsd/nfs4proc.c 	struct nfsd_file *nf;
nf               1410 fs/nfsd/nfs4proc.c 					    RD_STATE, &nf);
nf               1432 fs/nfsd/nfs4proc.c 	seek->seek_pos = vfs_llseek(nf->nf_file, seek->seek_offset, whence);
nf               1435 fs/nfsd/nfs4proc.c 	else if (seek->seek_pos >= i_size_read(file_inode(nf->nf_file)))
nf               1439 fs/nfsd/nfs4proc.c 	nfsd_file_put(nf);
nf                940 fs/nfsd/nfs4state.c 	struct nfsd_file *nf = NULL;
nf                944 fs/nfsd/nfs4state.c 		swap(nf, fp->fi_deleg_file);
nf                947 fs/nfsd/nfs4state.c 	if (nf)
nf                948 fs/nfsd/nfs4state.c 		nfsd_file_put(nf);
nf                954 fs/nfsd/nfs4state.c 	struct nfsd_file *nf = fp->fi_deleg_file;
nf                958 fs/nfsd/nfs4state.c 	vfs_setlease(nf->nf_file, F_UNLCK, NULL, (void **)&dp);
nf               1296 fs/nfsd/nfs4state.c 	struct nfsd_file *nf;
nf               1298 fs/nfsd/nfs4state.c 	nf = find_any_file(stp->st_stid.sc_file);
nf               1299 fs/nfsd/nfs4state.c 	if (nf) {
nf               1300 fs/nfsd/nfs4state.c 		get_file(nf->nf_file);
nf               1301 fs/nfsd/nfs4state.c 		filp_close(nf->nf_file, (fl_owner_t)lo);
nf               1302 fs/nfsd/nfs4state.c 		nfsd_file_put(nf);
nf               2370 fs/nfsd/nfs4state.c 	struct nfs4_file *nf;
nf               2379 fs/nfsd/nfs4state.c 	nf = st->sc_file;
nf               2380 fs/nfsd/nfs4state.c 	file = find_any_file(nf);
nf               2406 fs/nfsd/nfs4state.c 	struct nfs4_file *nf;
nf               2412 fs/nfsd/nfs4state.c 	nf = st->sc_file;
nf               2413 fs/nfsd/nfs4state.c 	file = find_any_file(nf);
nf               2437 fs/nfsd/nfs4state.c 	struct nfs4_file *nf;
nf               2441 fs/nfsd/nfs4state.c 	nf = st->sc_file;
nf               2442 fs/nfsd/nfs4state.c 	file = nf->fi_deleg_file;
nf               4684 fs/nfsd/nfs4state.c 	struct nfsd_file *nf = NULL;
nf               4720 fs/nfsd/nfs4state.c 		status = nfsd_file_acquire(rqstp, cur_fh, access, &nf);
nf               4725 fs/nfsd/nfs4state.c 			fp->fi_fds[oflag] = nf;
nf               4726 fs/nfsd/nfs4state.c 			nf = NULL;
nf               4730 fs/nfsd/nfs4state.c 	if (nf)
nf               4731 fs/nfsd/nfs4state.c 		nfsd_file_put(nf);
nf               4810 fs/nfsd/nfs4state.c 	struct nfsd_file *nf;
nf               4821 fs/nfsd/nfs4state.c 	nf = find_readable_file(fp);
nf               4822 fs/nfsd/nfs4state.c 	if (!nf) {
nf               4832 fs/nfsd/nfs4state.c 		fp->fi_deleg_file = nf;
nf               4836 fs/nfsd/nfs4state.c 		nf = NULL;
nf               4841 fs/nfsd/nfs4state.c 	if (nf)
nf               4842 fs/nfsd/nfs4state.c 		nfsd_file_put(nf);
nf               5585 fs/nfsd/nfs4state.c 	struct nfsd_file *nf;
nf               5588 fs/nfsd/nfs4state.c 	nf = nfs4_find_file(s, flags);
nf               5589 fs/nfsd/nfs4state.c 	if (nf) {
nf               5593 fs/nfsd/nfs4state.c 			nfsd_file_put(nf);
nf               5597 fs/nfsd/nfs4state.c 		status = nfsd_file_acquire(rqstp, fhp, acc, &nf);
nf               5601 fs/nfsd/nfs4state.c 	*nfp = nf;
nf               6419 fs/nfsd/nfs4state.c 	struct nfsd_file *nf = NULL;
nf               6501 fs/nfsd/nfs4state.c 			nf = find_readable_file_locked(fp);
nf               6502 fs/nfsd/nfs4state.c 			if (nf)
nf               6513 fs/nfsd/nfs4state.c 			nf = find_writeable_file_locked(fp);
nf               6514 fs/nfsd/nfs4state.c 			if (nf)
nf               6524 fs/nfsd/nfs4state.c 	if (!nf) {
nf               6540 fs/nfsd/nfs4state.c 	file_lock->fl_file = nf->nf_file;
nf               6562 fs/nfsd/nfs4state.c 	err = vfs_lock_file(nf->nf_file, F_SETLK, file_lock, conflock);
nf               6597 fs/nfsd/nfs4state.c 	if (nf)
nf               6598 fs/nfsd/nfs4state.c 		nfsd_file_put(nf);
nf               6633 fs/nfsd/nfs4state.c 	struct nfsd_file *nf;
nf               6634 fs/nfsd/nfs4state.c 	__be32 err = nfsd_file_acquire(rqstp, fhp, NFSD_MAY_READ, &nf);
nf               6636 fs/nfsd/nfs4state.c 		err = nfserrno(vfs_test_lock(nf->nf_file, lock));
nf               6637 fs/nfsd/nfs4state.c 		nfsd_file_put(nf);
nf               6725 fs/nfsd/nfs4state.c 	struct nfsd_file *nf = NULL;
nf               6743 fs/nfsd/nfs4state.c 	nf = find_any_file(stp->st_stid.sc_file);
nf               6744 fs/nfsd/nfs4state.c 	if (!nf) {
nf               6758 fs/nfsd/nfs4state.c 	file_lock->fl_file = nf->nf_file;
nf               6767 fs/nfsd/nfs4state.c 	err = vfs_lock_file(nf->nf_file, F_SETLK, file_lock, NULL);
nf               6774 fs/nfsd/nfs4state.c 	nfsd_file_put(nf);
nf               6799 fs/nfsd/nfs4state.c 	struct nfsd_file *nf = find_any_file(fp);
nf               6803 fs/nfsd/nfs4state.c 	if (!nf) {
nf               6809 fs/nfsd/nfs4state.c 	inode = locks_inode(nf->nf_file);
nf               6822 fs/nfsd/nfs4state.c 	nfsd_file_put(nf);
nf                185 fs/nfsd/trace.h 	TP_PROTO(struct nfsd_file *nf),
nf                186 fs/nfsd/trace.h 	TP_ARGS(nf),
nf                196 fs/nfsd/trace.h 		__entry->nf_hashval = nf->nf_hashval;
nf                197 fs/nfsd/trace.h 		__entry->nf_inode = nf->nf_inode;
nf                198 fs/nfsd/trace.h 		__entry->nf_ref = atomic_read(&nf->nf_ref);
nf                199 fs/nfsd/trace.h 		__entry->nf_flags = nf->nf_flags;
nf                200 fs/nfsd/trace.h 		__entry->nf_may = nf->nf_may;
nf                201 fs/nfsd/trace.h 		__entry->nf_file = nf->nf_file;
nf                214 fs/nfsd/trace.h 	TP_PROTO(struct nfsd_file *nf), \
nf                215 fs/nfsd/trace.h 	TP_ARGS(nf))
nf                226 fs/nfsd/trace.h 		 struct nfsd_file *nf, __be32 status),
nf                228 fs/nfsd/trace.h 	TP_ARGS(rqstp, hash, inode, may_flags, nf, status),
nf                247 fs/nfsd/trace.h 		__entry->nf_ref = nf ? atomic_read(&nf->nf_ref) : 0;
nf                248 fs/nfsd/trace.h 		__entry->nf_flags = nf ? nf->nf_flags : 0;
nf                249 fs/nfsd/trace.h 		__entry->nf_may = nf ? nf->nf_may : 0;
nf                250 fs/nfsd/trace.h 		__entry->nf_file = nf ? nf->nf_file : NULL;
nf               1020 fs/nfsd/vfs.c  	struct nfsd_file	*nf;
nf               1025 fs/nfsd/vfs.c  	err = nfsd_file_acquire(rqstp, fhp, NFSD_MAY_READ, &nf);
nf               1029 fs/nfsd/vfs.c  	file = nf->nf_file;
nf               1035 fs/nfsd/vfs.c  	nfsd_file_put(nf);
nf               1051 fs/nfsd/vfs.c  	struct nfsd_file *nf;
nf               1056 fs/nfsd/vfs.c  	err = nfsd_file_acquire(rqstp, fhp, NFSD_MAY_WRITE, &nf);
nf               1060 fs/nfsd/vfs.c  	err = nfsd_vfs_write(rqstp, fhp, nf->nf_file, offset, vec,
nf               1062 fs/nfsd/vfs.c  	nfsd_file_put(nf);
nf               1082 fs/nfsd/vfs.c  	struct nfsd_file	*nf;
nf               1095 fs/nfsd/vfs.c  			NFSD_MAY_WRITE|NFSD_MAY_NOT_BREAK_LEASE, &nf);
nf               1099 fs/nfsd/vfs.c  		int err2 = vfs_fsync_range(nf->nf_file, offset, end, 0);
nf               1109 fs/nfsd/vfs.c  			nfsd_reset_boot_verifier(net_generic(nf->nf_net,
nf               1114 fs/nfsd/vfs.c  	nfsd_file_put(nf);
nf                 95 include/linux/fs_parser.h #define lookup_constant(t, n, nf) __lookup_constant(t, ARRAY_SIZE(t), (n), (nf))
nf                227 include/linux/netfilter.h 		hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]);
nf                230 include/linux/netfilter.h 		hook_head = rcu_dereference(net->nf.hooks_ipv6[hook]);
nf                234 include/linux/netfilter.h 		if (WARN_ON_ONCE(hook >= ARRAY_SIZE(net->nf.hooks_arp)))
nf                236 include/linux/netfilter.h 		hook_head = rcu_dereference(net->nf.hooks_arp[hook]);
nf                241 include/linux/netfilter.h 		hook_head = rcu_dereference(net->nf.hooks_bridge[hook]);
nf                246 include/linux/netfilter.h 		hook_head = rcu_dereference(net->nf.hooks_decnet[hook]);
nf                136 include/net/net_namespace.h 	struct netns_nf		nf;
nf                665 include/uapi/linux/omap3isp.h 	struct omap3isp_prev_nf __user *nf;
nf                214 net/bridge/br_input.c 	e = rcu_dereference(net->nf.hooks_bridge[NF_BR_PRE_ROUTING]);
nf               1008 net/bridge/br_netfilter_hooks.c 	e = rcu_dereference(net->nf.hooks_bridge[hook]);
nf                109 net/ipv4/netfilter/nf_defrag_ipv4.c 	if (net->nf.defrag_ipv4) {
nf                112 net/ipv4/netfilter/nf_defrag_ipv4.c 		net->nf.defrag_ipv4 = false;
nf                136 net/ipv4/netfilter/nf_defrag_ipv4.c 	if (net->nf.defrag_ipv4)
nf                140 net/ipv4/netfilter/nf_defrag_ipv4.c 	if (net->nf.defrag_ipv4)
nf                146 net/ipv4/netfilter/nf_defrag_ipv4.c 		net->nf.defrag_ipv4 = true;
nf                 92 net/ipv6/netfilter/nf_defrag_ipv6_hooks.c 	if (net->nf.defrag_ipv6) {
nf                 95 net/ipv6/netfilter/nf_defrag_ipv6_hooks.c 		net->nf.defrag_ipv6 = false;
nf                137 net/ipv6/netfilter/nf_defrag_ipv6_hooks.c 	if (net->nf.defrag_ipv6)
nf                141 net/ipv6/netfilter/nf_defrag_ipv6_hooks.c 	if (net->nf.defrag_ipv6)
nf                147 net/ipv6/netfilter/nf_defrag_ipv6_hooks.c 		net->nf.defrag_ipv6 = true;
nf                275 net/netfilter/core.c 		if (WARN_ON_ONCE(ARRAY_SIZE(net->nf.hooks_arp) <= hooknum))
nf                277 net/netfilter/core.c 		return net->nf.hooks_arp + hooknum;
nf                281 net/netfilter/core.c 		if (WARN_ON_ONCE(ARRAY_SIZE(net->nf.hooks_bridge) <= hooknum))
nf                283 net/netfilter/core.c 		return net->nf.hooks_bridge + hooknum;
nf                286 net/netfilter/core.c 		if (WARN_ON_ONCE(ARRAY_SIZE(net->nf.hooks_ipv4) <= hooknum))
nf                288 net/netfilter/core.c 		return net->nf.hooks_ipv4 + hooknum;
nf                290 net/netfilter/core.c 		if (WARN_ON_ONCE(ARRAY_SIZE(net->nf.hooks_ipv6) <= hooknum))
nf                292 net/netfilter/core.c 		return net->nf.hooks_ipv6 + hooknum;
nf                295 net/netfilter/core.c 		if (WARN_ON_ONCE(ARRAY_SIZE(net->nf.hooks_decnet) <= hooknum))
nf                297 net/netfilter/core.c 		return net->nf.hooks_decnet + hooknum;
nf                619 net/netfilter/core.c 	__netfilter_net_init(net->nf.hooks_ipv4, ARRAY_SIZE(net->nf.hooks_ipv4));
nf                620 net/netfilter/core.c 	__netfilter_net_init(net->nf.hooks_ipv6, ARRAY_SIZE(net->nf.hooks_ipv6));
nf                622 net/netfilter/core.c 	__netfilter_net_init(net->nf.hooks_arp, ARRAY_SIZE(net->nf.hooks_arp));
nf                625 net/netfilter/core.c 	__netfilter_net_init(net->nf.hooks_bridge, ARRAY_SIZE(net->nf.hooks_bridge));
nf                628 net/netfilter/core.c 	__netfilter_net_init(net->nf.hooks_decnet, ARRAY_SIZE(net->nf.hooks_decnet));
nf                632 net/netfilter/core.c 	net->nf.proc_netfilter = proc_net_mkdir(net, "netfilter",
nf                634 net/netfilter/core.c 	if (!net->nf.proc_netfilter) {
nf                 49 net/netfilter/nf_log.c 	if (pf == NFPROTO_UNSPEC || pf >= ARRAY_SIZE(net->nf.nf_loggers))
nf                 53 net/netfilter/nf_log.c 	log = nft_log_dereference(net->nf.nf_loggers[pf]);
nf                 55 net/netfilter/nf_log.c 		rcu_assign_pointer(net->nf.nf_loggers[pf], logger);
nf                 70 net/netfilter/nf_log.c 		log = nft_log_dereference(net->nf.nf_loggers[i]);
nf                 72 net/netfilter/nf_log.c 			RCU_INIT_POINTER(net->nf.nf_loggers[i], NULL);
nf                 84 net/netfilter/nf_log.c 	if (pf >= ARRAY_SIZE(init_net.nf.nf_loggers))
nf                131 net/netfilter/nf_log.c 	if (pf >= ARRAY_SIZE(net->nf.nf_loggers))
nf                138 net/netfilter/nf_log.c 	rcu_assign_pointer(net->nf.nf_loggers[pf], logger);
nf                146 net/netfilter/nf_log.c 	if (pf >= ARRAY_SIZE(net->nf.nf_loggers))
nf                149 net/netfilter/nf_log.c 	RCU_INIT_POINTER(net->nf.nf_loggers[pf], NULL);
nf                232 net/netfilter/nf_log.c 		logger = rcu_dereference(net->nf.nf_loggers[pf]);
nf                257 net/netfilter/nf_log.c 	logger = rcu_dereference(net->nf.nf_loggers[pf]);
nf                332 net/netfilter/nf_log.c 	if (*pos >= ARRAY_SIZE(net->nf.nf_loggers))
nf                344 net/netfilter/nf_log.c 	if (*pos >= ARRAY_SIZE(net->nf.nf_loggers))
nf                362 net/netfilter/nf_log.c 	logger = nft_log_dereference(net->nf.nf_loggers[*pos]);
nf                447 net/netfilter/nf_log.c 		rcu_assign_pointer(net->nf.nf_loggers[tindex], logger);
nf                454 net/netfilter/nf_log.c 		logger = nft_log_dereference(net->nf.nf_loggers[tindex]);
nf                500 net/netfilter/nf_log.c 	net->nf.nf_log_dir_header = register_net_sysctl(net,
nf                503 net/netfilter/nf_log.c 	if (!net->nf.nf_log_dir_header)
nf                522 net/netfilter/nf_log.c 	table = net->nf.nf_log_dir_header->ctl_table_arg;
nf                523 net/netfilter/nf_log.c 	unregister_net_sysctl_table(net->nf.nf_log_dir_header);
nf                545 net/netfilter/nf_log.c 	if (!proc_create_net("nf_log", 0444, net->nf.proc_netfilter,
nf                557 net/netfilter/nf_log.c 	remove_proc_entry("nf_log", net->nf.proc_netfilter);
nf                566 net/netfilter/nf_log.c 	remove_proc_entry("nf_log", net->nf.proc_netfilter);
nf                 37 net/netfilter/nf_queue.c 	WARN_ON(rcu_access_pointer(net->nf.queue_handler));
nf                 38 net/netfilter/nf_queue.c 	rcu_assign_pointer(net->nf.queue_handler, qh);
nf                 45 net/netfilter/nf_queue.c 	RCU_INIT_POINTER(net->nf.queue_handler, NULL);
nf                122 net/netfilter/nf_queue.c 	qh = rcu_dereference(net->nf.queue_handler);
nf                168 net/netfilter/nf_queue.c 	qh = rcu_dereference(net->nf.queue_handler);
nf                277 net/netfilter/nf_queue.c 		return rcu_dereference(net->nf.hooks_bridge[hooknum]);
nf                280 net/netfilter/nf_queue.c 		return rcu_dereference(net->nf.hooks_ipv4[hooknum]);
nf                282 net/netfilter/nf_queue.c 		return rcu_dereference(net->nf.hooks_ipv6[hooknum]);
nf               7690 net/netfilter/nf_tables_api.c 	struct nft_flowtable *flowtable, *nf;
nf               7716 net/netfilter/nf_tables_api.c 		list_for_each_entry_safe(flowtable, nf, &table->flowtables, list) {
nf               1118 net/netfilter/nfnetlink_log.c 	proc = proc_create_net("nfnetlink_log", 0440, net->nf.proc_netfilter,
nf               1137 net/netfilter/nfnetlink_log.c 	remove_proc_entry("nfnetlink_log", net->nf.proc_netfilter);
nf               1506 net/netfilter/nfnetlink_queue.c 	if (!proc_create_net("nfnetlink_queue", 0440, net->nf.proc_netfilter,
nf               1521 net/netfilter/nfnetlink_queue.c 	remove_proc_entry("nfnetlink_queue", net->nf.proc_netfilter);
nf                317 net/sched/cls_route.c 	struct route4_filter *nf;
nf                329 net/sched/cls_route.c 	for (nf = rtnl_dereference(*fp); nf;
nf                330 net/sched/cls_route.c 	     fp = &nf->next, nf = rtnl_dereference(*fp)) {
nf                331 net/sched/cls_route.c 		if (nf == f) {
nf                659 net/sched/sch_fq.c 	struct fq_flow *of, *nf;
nf                680 net/sched/sch_fq.c 				nf = rb_entry(parent, struct fq_flow, fq_node);
nf                681 net/sched/sch_fq.c 				BUG_ON(nf->sk == of->sk);
nf                683 net/sched/sch_fq.c 				if (nf->sk > of->sk)