Searched refs:n2 (Results 1 - 85 of 85) sorted by relevance

/linux-4.1.27/arch/s390/include/asm/
H A Dcmpxchg.h37 #define __cmpxchg_double_op(p1, p2, o1, o2, n1, n2, insn) \
42 register __typeof__(*(p2)) __new2 asm("5") = (n2); \
55 #define __cmpxchg_double_4(p1, p2, o1, o2, n1, n2) \
56 __cmpxchg_double_op(p1, p2, o1, o2, n1, n2, "cds")
58 #define __cmpxchg_double_8(p1, p2, o1, o2, n1, n2) \
59 __cmpxchg_double_op(p1, p2, o1, o2, n1, n2, "cdsg")
63 #define __cmpxchg_double(p1, p2, o1, o2, n1, n2) \
68 __ret = __cmpxchg_double_4(p1, p2, o1, o2, n1, n2); \
71 __ret = __cmpxchg_double_8(p1, p2, o1, o2, n1, n2); \
79 #define cmpxchg_double(p1, p2, o1, o2, n1, n2) \
86 __cmpxchg_double_8(__p1, __p2, o1, o2, n1, n2); \
H A Dpercpu.h166 #define arch_this_cpu_cmpxchg_double(pcp1, pcp2, o1, o2, n1, n2) \
169 typeof(pcp2) o2__ = (o2), n2__ = (n2); \
/linux-4.1.27/drivers/char/hw_random/
H A DMakefile13 obj-$(CONFIG_HW_RANDOM_N2RNG) += n2-rng.o
14 n2-rng-y := n2-drv.o n2-asm.o
H A Dn2-drv.c0 /* n2-drv.c: Niagara-2 RNG driver.
734 .compatible = "SUNW,n2-rng",
/linux-4.1.27/security/selinux/ss/
H A Debitmap.c29 struct ebitmap_node *n1, *n2; ebitmap_cmp() local
35 n2 = e2->node; ebitmap_cmp()
36 while (n1 && n2 && ebitmap_cmp()
37 (n1->startbit == n2->startbit) && ebitmap_cmp()
38 !memcmp(n1->maps, n2->maps, EBITMAP_SIZE / 8)) { ebitmap_cmp()
40 n2 = n2->next; ebitmap_cmp()
43 if (n1 || n2) ebitmap_cmp()
200 struct ebitmap_node *n1, *n2; ebitmap_contains() local
207 n2 = e2->node; ebitmap_contains()
209 while (n1 && n2 && (n1->startbit <= n2->startbit)) { ebitmap_contains()
210 if (n1->startbit < n2->startbit) { ebitmap_contains()
214 for (i = EBITMAP_UNIT_NUMS - 1; (i >= 0) && !n2->maps[i]; ) ebitmap_contains()
217 u32 lastsetbit = n2->startbit + i * EBITMAP_UNIT_SIZE + ebitmap_contains()
218 __fls(n2->maps[i]); ebitmap_contains()
224 if ((n1->maps[i] & n2->maps[i]) != n2->maps[i]) ebitmap_contains()
230 n2 = n2->next; ebitmap_contains()
233 if (n2) ebitmap_contains()
/linux-4.1.27/arch/powerpc/math-emu/
H A Dudivmodti4.c90 _FP_W_TYPE n2; _fp_udivmodti4()
97 n2 = n1 >> b; _fp_udivmodti4()
101 udiv_qrnnd (q1, n1, n2, n1, d0); _fp_udivmodti4()
158 _FP_W_TYPE m1, m0, n2; _fp_udivmodti4() local
166 n2 = n1 >> b; _fp_udivmodti4()
170 udiv_qrnnd (q0, n1, n2, n1, d1); _fp_udivmodti4()
/linux-4.1.27/arch/arm64/include/asm/
H A Dcmpxchg.h231 #define cmpxchg_double(ptr1, ptr2, o1, o2, n1, n2) \
236 (unsigned long)(n2), sizeof(*(ptr1)));\
240 #define cmpxchg_double_local(ptr1, ptr2, o1, o2, n1, n2) \
245 (unsigned long)(n2), sizeof(*(ptr1)));\
263 #define this_cpu_cmpxchg_double_8(ptr1, ptr2, o1, o2, n1, n2) \
269 o1, o2, n1, n2); \
/linux-4.1.27/net/lapb/
H A Dlapb_timer.c106 if (lapb->n2count == lapb->n2) { lapb_t1timer_expiry()
130 if (lapb->n2count == lapb->n2) { lapb_t1timer_expiry()
147 if (lapb->n2count == lapb->n2) { lapb_t1timer_expiry()
165 if (lapb->n2count == lapb->n2) { lapb_t1timer_expiry()
H A Dlapb_iface.c135 lapb->n2 = LAPB_DEFAULT_N2; lapb_create_cb()
211 parms->n2 = lapb->n2; lapb_getparms()
243 if (parms->t1 < 1 || parms->t2 < 1 || parms->n2 < 1) lapb_setparms()
260 lapb->n2 = parms->n2; lapb_setparms()
/linux-4.1.27/include/linux/
H A Dgsmmux.h12 unsigned int n2; member in struct:gsm_config
H A Dlapb.h40 unsigned int n2; member in struct:lapb_parms_struct
/linux-4.1.27/include/uapi/linux/
H A Dax25.h89 unsigned int n2, n2count; member in struct:ax25_info_struct_deprecated
99 unsigned int n2, n2count; member in struct:ax25_info_struct
/linux-4.1.27/lib/mpi/
H A Dmpih-div.c102 mpi_limb_t n1, n0, n2; mpihelp_divrem() local
145 n2 = np[0]; mpihelp_divrem()
147 if (n1 > r || (n1 == r && n0 > n2)) { mpihelp_divrem()
157 sub_ddmmss(n1, n0, r, n2, n1, n0); mpihelp_divrem()
185 mpi_limb_t n1, n2; mpihelp_divrem() local
190 n2 = np[dsize]; mpihelp_divrem()
192 n2 = np[dsize - 1]; mpihelp_divrem()
224 if (n2 != cy_limb) { mpihelp_divrem()
/linux-4.1.27/arch/mips/bcm63xx/
H A Dcpu.c164 unsigned int tmp, n1, n2, m1; detect_cpu_clock() local
169 n2 = (tmp & MIPSPLLCTL_N2_MASK) >> MIPSPLLCTL_N2_SHIFT; detect_cpu_clock()
172 n2 += 2; detect_cpu_clock()
174 return (16 * 1000000 * n1 * n2) / m1; detect_cpu_clock()
179 unsigned int tmp, n1, n2, m1; detect_cpu_clock() local
184 n2 = (tmp & DMIPSPLLCFG_N2_MASK) >> DMIPSPLLCFG_N2_SHIFT; detect_cpu_clock()
186 return (16 * 1000000 * n1 * n2) / m1; detect_cpu_clock()
/linux-4.1.27/net/ax25/
H A Dax25_std_timer.c125 if (ax25->n2count == ax25->n2) { ax25_std_t1timer_expiry()
145 if (ax25->n2count == ax25->n2) { ax25_std_t1timer_expiry()
162 if (ax25->n2count == ax25->n2) { ax25_std_t1timer_expiry()
H A Dax25_ds_timer.c194 if (ax25->n2count == ax25->n2) { ax25_ds_t1_timeout()
214 if (ax25->n2count == ax25->n2) { ax25_ds_t1_timeout()
224 if (ax25->n2count == ax25->n2) { ax25_ds_t1_timeout()
H A Daf_ax25.c415 ax25->n2 = ax25_ctl.arg; ax25_ctl_ioctl()
456 ax25->n2 = ax25_dev->values[AX25_VALUES_N2]; ax25_fillin_cb_from_dev()
490 ax25->n2 = AX25_DEF_N2; ax25_fillin_cb()
595 ax25->n2 = opt; ax25_setsockopt()
717 val = ax25->n2; ax25_getsockopt()
927 ax25->n2 = oax25->n2; ax25_make_new()
1776 ax25_info.n2 = ax25->n2; ax25_ioctl()
1881 * magic dev src_addr dest_addr,digi1,digi2,.. st vs vr va t1 t1 t2 t2 t3 t3 idle idle n2 n2 rtt window paclen Snd-Q Rcv-Q inode ax25_info_show()
1905 ax25->n2count, ax25->n2, ax25_info_show()
/linux-4.1.27/drivers/isdn/hisax/
H A Ds0box.c39 register u_char n1, n2; readreg() local
48 n2 = (inb_p(padr + 1) >> 3) & 0x17; readreg()
51 return nibtab[n1] | (nibtab[n2] << 4); readreg()
58 register u_char n1, n2; read_fifo() local
68 n2 = (inb_p(padr + 1) >> 3) & 0x17; read_fifo()
69 *(data++) = nibtab[n1] | (nibtab[n2] << 4); read_fifo()
/linux-4.1.27/arch/x86/include/asm/
H A Dcmpxchg.h210 #define __cmpxchg_double(pfx, p1, p2, o1, o2, n1, n2) \
214 __typeof__(*(p2)) __old2 = (o2), __new2 = (n2); \
227 #define cmpxchg_double(p1, p2, o1, o2, n1, n2) \
228 __cmpxchg_double(LOCK_PREFIX, p1, p2, o1, o2, n1, n2)
230 #define cmpxchg_double_local(p1, p2, o1, o2, n1, n2) \
231 __cmpxchg_double(, p1, p2, o1, o2, n1, n2)
H A Dpercpu.h447 #define percpu_cmpxchg8b_double(pcp1, pcp2, o1, o2, n1, n2) \
451 typeof(pcp2) __o2 = (o2), __n2 = (n2); \
491 #define percpu_cmpxchg16b_double(pcp1, pcp2, o1, o2, n1, n2) \
495 typeof(pcp2) __o2 = (o2), __n2 = (n2); \
/linux-4.1.27/net/dccp/ccids/lib/
H A Dpacket_history.c178 static void __one_after_loss(struct tfrc_rx_hist *h, struct sk_buff *skb, u32 n2) __one_after_loss() argument
186 tfrc_rx_hist_entry_from_skb(tfrc_rx_hist_entry(h, 2), skb, n2); __one_after_loss()
192 if (dccp_loss_free(s0, s2, n2)) { __one_after_loss()
201 tfrc_rx_hist_entry_from_skb(tfrc_rx_hist_loss_prev(h), skb, n2); __one_after_loss() local
209 tfrc_rx_hist_entry_from_skb(tfrc_rx_hist_entry(h, 1), skb, n2); __one_after_loss()
247 u64 n2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_ndp; __two_after_loss() local
249 if (dccp_loss_free(s1, s2, n2)) { __two_after_loss()
289 u64 n2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_ndp, __three_after_loss() local
292 if (dccp_loss_free(s1, s2, n2)) { __three_after_loss()
/linux-4.1.27/drivers/clk/pxa/
H A Dclk-pxa25x.c167 unsigned int n2 = N2_clk_mult[(cccr >> 7) & 0x07]; clk_pxa25x_run_get_rate() local
169 return (parent_rate / n2) * 2; clk_pxa25x_run_get_rate()
178 unsigned int l, m, n2, t; clk_pxa25x_cpll_get_rate() local
184 n2 = N2_clk_mult[(cccr >> 7) & 0x07]; clk_pxa25x_cpll_get_rate()
187 return m * l * n2 * parent_rate / 2; clk_pxa25x_cpll_get_rate()
H A Dclk-pxa27x.c153 unsigned int l, L, n2, N; clk_pxa27x_cpll_get_rate() local
161 n2 = (ccsr & CCSR_N2_MASK) >> CCSR_N2_SHIFT; clk_pxa27x_cpll_get_rate()
163 N = (L * n2) / 2; clk_pxa27x_cpll_get_rate()
267 unsigned int n2 = (ccsr & CCSR_N2_MASK) >> CCSR_N2_SHIFT; clk_pxa27x_run_get_rate() local
269 return (parent_rate / n2) * 2; clk_pxa27x_run_get_rate()
/linux-4.1.27/arch/powerpc/platforms/ps3/
H A Drepository.c53 static void _dump_node_name(unsigned int lpar_id, u64 n1, u64 n2, u64 n3, _dump_node_name() argument
58 _dump_field("n2: ", n2, func, line); _dump_node_name()
65 static void _dump_node(unsigned int lpar_id, u64 n1, u64 n2, u64 n3, u64 n4, _dump_node() argument
70 _dump_field("n2: ", n2, func, line); _dump_node()
113 * @n2: Second field of node name. Use zero for 'don't care'.
121 static int read_node(unsigned int lpar_id, u64 n1, u64 n2, u64 n3, u64 n4, read_node() argument
134 result = lv1_read_repository_node(lpar_id, n1, n2, n3, n4, &v1, read_node()
140 dump_node_name(lpar_id, n1, n2, n3, n4); read_node()
144 dump_node(lpar_id, n1, n2, n3, n4, v1, v2); read_node()
1073 static int create_node(u64 n1, u64 n2, u64 n3, u64 n4, u64 v1, u64 v2) create_node() argument
1077 dump_node(0, n1, n2, n3, n4, v1, v2); create_node()
1079 result = lv1_create_repository_node(n1, n2, n3, n4, v1, v2); create_node()
1090 static int delete_node(u64 n1, u64 n2, u64 n3, u64 n4) delete_node() argument
1094 dump_node(0, n1, n2, n3, n4, 0, 0); delete_node()
1096 result = lv1_delete_repository_node(n1, n2, n3, n4); delete_node()
1107 static int write_node(u64 n1, u64 n2, u64 n3, u64 n4, u64 v1, u64 v2) write_node() argument
1111 result = create_node(n1, n2, n3, n4, v1, v2); write_node()
1116 result = lv1_write_repository_node(n1, n2, n3, n4, v1, v2); write_node()
/linux-4.1.27/arch/arm/mach-pxa/
H A Dpxa25x.c68 unsigned int l, L, m, M, n2, N; pxa25x_get_clk_frequency_khz() local
75 n2 = N2_clk_mult[(cccr >> 7) & 0x07]; pxa25x_get_clk_frequency_khz()
79 N = n2 * M / 2; pxa25x_get_clk_frequency_khz()
91 N / 1000000, (N % 1000000) / 10000, n2 / 2, (n2 % 2) * 5, pxa25x_get_clk_frequency_khz()
H A Dpxa27x.c87 unsigned int l, L, m, M, n2, N, S; pxa27x_get_clk_frequency_khz() local
100 n2 = (ccsr>>7) & 0xf; pxa27x_get_clk_frequency_khz()
104 N = (L * n2) / 2; pxa27x_get_clk_frequency_khz()
112 N / 1000000, (N % 1000000)/10000, n2 / 2, (n2 % 2)*5, pxa27x_get_clk_frequency_khz()
/linux-4.1.27/fs/hfs/
H A Dstring.c98 const unsigned char *n1, *n2; hfs_compare_dentry() local
108 n2 = name->name; hfs_compare_dentry()
110 if (caseorder[*n1++] != caseorder[*n2++]) hfs_compare_dentry()
/linux-4.1.27/net/netrom/
H A Dnr_timer.c213 if (nr->n2count == nr->n2) { nr_t1timer_expiry()
224 if (nr->n2count == nr->n2) { nr_t1timer_expiry()
235 if (nr->n2count == nr->n2) { nr_t1timer_expiry()
H A Daf_netrom.c331 nr->n2 = opt; nr_setsockopt()
378 val = nr->n2; nr_getsockopt()
457 nr->n2 = nr_create()
505 nr->n2 = onr->n2; nr_make_new()
1287 "user_addr dest_node src_node dev my your st vs vr va t1 t2 t4 idle n2 wnd Snd-Q Rcv-Q inode\n"); nr_info_show()
1322 nr->n2, nr_info_show()
/linux-4.1.27/fs/hpfs/
H A Dname.c76 const unsigned char *n2, unsigned l2, int last) hpfs_compare_names()
83 unsigned char c2 = upcase(hpfs_sb(s)->sb_cp_table,n2[i]); hpfs_compare_names()
74 hpfs_compare_names(struct super_block *s, const unsigned char *n1, unsigned l1, const unsigned char *n2, unsigned l2, int last) hpfs_compare_names() argument
/linux-4.1.27/include/scsi/
H A Discsi_proto.h45 static inline int iscsi_sna_lt(u32 n1, u32 n2) iscsi_sna_lt() argument
47 return (s32)(n1 - n2) < 0; iscsi_sna_lt()
50 static inline int iscsi_sna_lte(u32 n1, u32 n2) iscsi_sna_lte() argument
52 return (s32)(n1 - n2) <= 0; iscsi_sna_lte()
55 static inline int iscsi_sna_gt(u32 n1, u32 n2) iscsi_sna_gt() argument
57 return (s32)(n1 - n2) > 0; iscsi_sna_gt()
60 static inline int iscsi_sna_gte(u32 n1, u32 n2) iscsi_sna_gte() argument
62 return (s32)(n1 - n2) >= 0; iscsi_sna_gte()
/linux-4.1.27/drivers/md/bcache/
H A Dbtree.c1344 struct bset *n2 = btree_bset_first(new_nodes[i - 1]); btree_gc_coalesce() local
1350 for (k = n2->start; btree_gc_coalesce()
1351 k < bset_bkey_last(n2); btree_gc_coalesce()
1370 if (__set_blocks(n1, n1->keys + n2->keys, btree_gc_coalesce()
1375 keys = n2->keys; btree_gc_coalesce()
1387 n2->start, btree_gc_coalesce()
1388 (void *) bset_bkey_idx(n2, keys) - (void *) n2->start); btree_gc_coalesce()
1393 memmove(n2->start, btree_gc_coalesce()
1394 bset_bkey_idx(n2, keys), btree_gc_coalesce()
1395 (void *) bset_bkey_last(n2) - btree_gc_coalesce()
1396 (void *) bset_bkey_idx(n2, keys)); btree_gc_coalesce()
1398 n2->keys -= keys; btree_gc_coalesce()
1965 struct btree *n1, *n2 = NULL, *n3 = NULL; btree_split() local
1992 n2 = bch_btree_node_alloc(b->c, op, b->level, b->parent); btree_split()
1993 if (IS_ERR(n2)) btree_split()
2003 mutex_lock(&n2->write_lock); btree_split()
2020 btree_bset_first(n2)->keys = btree_bset_first(n1)->keys - keys; btree_split()
2023 memcpy(btree_bset_first(n2)->start, btree_split()
2025 btree_bset_first(n2)->keys * sizeof(uint64_t)); btree_split()
2027 bkey_copy_key(&n2->key, &b->key); btree_split()
2029 bch_keylist_add(&parent_keys, &n2->key); btree_split()
2030 bch_btree_node_write(n2, &cl); btree_split()
2031 mutex_unlock(&n2->write_lock); btree_split()
2032 rw_unlock(true, n2); btree_split()
2076 bkey_put(b->c, &n2->key); btree_split()
2077 btree_node_free(n2); btree_split()
2078 rw_unlock(true, n2); btree_split()
2087 n2 == ERR_PTR(-EAGAIN) || btree_split()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_ddi.c541 unsigned p, n2, r2; member in struct:wrpll_rnp
619 unsigned r2, unsigned n2, unsigned p, wrpll_update_rnp()
627 best->n2 = n2; wrpll_update_rnp()
637 * abs(freq2k - (LC_FREQ_2K * n2/(p * r2))) / wrpll_update_rnp()
648 diff = abs_diff(freq2k * p * r2, LC_FREQ_2K * n2); wrpll_update_rnp()
650 LC_FREQ_2K * best->n2); wrpll_update_rnp()
658 best->n2 = n2; wrpll_update_rnp()
664 best->n2 = n2; wrpll_update_rnp()
667 /* Both are below the limit, so pick the higher n2/(r2*r2) */ wrpll_update_rnp()
668 if (n2 * best->r2 * best->r2 > best->n2 * r2 * r2) { wrpll_update_rnp()
670 best->n2 = n2; wrpll_update_rnp()
897 unsigned p, n2, r2; hsw_ddi_calculate_wrpll() local
936 * VCO_MAX * r2 > n2 * LC_FREQ and hsw_ddi_calculate_wrpll()
937 * VCO_MIN * r2 < n2 * LC_FREQ) hsw_ddi_calculate_wrpll()
939 * Which means the desired boundaries for n2 are: hsw_ddi_calculate_wrpll()
940 * VCO_MIN * r2 / LC_FREQ < n2 < VCO_MAX * r2 / LC_FREQ hsw_ddi_calculate_wrpll()
942 for (n2 = VCO_MIN * r2 / LC_FREQ + 1; hsw_ddi_calculate_wrpll()
943 n2 <= VCO_MAX * r2 / LC_FREQ; hsw_ddi_calculate_wrpll()
944 n2++) { hsw_ddi_calculate_wrpll()
948 r2, n2, p, &best); hsw_ddi_calculate_wrpll()
952 *n2_out = best.n2; hsw_ddi_calculate_wrpll()
966 unsigned p, n2, r2; hsw_ddi_pll_select() local
968 hsw_ddi_calculate_wrpll(clock * 1000, &r2, &n2, &p); hsw_ddi_pll_select()
971 WRPLL_DIVIDER_REFERENCE(r2) | WRPLL_DIVIDER_FEEDBACK(n2) | hsw_ddi_pll_select()
618 wrpll_update_rnp(uint64_t freq2k, unsigned budget, unsigned r2, unsigned n2, unsigned p, struct wrpll_rnp *best) wrpll_update_rnp() argument
/linux-4.1.27/drivers/net/wan/
H A DMakefile29 obj-$(CONFIG_N2) += n2.o
/linux-4.1.27/drivers/media/tuners/
H A Dmc44s803.c221 u32 r1, r2, n1, n2, lo1, lo2, freq, val; mc44s803_set_params() local
234 n2 = (freq - MC44S803_IF2 + 50000) / 100000; mc44s803_set_params()
235 lo2 = ((60 * n2) + (r2 / 2)) / r2; mc44s803_set_params()
257 MC44S803_REG_SM(n2-2, MC44S803_LO2); mc44s803_set_params()
H A Dmt20xx.c72 int n1=1,n2,f; mt2032_spurcheck() local
83 n2=-n1; mt2032_spurcheck()
86 n2--; mt2032_spurcheck()
88 tuner_dbg("spurtest n1=%d n2=%d ftest=%d\n",n1,n2,f); mt2032_spurcheck()
92 } while ( (f>(f2-spectrum_to)) || (n2>-5)); mt2032_spurcheck()
/linux-4.1.27/arch/cris/include/arch-v10/arch/
H A Duaccess.h350 " move.b $r9,[%0+]\n2:\n", \
357 " move.w $r9,[%0+]\n2:\n" COPY, \
374 " move.d $r9,[%0+]\n2:\n" COPY, \
525 " clear.b [%0+]\n2:\n", \
531 " clear.w [%0+]\n2:\n", \
546 " clear.d [%0+]\n2:\n" CLEAR, \
/linux-4.1.27/drivers/video/fbdev/savage/
H A Dsavagefb_driver.c426 unsigned char n1, n2, best_n1=16+2, best_n2=2, best_m=125+2; SavageCalcClock() local
440 for (n2=min_n2; n2<=max_n2; n2++) { SavageCalcClock()
442 m = (freq * n1 * (1 << n2) + HALF_BASE_FREQ) / SavageCalcClock()
448 diff = freq * (1 << n2) * n1 - BASE_FREQ * m; SavageCalcClock()
455 best_n2 = n2; SavageCalcClock()
473 unsigned char n1, n2; common_calc_clock() local
478 for (n2 = min_n2; n2 <= max_n2; n2++) { common_calc_clock()
480 m = (freq * n1 * (1 << n2) + HALF_BASE_FREQ) / common_calc_clock()
486 diff = freq * (1 << n2) * n1 - BASE_FREQ * m; common_calc_clock()
493 best_n2 = n2; common_calc_clock()
1821 unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; savage_init_hw() local
1945 n2 = (n >> 5) & 0x03; savage_init_hw()
1946 par->MCLK = ((1431818 * (m+2)) / (n1+2) / (1 << n2) + 50) / 100; savage_init_hw()
/linux-4.1.27/scripts/genksyms/
H A Dgenksyms.c365 struct string_list *n, *n2; concat_list() local
370 for (n2 = n; n2->next; n2 = n2->next) concat_list()
372 n2->next = start; concat_list()
/linux-4.1.27/arch/powerpc/boot/
H A Dps3.c96 * n2: 7075000000000000 : pu...... ps3_repository_read_rm_size()
/linux-4.1.27/kernel/locking/
H A Drtmutex-debug.c116 printk("\n2) %s/%d is blocked on this lock:\n", debug_rt_mutex_print_deadlock()
/linux-4.1.27/drivers/of/
H A Dunittest.c498 struct device_node *n1, *n2, *n21, *nremove, *parent, *np; of_unittest_changeset() local
503 n2 = __of_node_dup(NULL, "/testcase-data/changeset/n2"); of_unittest_changeset()
504 unittest(n2, "testcase setup failure\n"); of_unittest_changeset()
505 n21 = __of_node_dup(NULL, "%s/%s", "/testcase-data/changeset/n2", "n21"); of_unittest_changeset()
515 n2->parent = parent; of_unittest_changeset()
516 n21->parent = n2; of_unittest_changeset()
517 n2->child = n21; of_unittest_changeset()
523 unittest(!of_changeset_attach_node(&chgset, n2), "fail attach n2\n"); of_unittest_changeset()
534 unittest((np = of_find_node_by_path("/testcase-data/changeset/n2/n21")), of_unittest_changeset()
H A Dresolver.c199 const char *n2 = strrchr(dn2->full_name, '/') ? : "/"; __of_node_name_cmp() local
201 return of_node_cmp(n1, n2); __of_node_name_cmp()
/linux-4.1.27/drivers/ssb/
H A Dmain.c1000 u32 n1, n2, clock, m1, m2, m3, mc; ssb_calc_clock_rate() local
1003 n2 = ((n & SSB_CHIPCO_CLK_N2) >> SSB_CHIPCO_CLK_N2_SHIFT); ssb_calc_clock_rate()
1015 n2 += SSB_CHIPCO_CLK_F5_BIAS; ssb_calc_clock_rate()
1019 n2 += SSB_CHIPCO_CLK_T2_BIAS; ssb_calc_clock_rate()
1021 SSB_WARN_ON(!((n2 >= 5) && (n2 <= 23))); ssb_calc_clock_rate()
1032 clock = SSB_CHIPCO_CLK_BASE2 * n1 * n2; ssb_calc_clock_rate()
1035 clock = SSB_CHIPCO_CLK_BASE1 * n1 * n2; ssb_calc_clock_rate()
/linux-4.1.27/arch/parisc/include/asm/
H A Duaccess.h185 "\n2:\tstw %R2,4(%1)\n\t" \
196 "\n2:\tstw %R2,4(%%sr3,%1)\n\t" \
/linux-4.1.27/fs/ext4/
H A Dindirect.c1326 int n = 0, n2 = 0; ext4_ind_remove_space() local
1337 n2 = ext4_block_to_path(inode, end, offsets2, NULL); ext4_ind_remove_space()
1339 BUG_ON(n > n2); ext4_ind_remove_space()
1341 if ((n == 1) && (n == n2)) { ext4_ind_remove_space()
1346 } else if (n2 > n) { ext4_ind_remove_space()
1396 partial2 = ext4_find_shared(inode, n2, offsets2, chain2, &nr2); ext4_ind_remove_space()
1425 (chain2+n2-1) - partial2); ext4_ind_remove_space()
1433 /* Punch happened within the same level (n == n2) */ ext4_ind_remove_space()
1435 partial2 = ext4_find_shared(inode, n2, offsets2, chain2, &nr2); ext4_ind_remove_space()
1480 int depth2 = (chain2+n2-1) - partial2; ext4_ind_remove_space()
1519 (chain2+n2-1) - partial2); ext4_ind_remove_space()
1531 if (++n >= n2) ext4_ind_remove_space()
1539 if (++n >= n2) ext4_ind_remove_space()
1547 if (++n >= n2) ext4_ind_remove_space()
/linux-4.1.27/security/apparmor/
H A Ddomain.c580 * new_compound_name - create an hname with @n2 appended to @n1
582 * @n2: name to append (NOT NULL)
586 static char *new_compound_name(const char *n1, const char *n2) new_compound_name() argument
588 char *name = kmalloc(strlen(n1) + strlen(n2) + 3, GFP_KERNEL); new_compound_name()
590 sprintf(name, "%s//%s", n1, n2); new_compound_name()
/linux-4.1.27/drivers/crypto/ux500/cryp/
H A Dcryp_core.c109 * nibble 2 (n2) bits 4-7.
117 * Nibble 2 (n2):
139 u8 n2; swap_bits_in_byte() local
151 n2 = ((b & L_SHIFT_4_MASK) << 4) | (b & ~(L_SHIFT_4_MASK << 4)); swap_bits_in_byte()
153 n2 = ((n2 & L_SHIFT_2_MASK) << 2) | (n2 & ~(L_SHIFT_2_MASK << 2)); swap_bits_in_byte()
155 n2 = (n2 & L_SHIFT_1_MASK) << 1; swap_bits_in_byte()
157 return n1 | n2; swap_bits_in_byte()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dgk20a.c161 u32 m, n, n2; gk20a_pllg_calc_mnp() local
217 n2 = ((target_vco_f * m) + (ref_clk_f - 1)) / ref_clk_f; gk20a_pllg_calc_mnp()
222 for (; n <= n2; n++) { gk20a_pllg_calc_mnp()
/linux-4.1.27/tools/perf/scripts/python/
H A Dexport-to-postgresql.py411 n2 = len(long_name)
413 fmt = "!hiqiqi" + str(n1) + "si" + str(n2) + "si" + str(n3) + "s"
414 value = struct.pack(fmt, 5, 8, dso_id, 8, machine_id, n1, short_name, n2, long_name, n3, build_id)
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
H A Dinterval_tree.c106 struct interval_node *n2) node_compare()
108 return extent_compare(&n1->in_extent, &n2->in_extent); node_compare()
112 struct interval_node *n2) node_equal()
114 return extent_equal(&n1->in_extent, &n2->in_extent); node_equal()
105 node_compare(struct interval_node *n1, struct interval_node *n2) node_compare() argument
111 node_equal(struct interval_node *n1, struct interval_node *n2) node_equal() argument
/linux-4.1.27/include/net/
H A Dlapb.h90 unsigned short n2, n2count; member in struct:lapb_cb
H A Dllc_conn.h52 u32 n2; /* max nbr re-tx's for timeout*/ member in struct:llc_sock
H A Dnetrom.h71 unsigned char n2, n2count; member in struct:nr_sock
H A Dax25.h235 unsigned char n2, n2count; member in struct:ax25_cb
/linux-4.1.27/drivers/parisc/
H A Deisa.c23 * by adding the kernel parameter "eisa_irq_edge=n,n2,[...]]", with
24 * n and n2 as the irq levels you want to use.
/linux-4.1.27/net/bluetooth/
H A Dsmp.c241 const u8 n1[16], const u8 n2[16], const u8 a1[7], smp_f5()
258 SMP_DBG("n1 %16phN n2 %16phN", n1, n2); smp_f5()
270 memcpy(m + 16, n2, 16); smp_f5()
294 const u8 n1[16], const u8 n2[16], const u8 r[16], smp_f6()
302 SMP_DBG("n1 %16phN n2 %16phN", n1, n2); smp_f6()
309 memcpy(m + 33, n2, 16); smp_f6()
3442 const u8 n2[16] = { test_f5() local
3456 err = smp_f5(tfm_cmac, w, n1, n2, a1, a2, mackey, ltk); test_f5()
3477 const u8 n2[16] = { test_f6() local
3492 err = smp_f6(tfm_cmac, w, n1, n2, r, io_cap, a1, a2, res); test_f6()
240 smp_f5(struct crypto_hash *tfm_cmac, const u8 w[32], const u8 n1[16], const u8 n2[16], const u8 a1[7], const u8 a2[7], u8 mackey[16], u8 ltk[16]) smp_f5() argument
293 smp_f6(struct crypto_hash *tfm_cmac, const u8 w[16], const u8 n1[16], const u8 n2[16], const u8 r[16], const u8 io_cap[3], const u8 a1[7], const u8 a2[7], u8 res[16]) smp_f6() argument
/linux-4.1.27/drivers/input/
H A Dinput-mt.c85 unsigned int n2 = num_slots * num_slots; input_mt_init_slots() local
86 mt->red = kcalloc(n2, sizeof(*mt->red), GFP_KERNEL); input_mt_init_slots()
/linux-4.1.27/tools/vm/
H A Dslabinfo.c1037 char *n1, *n2; sort_aliases() local
1040 n2 = a2->name; sort_aliases()
1043 n2 = a2->ref; sort_aliases()
1045 if (strcasecmp(n1, n2) > 0) { sort_aliases()
/linux-4.1.27/drivers/tty/
H A Dn_gsm.c260 int n2; /* Retry count */ member in struct:gsm_mux
1383 gsm->cretries = gsm->n2; gsm_control_send()
1512 dlci->retries = gsm->n2; gsm_dlci_begin_open()
1534 dlci->retries = gsm->n2; gsm_dlci_begin_close()
2187 gsm->n2 = N2; gsm_alloc_mux()
2507 if (c->n2 < 3) gsmld_config()
2557 gsm->n2 = c->n2; gsmld_config()
2593 c.n2 = gsm->n2; gsmld_ioctl()
/linux-4.1.27/drivers/crypto/
H A Dn2_core.c1400 snprintf(alg->cra_driver_name, CRYPTO_MAX_ALG_NAME, "%s-n2", tmpl->drv_name); __n2_register_one_cipher()
1444 snprintf(base->cra_driver_name, CRYPTO_MAX_ALG_NAME, "hmac-%s-n2", p->child_alg); __n2_register_one_hmac()
1492 snprintf(base->cra_driver_name, CRYPTO_MAX_ALG_NAME, "%s-n2", tmpl->name); __n2_register_one_ahash()
2195 .compatible = "SUNW,n2-cwq",
2222 .compatible = "SUNW,n2-mau",
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-pko.h209 uint64_t n2:1; member in struct:__anon1996::__anon1997
254 uint64_t n2:1;
/linux-4.1.27/include/linux/ssb/
H A Dssb_driver_chipcommon.h429 #define SSB_CHIPCO_CLK_N2 0x00003F00 /* n2 control */
460 #define SSB_CHIPCO_CLK_T2_BIAS 2 /* n1, n2, m1 & m3 bias */
/linux-4.1.27/include/math-emu/
H A Dop-4.h341 #define umul_ppppmnnn(p3,p2,p1,p0,m,n2,n1,n0) \
347 umul_ppmm(p3,_t,m,n2); \
/linux-4.1.27/net/llc/
H A Dllc_c_ev.c665 return !(llc_sk(sk)->retry_count < llc_sk(sk)->n2); llc_conn_ev_qlfy_retry_cnt_lt_n2()
670 return !(llc_sk(sk)->retry_count >= llc_sk(sk)->n2); llc_conn_ev_qlfy_retry_cnt_gte_n2()
H A Daf_llc.c1049 llc->n2 = opt; llc_ui_setsockopt()
1130 val = llc->n2; break; llc_ui_getsockopt()
H A Dllc_c_ac.c154 if (llc->retry_count > llc->n2) { llc_conn_ac_rst_ind()
H A Dllc_conn.c918 llc->n2 = 2; /* max retransmit */ llc_sk_init()
/linux-4.1.27/drivers/hid/
H A Dwacom_sys.c473 int n1,n2; wacom_are_sibling() local
485 n2 = strrchr(sibling->phys, '.') - sibling->phys; wacom_are_sibling()
486 if (n1 != n2 || n1 <= 0 || n2 <= 0) wacom_are_sibling()
/linux-4.1.27/drivers/media/usb/gspca/
H A Dt613.c592 static const u8 n2[] = sd_init() local
633 reg_w_buf(gspca_dev, n2, sizeof n2); sd_init()
/linux-4.1.27/net/core/
H A Dneighbour.c1191 struct neighbour *n2, *n1 = neigh; neigh_update() local
1203 n2 = NULL; neigh_update()
1205 n2 = dst_neigh_lookup_skb(dst, skb); neigh_update()
1206 if (n2) neigh_update()
1207 n1 = n2; neigh_update()
1210 if (n2) neigh_update()
1211 neigh_release(n2); neigh_update()
/linux-4.1.27/net/mac80211/
H A Dtx.c2583 int i, have_bits = 0, n1, n2; __ieee80211_beacon_add_tim() local
2621 n2 = n1; __ieee80211_beacon_add_tim()
2624 n2 = i; __ieee80211_beacon_add_tim()
2632 skb_put(skb, n2 - n1); __ieee80211_beacon_add_tim()
2633 memcpy(pos, ps->tim + n1, n2 - n1 + 1); __ieee80211_beacon_add_tim()
2635 tim[1] = n2 - n1 + 4; __ieee80211_beacon_add_tim()
/linux-4.1.27/arch/sparc/kernel/
H A Dsetup_64.c376 "ultra3", "blkinit", "n2",
/linux-4.1.27/fs/btrfs/
H A Dbackref.c524 struct list_head *n2; list_for_each() local
530 for (pos2 = pos1->next, n2 = pos2->next; pos2 != head; list_for_each()
531 pos2 = n2, n2 = pos2->next) { list_for_each()
/linux-4.1.27/arch/mips/include/asm/mach-bcm63xx/
H A Dbcm63xx_regs.h401 #define ADSLPLLCTL_VAL(n1, n2, m1ref, m2ref, m1cpu, m1bus, m2bus) \
403 ((n2) << ADSLPLLCTL_N2_SHIFT) | \
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dlustre_lib.h268 * #define IOC_V2 _IOW(g, n2, long)
/linux-4.1.27/drivers/staging/octeon/
H A Dethernet-tx.c280 pko_command.s.n2 = 1; /* Don't pollute L2 with the outgoing packet */ cvm_oct_xmit()
/linux-4.1.27/drivers/md/
H A Draid0.c175 /* taking over a raid10-n2 array */ rdev_for_each()
/linux-4.1.27/drivers/pinctrl/
H A Dcore.c912 struct pinctrl_setting *setting, *n2; pinctrl_free() local
916 list_for_each_entry_safe(setting, n2, &state->settings, node) { pinctrl_free()
/linux-4.1.27/drivers/gpu/drm/i2c/
H A Dtda998x_drv.c1274 dev_info(&client->dev, "found TDA9989 n2"); tda998x_create()
1280 dev_info(&client->dev, "found TDA19989 n2"); tda998x_create()
/linux-4.1.27/mm/
H A Dslub.c1970 struct kmem_cache_node *n = NULL, *n2 = NULL; unfreeze_partials() local
1979 n2 = get_node(s, page_to_nid(page)); unfreeze_partials()
1980 if (n != n2) { unfreeze_partials()
1984 n = n2; unfreeze_partials()
4206 pr_err("\n2. kmalloc-32: Clobber next pointer/next slab 0x34 -> -0x%p\n", resiliency_test()
4229 pr_err("\n2. kmalloc-256: Clobber 50th byte 0x9a->0x%p\n\n", p); resiliency_test()
/linux-4.1.27/drivers/scsi/
H A DNCR53c406a.c238 "Copyright (C) Acculogic, Inc.\r\n2.8M Diskette Extension Bios ver 4.04.03 03/01/1993", 61, 82},};
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/
H A Dcrtc.c159 NV_DEBUG(drm, "vpll: n1 %d n2 %d m1 %d m2 %d log2p %d\n", nv_crtc_calc_state_ext()
/linux-4.1.27/drivers/isdn/i4l/
H A Disdn_tty.c3041 sprintf(rs, "\r\n2"); isdn_tty_cmd_PLUSF()
3299 isdn_tty_at_cout("\r\n2;ADPCM;2;0;(8000)\r\n", isdn_tty_cmd_PLUSV()
/linux-4.1.27/fs/nfsd/
H A Dnfs4state.c1872 static int same_name(const char *n1, const char *n2) same_name() argument
1874 return 0 == memcmp(n1, n2, HEXDIR_LEN); same_name()

Completed in 4854 milliseconds