Home
last modified time | relevance | path

Searched refs:h1 (Results 1 – 32 of 32) sorted by relevance

/linux-4.1.27/net/sched/
Dcls_rsvp.h137 unsigned int h1, h2; in rsvp_classify() local
172 h1 = hash_dst(dst, protocol, tunnelid); in rsvp_classify()
175 for (s = rcu_dereference_bh(head->ht[h1]); s; in rsvp_classify()
231 unsigned int h1 = h & 0xFF; in rsvp_replace() local
234 for (s = rtnl_dereference(head->ht[h1]); s; in rsvp_replace()
257 unsigned int h1 = handle & 0xFF; in rsvp_get() local
263 for (s = rtnl_dereference(head->ht[h1]); s; in rsvp_get()
297 int h1, h2; in rsvp_destroy() local
303 for (h1 = 0; h1 < 256; h1++) { in rsvp_destroy()
304 if (rcu_access_pointer(data->ht[h1])) in rsvp_destroy()
[all …]
Dcls_route.c235 unsigned int h1, h2; in route4_get() local
240 h1 = to_hash(handle); in route4_get()
241 if (h1 > 256) in route4_get()
248 b = rtnl_dereference(head->table[h1]); in route4_get()
283 int h1, h2; in route4_destroy() local
289 for (h1 = 0; h1 <= 256; h1++) { in route4_destroy()
290 if (rcu_access_pointer(head->table[h1])) in route4_destroy()
295 for (h1 = 0; h1 <= 256; h1++) { in route4_destroy()
298 b = rtnl_dereference(head->table[h1]); in route4_destroy()
312 RCU_INIT_POINTER(head->table[h1], NULL); in route4_destroy()
[all …]
/linux-4.1.27/drivers/media/common/saa7146/
Dsaa7146_i2c.c29 int h1, h2; in saa7146_i2c_msg_prepare() local
60 h1 = op_count/3; h2 = op_count%3; in saa7146_i2c_msg_prepare()
61 op[h1] |= cpu_to_le32( (u8)addr << ((3-h2)*8)); in saa7146_i2c_msg_prepare()
62 op[h1] |= cpu_to_le32(SAA7146_I2C_START << ((3-h2)*2)); in saa7146_i2c_msg_prepare()
68 h1 = op_count/3; h2 = op_count%3; in saa7146_i2c_msg_prepare()
69 op[h1] |= cpu_to_le32( (u32)((u8)m[i].buf[j]) << ((3-h2)*8)); in saa7146_i2c_msg_prepare()
70 op[h1] |= cpu_to_le32( SAA7146_I2C_CONT << ((3-h2)*2)); in saa7146_i2c_msg_prepare()
78 h1 = (op_count-1)/3; h2 = (op_count-1)%3; in saa7146_i2c_msg_prepare()
79 if ( SAA7146_I2C_CONT == (0x3 & (le32_to_cpu(op[h1]) >> ((3-h2)*2))) ) { in saa7146_i2c_msg_prepare()
80 op[h1] &= ~cpu_to_le32(0x2 << ((3-h2)*2)); in saa7146_i2c_msg_prepare()
[all …]
/linux-4.1.27/drivers/mtd/
Dnftlmount.c40 struct nftl_uci1 h1; in find_boot_record() local
94 (char *)&h1); in find_boot_record()
105 if (le16_to_cpu(h1.EraseMark | h1.EraseMark1) != ERASE_MARK) { in find_boot_record()
108 le16_to_cpu(h1.EraseMark), le16_to_cpu(h1.EraseMark1)); in find_boot_record()
498 struct nftl_uci1 h1; in check_and_mark_free_block() local
504 &retlen, (char *)&h1) < 0) in check_and_mark_free_block()
507 erase_mark = le16_to_cpu ((h1.EraseMark | h1.EraseMark1)); in check_and_mark_free_block()
515 h1.EraseMark = cpu_to_le16(ERASE_MARK); in check_and_mark_free_block()
516 h1.EraseMark1 = cpu_to_le16(ERASE_MARK); in check_and_mark_free_block()
517 h1.WearInfo = cpu_to_le32(0); in check_and_mark_free_block()
[all …]
Dinftlmount.c46 struct inftl_unittail h1; in find_boot_record() local
103 8, &retlen,(char *)&h1); in find_boot_record()
544 struct inftl_unittail h1; in INFTL_mount() local
601 (char *)&h1) < 0) { in INFTL_mount()
609 erase_mark = le16_to_cpu((h1.EraseMark | h1.EraseMark1)); in INFTL_mount()
/linux-4.1.27/arch/alpha/kernel/
Dconsole.c28 default_vga_hose_select(struct pci_controller *h1, struct pci_controller *h2) in default_vga_hose_select() argument
30 if (h2->index < h1->index) in default_vga_hose_select()
33 return h1; in default_vga_hose_select()
/linux-4.1.27/tools/testing/selftests/net/
Dpsock_tpacket.c94 struct tpacket_hdr_v1 h1; member
470 if (__v3_prev_block_seq_num + 1 != pbd->h1.seq_num) { in __v3_test_block_seq_num()
474 (uint64_t) pbd->h1.seq_num); in __v3_test_block_seq_num()
478 __v3_prev_block_seq_num = pbd->h1.seq_num; in __v3_test_block_seq_num()
483 if (pbd->h1.num_pkts && bytes != pbd->h1.blk_len) { in __v3_test_block_len()
486 pbd->h1.num_pkts, bytes, pbd->h1.blk_len); in __v3_test_block_len()
493 if ((pbd->h1.block_status & TP_STATUS_USER) == 0) { in __v3_test_block_header()
503 int num_pkts = pbd->h1.num_pkts, i; in __v3_walk_block()
510 pbd->h1.offset_to_first_pkt); in __v3_walk_block()
535 pbd->h1.block_status = TP_STATUS_KERNEL; in __v3_flush_block()
[all …]
/linux-4.1.27/fs/reiserfs/
Dhashes.c31 b1 = h1; \
41 h1 += b1; \
48 u32 h0 = k[0], h1 = k[1]; in keyed_hash() local
121 return h0 ^ h1; in keyed_hash()
/linux-4.1.27/drivers/staging/lustre/include/linux/lnet/
Dtypes.h113 static inline int LNetHandleIsEqual(lnet_handle_any_t h1, lnet_handle_any_t h2) in LNetHandleIsEqual() argument
115 return h1.cookie == h2.cookie; in LNetHandleIsEqual()
/linux-4.1.27/sound/usb/
Dcard.c243 struct uac1_ac_header_descriptor *h1 = control_header; in snd_usb_create_streams() local
245 if (!h1->bInCollection) { in snd_usb_create_streams()
250 if (h1->bLength < sizeof(*h1) + h1->bInCollection) { in snd_usb_create_streams()
255 for (i = 0; i < h1->bInCollection; i++) in snd_usb_create_streams()
256 snd_usb_create_stream(chip, ctrlif, h1->baInterfaceNr[i]); in snd_usb_create_streams()
/linux-4.1.27/tools/usb/usbip/
D.gitignore21 stamp-h1
/linux-4.1.27/net/packet/
Daf_packet.c162 struct tpacket_hdr *h1; member
401 h.h1->tp_status = status; in __packet_set_status()
402 flush_dcache_page(pgv_to_page(&h.h1->tp_status)); in __packet_set_status()
426 flush_dcache_page(pgv_to_page(&h.h1->tp_status)); in __packet_get_status()
427 return h.h1->tp_status; in __packet_get_status()
468 h.h1->tp_sec = ts.tv_sec; in __packet_set_timestamp()
469 h.h1->tp_usec = ts.tv_nsec / NSEC_PER_USEC; in __packet_set_timestamp()
482 flush_dcache_page(pgv_to_page(&h.h1->tp_sec)); in __packet_set_timestamp()
797 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_close_block() local
808 h1->ts_last_pkt.ts_sec = last_pkt->tp_sec; in prb_close_block()
[all …]
/linux-4.1.27/include/linux/
Dvmw_vmci_defs.h143 static inline bool vmci_handle_is_equal(struct vmci_handle h1, in vmci_handle_is_equal() argument
146 return h1.context == h2.context && h1.resource == h2.resource; in vmci_handle_is_equal()
/linux-4.1.27/net/netfilter/
Dnf_conntrack_core.c69 static void nf_conntrack_double_unlock(unsigned int h1, unsigned int h2) in nf_conntrack_double_unlock() argument
71 h1 %= CONNTRACK_LOCKS; in nf_conntrack_double_unlock()
73 spin_unlock(&nf_conntrack_locks[h1]); in nf_conntrack_double_unlock()
74 if (h1 != h2) in nf_conntrack_double_unlock()
79 static bool nf_conntrack_double_lock(struct net *net, unsigned int h1, in nf_conntrack_double_lock() argument
82 h1 %= CONNTRACK_LOCKS; in nf_conntrack_double_lock()
84 if (h1 <= h2) { in nf_conntrack_double_lock()
85 spin_lock(&nf_conntrack_locks[h1]); in nf_conntrack_double_lock()
86 if (h1 != h2) in nf_conntrack_double_lock()
91 spin_lock_nested(&nf_conntrack_locks[h1], in nf_conntrack_double_lock()
[all …]
/linux-4.1.27/drivers/staging/media/davinci_vpfe/
Ddm365_resizer.c365 unsigned int h1; in resizer_calculate_down_scale_f_div_param() local
385 h1 = val; in resizer_calculate_down_scale_f_div_param()
393 h1 = val; in resizer_calculate_down_scale_f_div_param()
398 h2 = output_width - h1; in resizer_calculate_down_scale_f_div_param()
400 val = (h1 * rsz) - (((upper_h1 - (o - 10)) / two_power) << 8); in resizer_calculate_down_scale_f_div_param()
404 param->f_div.pass[0].o_hsz = h1 - 1; in resizer_calculate_down_scale_f_div_param()
620 unsigned int h1; in resizer_calculate_normal_f_div_param() local
634 h1 = val; in resizer_calculate_normal_f_div_param()
642 h1 = val; in resizer_calculate_normal_f_div_param()
644 h2 = output_width - h1; in resizer_calculate_normal_f_div_param()
[all …]
/linux-4.1.27/arch/x86/crypto/sha-mb/
Dsha1_x8_avx2.S79 # r7 = {h7 h6 h5 h4 h3 h2 h1 h0}
83 # r1 = {h1 g1 f1 e1 d1 c1 b1 a1}
107 vshufps $0x44, \r7, \r6, \t1 # t1 = {h5 h4 g5 g4 h1 h0 g1 g0}
109 vshufps $0xDD, \t1, \r2, \r7 # r7 = {h5 g5 f5 e5 h1 g1 f1 e1}
117 vperm2f128 $0x02, \r3, \r7, \r1 # h1...a1
/linux-4.1.27/drivers/tty/serial/
Difx6x60.c389 u16 h1; in ifx_spi_decode_spi_header() local
393 h1 = *in_buffer; in ifx_spi_decode_spi_header()
396 if (h1 == 0 && h2 == 0) { in ifx_spi_decode_spi_header()
399 } else if (h1 == 0xffff && h2 == 0xffff) { in ifx_spi_decode_spi_header()
404 *length = h1 & 0xfff; /* upper bits of byte are flags */ in ifx_spi_decode_spi_header()
/linux-4.1.27/arch/mips/boot/
Delf2ecoff.c120 const Elf32_Phdr *h1 = v1; in phcmp() local
123 if (h1->p_vaddr > h2->p_vaddr) in phcmp()
125 else if (h1->p_vaddr < h2->p_vaddr) in phcmp()
/linux-4.1.27/Documentation/DocBook/media/
Dvbi_625.gif.b645 rdzXHa3m6Eod+h1+LW7MXpx83P7962y+ju4O//5oGr8PHUvs36VjoCBsujTsxp5t0MIB1MZLYb07
/linux-4.1.27/Documentation/hwmon/
Dthmc5014 Author: Krzysztof Helt <krzysztof.h1@wp.pl>
/linux-4.1.27/net/ipv6/
Dip6_gre.c121 unsigned int h1 = HASH_KEY(key); in ip6gre_tunnel_lookup() local
128 for_each_ip_tunnel_rcu(t, ign->tunnels_r_l[h0 ^ h1]) { in ip6gre_tunnel_lookup()
153 for_each_ip_tunnel_rcu(t, ign->tunnels_r[h0 ^ h1]) { in ip6gre_tunnel_lookup()
177 for_each_ip_tunnel_rcu(t, ign->tunnels_l[h1]) { in ip6gre_tunnel_lookup()
203 for_each_ip_tunnel_rcu(t, ign->tunnels_wc[h1]) { in ip6gre_tunnel_lookup()
Dsit.c97 unsigned int h1 = HASH(local); in ipip6_tunnel_lookup() local
101 for_each_ip_tunnel_rcu(t, sitn->tunnels_r_l[h0 ^ h1]) { in ipip6_tunnel_lookup()
114 for_each_ip_tunnel_rcu(t, sitn->tunnels_l[h1]) { in ipip6_tunnel_lookup()
/linux-4.1.27/Documentation/trace/
Dftrace.txt1137 bash-1994 1d.h1 13us : exit_idle <-smp_apic_timer_interrupt
1138 bash-1994 1d.h1 13us : hrtimer_interrupt <-smp_apic_timer_interrupt
1139 bash-1994 1d.h1 13us : _raw_spin_lock <-hrtimer_interrupt
1140 bash-1994 1d.h1 14us : add_preempt_count <-_raw_spin_lock
1143 bash-1994 1d.h1 35us : lapic_next_event <-clockevents_program_event
1144 bash-1994 1d.h1 35us : irq_exit <-smp_apic_timer_interrupt
1145 bash-1994 1d.h1 36us : sub_preempt_count <-irq_exit
2159 <idle>-0 [001] d.h1 4186.475409: hrtimer_interrupt <-smp_apic_timer_interrupt
2160 usleep-2665 [001] d.h1 4186.475426: hrtimer_interrupt <-smp_apic_timer_interrupt
2161 <idle>-0 [003] d.h1 4186.475426: hrtimer_interrupt <-smp_apic_timer_interrupt
[all …]
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_fimc.c595 u32 cfg, h1, h2, v1, v2; in fimc_set_window() local
598 h1 = pos->x; in fimc_set_window()
605 DRM_DEBUG_KMS("h1[%d]h2[%d]v1[%d]v2[%d]\n", h1, h2, v1, v2); in fimc_set_window()
614 cfg |= (EXYNOS_CIWDOFST_WINHOROFST(h1) | in fimc_set_window()
/linux-4.1.27/arch/arm/boot/dts/
Dimx6qdl-cubox-i.dtsi79 reg_usbh1_vbus: usb-h1-vbus {
Dimx6qdl-hummingboard.dtsi69 reg_usbh1_vbus: usb-h1-vbus {
/linux-4.1.27/Documentation/networking/
Dpacket_mmap.txt790 struct tpacket_hdr_v1 h1;
901 int num_pkts = pbd->h1.num_pkts, i;
906 pbd->h1.offset_to_first_pkt);
921 pbd->h1.block_status = TP_STATUS_KERNEL;
960 if ((pbd->h1.block_status & TP_STATUS_USER) == 0) {
/linux-4.1.27/security/keys/
Dtrusted.c124 unsigned int keylen, unsigned char *h1, in TSS_authhmac() argument
164 paramdigest, TPM_NONCE_SIZE, h1, in TSS_authhmac()
/linux-4.1.27/sound/pci/asihpi/
Dhpi_internal.h1182 } h1; member
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_iba7322.c6111 u32 pidx, unit, port, deflt, h1; in set_no_qsfp_atten() local
6152 h1 = 0; /* gcc thinks it might be used uninitted */ in set_no_qsfp_atten()
6155 h1 = (u32)simple_strtoul(str, &nxt, 0); in set_no_qsfp_atten()
6170 ppd->cpspec->h1_val = h1; in set_no_qsfp_atten()
/linux-4.1.27/Documentation/isdn/
DREADME494 uihdlc HDLC with UI-frame-header (for use with DOS ISPA, option -h1)
/linux-4.1.27/scripts/
Danalyze_suspend.py2353 h1 {color:black;font: bold 30px Times;}\n\