/linux-4.1.27/fs/reiserfs/ |
D | lbalance.c | 26 struct item_head *ih; in leaf_copy_dir_entries() local 31 ih = item_head(source, item_num); in leaf_copy_dir_entries() 33 RFALSE(!is_direntry_le_ih(ih), "vs-10000: item must be directory item"); in leaf_copy_dir_entries() 39 deh = B_I_DEH(source, ih); in leaf_copy_dir_entries() 42 ih_item_len(ih)) - in leaf_copy_dir_entries() 45 source->b_data + ih_location(ih) + in leaf_copy_dir_entries() 63 (last_first == FIRST_TO_LAST && le_ih_k_offset(ih) == DOT_OFFSET) || in leaf_copy_dir_entries() 65 && comp_short_le_keys /*COMP_SHORT_KEYS */ (&ih->ih_key, in leaf_copy_dir_entries() 73 memcpy(&new_ih.ih_key, &ih->ih_key, KEY_SIZE); in leaf_copy_dir_entries() 82 if (from < ih_entry_count(ih)) { in leaf_copy_dir_entries() [all …]
|
D | do_balan.c | 83 struct item_head *ih = item_head(tbS0, item_pos); in balance_leaf_when_delete_del() local 86 RFALSE(ih_item_len(ih) + IH_SIZE != -tb->insert_size[0], in balance_leaf_when_delete_del() 88 -tb->insert_size[0], ih); in balance_leaf_when_delete_del() 113 struct item_head *ih = item_head(tbS0, item_pos); in balance_leaf_when_delete_cut() local 118 if (is_direntry_le_ih(ih)) { in balance_leaf_when_delete_cut() 140 RFALSE(!ih_item_len(ih), in balance_leaf_when_delete_cut() 245 struct item_head *ih; in balance_leaf_when_delete() local 254 ih = item_head(tbS0, item_pos); in balance_leaf_when_delete() 290 struct item_head *const ih, in balance_leaf_insert_left() argument 306 new_item_len = ih_item_len(ih) - tb->lbytes; in balance_leaf_insert_left() [all …]
|
D | reiserfs.h | 1396 #define ih_free_space(ih) le16_to_cpu((ih)->u.ih_free_space_reserved) argument 1397 #define ih_version(ih) le16_to_cpu((ih)->ih_version) argument 1398 #define ih_entry_count(ih) le16_to_cpu((ih)->u.ih_entry_count) argument 1399 #define ih_location(ih) le16_to_cpu((ih)->ih_item_location) argument 1400 #define ih_item_len(ih) le16_to_cpu((ih)->ih_item_len) argument 1402 #define put_ih_free_space(ih, val) do { (ih)->u.ih_free_space_reserved = cpu_to_le16(val); } whil… argument 1403 #define put_ih_version(ih, val) do { (ih)->ih_version = cpu_to_le16(val); } while (0) argument 1404 #define put_ih_entry_count(ih, val) do { (ih)->u.ih_entry_count = cpu_to_le16(val); } while (0) argument 1405 #define put_ih_location(ih, val) do { (ih)->ih_item_location = cpu_to_le16(val); } while (0) argument 1406 #define put_ih_item_len(ih, val) do { (ih)->ih_item_len = cpu_to_le16(val); } while (0) argument [all …]
|
D | item_ops.c | 19 static int sd_bytes_number(struct item_head *ih, int block_size) in sd_bytes_number() argument 44 static void sd_print_item(struct item_head *ih, char *item) in sd_print_item() argument 47 if (stat_data_v1(ih)) { in sd_print_item() 63 static void sd_check_item(struct item_head *ih, char *item) in sd_check_item() argument 122 static int direct_bytes_number(struct item_head *ih, int block_size) in direct_bytes_number() argument 124 return ih_item_len(ih); in direct_bytes_number() 142 static void direct_print_item(struct item_head *ih, char *item) in direct_print_item() argument 148 while (j < ih_item_len(ih)) in direct_print_item() 153 static void direct_check_item(struct item_head *ih, char *item) in direct_check_item() argument 213 static int indirect_bytes_number(struct item_head *ih, int block_size) in indirect_bytes_number() argument [all …]
|
D | inode.c | 136 inline void make_le_item_head(struct item_head *ih, const struct cpu_key *key, in make_le_item_head() argument 142 ih->ih_key.k_dir_id = cpu_to_le32(key->on_disk_key.k_dir_id); in make_le_item_head() 143 ih->ih_key.k_objectid = in make_le_item_head() 146 put_ih_version(ih, version); in make_le_item_head() 147 set_le_ih_k_offset(ih, offset); in make_le_item_head() 148 set_le_ih_k_type(ih, type); in make_le_item_head() 149 put_ih_item_len(ih, length); in make_le_item_head() 155 put_ih_entry_count(ih, entry_count); in make_le_item_head() 214 struct item_head *ih, in allocation_needed() argument 219 if (retval == POSITION_FOUND && is_indirect_le_ih(ih) && in allocation_needed() [all …]
|
D | dir.c | 70 struct item_head *ih, tmp_ih; in reiserfs_readdir_inode() local 111 ih = de.de_ih; in reiserfs_readdir_inode() 112 store_ih(&tmp_ih, ih); in reiserfs_readdir_inode() 115 RFALSE(COMP_SHORT_KEYS(&ih->ih_key, &pos_key), in reiserfs_readdir_inode() 117 ih, &pos_key); in reiserfs_readdir_inode() 126 RFALSE(ih_entry_count(ih) < entry_num, in reiserfs_readdir_inode() 128 entry_num, ih_entry_count(ih)); in reiserfs_readdir_inode() 135 || entry_num < ih_entry_count(ih)) { in reiserfs_readdir_inode() 137 B_I_DEH(bh, ih) + entry_num; in reiserfs_readdir_inode() 139 for (; entry_num < ih_entry_count(ih); in reiserfs_readdir_inode() [all …]
|
D | prints.c | 112 static void sprintf_item_head(char *buf, struct item_head *ih) in sprintf_item_head() argument 114 if (ih) { in sprintf_item_head() 116 (ih_version(ih) == KEY_FORMAT_3_6) ? "*3.6* " : "*3.5*"); in sprintf_item_head() 117 sprintf_le_key(buf + strlen(buf), &(ih->ih_key)); in sprintf_item_head() 120 ih_item_len(ih), ih_location(ih), ih_free_space(ih)); in sprintf_item_head() 462 struct item_head *ih; in print_leaf() local 472 ih = item_head(bh, 0); in print_leaf() 481 &(ih->ih_key), &((ih + nr - 1)->ih_key)); in print_leaf() 495 ih += from; in print_leaf() 500 for (i = from; i < to; i++, ih++) { in print_leaf() [all …]
|
D | stree.c | 392 struct item_head *ih; in is_leaf() local 412 ih = (struct item_head *)(buf + BLKH_SIZE) + nr - 1; in is_leaf() 413 used_space = BLKH_SIZE + IH_SIZE * nr + (blocksize - ih_location(ih)); in is_leaf() 427 ih = (struct item_head *)(buf + BLKH_SIZE); in is_leaf() 429 for (i = 0; i < nr; i++, ih++) { in is_leaf() 430 if (le_ih_k_type(ih) == TYPE_ANY) { in is_leaf() 433 ih); in is_leaf() 436 if (ih_location(ih) >= blocksize in is_leaf() 437 || ih_location(ih) < IH_SIZE * nr) { in is_leaf() 440 ih); in is_leaf() [all …]
|
D | fix_node.c | 53 struct item_head *ih; in create_virtual_node() local 81 ih = item_head(Sh, 0); in create_virtual_node() 84 if (op_is_left_mergeable(&ih->ih_key, Sh->b_size) in create_virtual_node() 105 vi->vi_item_len += ih_item_len(ih + j) + IH_SIZE; in create_virtual_node() 106 vi->vi_ih = ih + j; in create_virtual_node() 107 vi->vi_item = ih_item_body(Sh, ih + j); in create_virtual_node() 716 struct item_head *ih; in are_leaves_removable() local 722 ih = item_head(S0, 0); in are_leaves_removable() 724 && !comp_short_le_keys(&ih->ih_key, in are_leaves_removable() 737 if (is_direntry_le_ih(ih)) { in are_leaves_removable() [all …]
|
D | super.c | 199 struct item_head *ih; in finish_unfinished() local 267 ih = item_head(bh, item_pos); in finish_unfinished() 269 if (le32_to_cpu(ih->ih_key.k_dir_id) != MAX_KEY_OBJECTID) in finish_unfinished() 273 save_link_key = ih->ih_key; in finish_unfinished() 274 if (is_indirect_le_ih(ih)) in finish_unfinished() 280 item = ih_item_body(bh, ih); in finish_unfinished() 283 le32_to_cpu(ih->ih_key.k_objectid); in finish_unfinished() 401 struct item_head ih; in add_save_link() local 426 make_le_item_head(&ih, &key, key.version, in add_save_link() 440 make_le_item_head(&ih, &key, key.version, 1, TYPE_INDIRECT, in add_save_link() [all …]
|
D | ibalance.c | 134 struct reiserfs_key *ih; in internal_insert_childs() local 164 ih = internal_key(cur, ((to == -1) ? 0 : to)); in internal_insert_childs() 166 memmove(ih + count, ih, in internal_insert_childs() 170 memcpy(ih, inserted, KEY_SIZE); in internal_insert_childs() 172 memcpy(ih + 1, inserted + 1, KEY_SIZE); in internal_insert_childs()
|
D | bitmap.c | 850 struct item_head *ih; in get_left_neighbor() local 865 ih = tp_item_head(path); in get_left_neighbor() 875 if (!hint->formatted_node && is_indirect_le_ih(ih)) { in get_left_neighbor() 876 if (pos_in_item == I_UNFM_NUM(ih)) in get_left_neighbor()
|
D | namei.c | 31 struct item_head *ih = de->de_ih; in bin_search_in_dir_item() local 36 rbound = ih_entry_count(ih) - 1; in bin_search_in_dir_item()
|
/linux-4.1.27/net/ipv4/netfilter/ |
D | nf_log_ipv4.c | 43 const struct iphdr *ih; in dump_ipv4_packet() local 51 ih = skb_header_pointer(skb, iphoff, sizeof(_iph), &_iph); in dump_ipv4_packet() 52 if (ih == NULL) { in dump_ipv4_packet() 60 nf_log_buf_add(m, "SRC=%pI4 DST=%pI4 ", &ih->saddr, &ih->daddr); in dump_ipv4_packet() 64 ntohs(ih->tot_len), ih->tos & IPTOS_TOS_MASK, in dump_ipv4_packet() 65 ih->tos & IPTOS_PREC_MASK, ih->ttl, ntohs(ih->id)); in dump_ipv4_packet() 68 if (ntohs(ih->frag_off) & IP_CE) in dump_ipv4_packet() 70 if (ntohs(ih->frag_off) & IP_DF) in dump_ipv4_packet() 72 if (ntohs(ih->frag_off) & IP_MF) in dump_ipv4_packet() 76 if (ntohs(ih->frag_off) & IP_OFFSET) in dump_ipv4_packet() [all …]
|
/linux-4.1.27/net/netfilter/ |
D | xt_AUDIT.c | 77 const struct iphdr *ih; in audit_ip4() local 79 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in audit_ip4() 80 if (!ih) { in audit_ip4() 86 &ih->saddr, &ih->daddr, ntohs(ih->id), ih->protocol); in audit_ip4() 88 if (ntohs(ih->frag_off) & IP_OFFSET) { in audit_ip4() 93 audit_proto(ab, skb, ih->protocol, ih->ihl * 4); in audit_ip4() 99 const struct ipv6hdr *ih; in audit_ip6() local 104 ih = skb_header_pointer(skb, skb_network_offset(skb), sizeof(_ip6h), &_ip6h); in audit_ip6() 105 if (!ih) { in audit_ip6() 110 nexthdr = ih->nexthdr; in audit_ip6() [all …]
|
D | nf_conntrack_proto_sctp.c | 376 sctp_inithdr_t _inithdr, *ih; in sctp_packet() local 378 ih = skb_header_pointer(skb, offset + sizeof(sctp_chunkhdr_t), in sctp_packet() 380 if (ih == NULL) in sctp_packet() 383 ih->init_tag, !dir); in sctp_packet() 384 ct->proto.sctp.vtag[!dir] = ih->init_tag; in sctp_packet() 453 sctp_inithdr_t _inithdr, *ih; in sctp_new() local 455 ih = skb_header_pointer(skb, offset + sizeof(sctp_chunkhdr_t), in sctp_new() 457 if (ih == NULL) in sctp_new() 461 ih->init_tag); in sctp_new() 464 ih->init_tag; in sctp_new()
|
/linux-4.1.27/net/bridge/netfilter/ |
D | ebt_log.c | 100 const struct iphdr *ih; in ebt_log_packet() local 103 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in ebt_log_packet() 104 if (ih == NULL) { in ebt_log_packet() 109 &ih->saddr, &ih->daddr, ih->tos, ih->protocol); in ebt_log_packet() 110 print_ports(skb, ih->protocol, ih->ihl*4); in ebt_log_packet() 117 const struct ipv6hdr *ih; in ebt_log_packet() local 123 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in ebt_log_packet() 124 if (ih == NULL) { in ebt_log_packet() 129 &ih->saddr, &ih->daddr, ih->priority, ih->nexthdr); in ebt_log_packet() 130 nexthdr = ih->nexthdr; in ebt_log_packet()
|
D | ebt_ip.c | 31 const struct iphdr *ih; in ebt_ip_mt() local 36 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in ebt_ip_mt() 37 if (ih == NULL) in ebt_ip_mt() 40 FWINV(info->tos != ih->tos, EBT_IP_TOS)) in ebt_ip_mt() 43 FWINV((ih->saddr & info->smsk) != in ebt_ip_mt() 47 FWINV((ih->daddr & info->dmsk) != in ebt_ip_mt() 51 if (FWINV(info->protocol != ih->protocol, EBT_IP_PROTO)) in ebt_ip_mt() 56 if (ntohs(ih->frag_off) & IP_OFFSET) in ebt_ip_mt() 58 pptr = skb_header_pointer(skb, ih->ihl*4, in ebt_ip_mt()
|
D | ebt_among.c | 73 const struct iphdr *ih; in get_ip_dst() local 76 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in get_ip_dst() 77 if (ih == NULL) in get_ip_dst() 79 *addr = ih->daddr; in get_ip_dst() 104 const struct iphdr *ih; in get_ip_src() local 107 ih = skb_header_pointer(skb, 0, sizeof(_iph), &_iph); in get_ip_src() 108 if (ih == NULL) in get_ip_src() 110 *addr = ih->saddr; in get_ip_src()
|
/linux-4.1.27/net/netfilter/ipvs/ |
D | ip_vs_proto.c | 245 struct iphdr _iph, *ih; in ip_vs_tcpudp_debug_packet_v4() local 247 ih = skb_header_pointer(skb, offset, sizeof(_iph), &_iph); in ip_vs_tcpudp_debug_packet_v4() 248 if (ih == NULL) in ip_vs_tcpudp_debug_packet_v4() 250 else if (ih->frag_off & htons(IP_OFFSET)) in ip_vs_tcpudp_debug_packet_v4() 251 sprintf(buf, "%pI4->%pI4 frag", &ih->saddr, &ih->daddr); in ip_vs_tcpudp_debug_packet_v4() 255 pptr = skb_header_pointer(skb, offset + ih->ihl*4, in ip_vs_tcpudp_debug_packet_v4() 259 &ih->saddr, &ih->daddr); in ip_vs_tcpudp_debug_packet_v4() 262 &ih->saddr, ntohs(pptr[0]), in ip_vs_tcpudp_debug_packet_v4() 263 &ih->daddr, ntohs(pptr[1])); in ip_vs_tcpudp_debug_packet_v4() 277 struct ipv6hdr _iph, *ih; in ip_vs_tcpudp_debug_packet_v6() local [all …]
|
/linux-4.1.27/include/uapi/linux/ |
D | coda.h | 322 struct coda_in_hdr ih; member 336 struct coda_in_hdr ih; member 347 struct coda_in_hdr ih; member 358 struct coda_in_hdr ih; member 369 struct coda_in_hdr ih; member 386 struct coda_in_hdr ih; member 398 struct coda_in_hdr ih; member 409 struct coda_in_hdr ih; member 425 struct coda_in_hdr ih; member 440 struct coda_in_hdr ih; member [all …]
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | nf_log_ipv6.c | 47 const struct ipv6hdr *ih; in dump_ipv6_packet() local 57 ih = skb_header_pointer(skb, ip6hoff, sizeof(_ip6h), &_ip6h); in dump_ipv6_packet() 58 if (ih == NULL) { in dump_ipv6_packet() 64 nf_log_buf_add(m, "SRC=%pI6 DST=%pI6 ", &ih->saddr, &ih->daddr); in dump_ipv6_packet() 68 ntohs(ih->payload_len) + sizeof(struct ipv6hdr), in dump_ipv6_packet() 69 (ntohl(*(__be32 *)ih) & 0x0ff00000) >> 20, in dump_ipv6_packet() 70 ih->hop_limit, in dump_ipv6_packet() 71 (ntohl(*(__be32 *)ih) & 0x000fffff)); in dump_ipv6_packet() 75 currenthdr = ih->nexthdr; in dump_ipv6_packet()
|
/linux-4.1.27/security/ |
D | lsm_audit.c | 46 struct iphdr *ih; in ipv4_skb_to_auditdata() local 48 ih = ip_hdr(skb); in ipv4_skb_to_auditdata() 49 if (ih == NULL) in ipv4_skb_to_auditdata() 52 ad->u.net->v4info.saddr = ih->saddr; in ipv4_skb_to_auditdata() 53 ad->u.net->v4info.daddr = ih->daddr; in ipv4_skb_to_auditdata() 56 *proto = ih->protocol; in ipv4_skb_to_auditdata() 58 if (ntohs(ih->frag_off) & IP_OFFSET) in ipv4_skb_to_auditdata() 61 switch (ih->protocol) { in ipv4_skb_to_auditdata()
|
/linux-4.1.27/net/bridge/ |
D | br_multicast.c | 353 struct igmphdr *ih; in br_ip4_multicast_alloc_query() local 358 sizeof(*ih) + 4); in br_ip4_multicast_alloc_query() 383 iph->tot_len = htons(sizeof(*iph) + sizeof(*ih) + 4); in br_ip4_multicast_alloc_query() 399 ih = igmp_hdr(skb); in br_ip4_multicast_alloc_query() 400 ih->type = IGMP_HOST_MEMBERSHIP_QUERY; in br_ip4_multicast_alloc_query() 401 ih->code = (group ? br->multicast_last_member_interval : in br_ip4_multicast_alloc_query() 404 ih->group = group; in br_ip4_multicast_alloc_query() 405 ih->csum = 0; in br_ip4_multicast_alloc_query() 406 ih->csum = ip_compute_csum((void *)ih, sizeof(struct igmphdr)); in br_ip4_multicast_alloc_query() 407 skb_put(skb, sizeof(*ih)); in br_ip4_multicast_alloc_query() [all …]
|
/linux-4.1.27/fs/coda/ |
D | upcall.c | 52 inp->ih.opcode = opcode; in alloc_upcall() 53 inp->ih.pid = task_pid_nr_ns(current, &init_pid_ns); in alloc_upcall() 54 inp->ih.pgid = task_pgrp_nr_ns(current, &init_pid_ns); in alloc_upcall() 55 inp->ih.uid = from_kuid(&init_user_ns, current_fsuid()); in alloc_upcall() 169 inp->ih.uid = from_kuid(&init_user_ns, uid); in venus_close() 694 req->uc_opcode = ((union inputArgs *)buffer)->ih.opcode; in coda_upcall() 699 ((union inputArgs *)buffer)->ih.unique = req->uc_unique; in coda_upcall() 754 sig_inputArgs->ih.opcode = CODA_SIGNAL; in coda_upcall() 755 sig_inputArgs->ih.unique = req->uc_unique; in coda_upcall() 758 sig_req->uc_opcode = sig_inputArgs->ih.opcode; in coda_upcall() [all …]
|
/linux-4.1.27/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 512 struct iphdr *ih; in ioc3_tcpudp_checksum() local 533 ih = (struct iphdr *) ((char *)eh + ETH_HLEN); in ioc3_tcpudp_checksum() 534 if (ip_is_fragment(ih)) in ioc3_tcpudp_checksum() 537 proto = ih->protocol; in ioc3_tcpudp_checksum() 543 (ih->tot_len - (ih->ihl << 2)) + in ioc3_tcpudp_checksum() 544 htons((uint16_t)ih->protocol) + in ioc3_tcpudp_checksum() 545 (ih->saddr >> 16) + (ih->saddr & 0xffff) + in ioc3_tcpudp_checksum() 546 (ih->daddr >> 16) + (ih->daddr & 0xffff); in ioc3_tcpudp_checksum() 1419 const struct iphdr *ih = ip_hdr(skb); in ioc3_start_xmit() local 1420 const int proto = ntohs(ih->protocol); in ioc3_start_xmit() [all …]
|
/linux-4.1.27/drivers/cpufreq/ |
D | pmac64-cpufreq.c | 485 u64 max_freq, min_freq, ih, il; in g5_pm72_cpufreq_init() local 581 ih = *((u32 *)(eeprom + 0x10)); in g5_pm72_cpufreq_init() 585 if (il == ih) { in g5_pm72_cpufreq_init() 593 if (ih != 0 && il != 0) in g5_pm72_cpufreq_init() 594 min_freq = (max_freq * il) / ih; in g5_pm72_cpufreq_init()
|
/linux-4.1.27/fs/fuse/ |
D | dev.c | 1112 struct fuse_in_header ih; in fuse_read_interrupt() local 1114 unsigned reqsize = sizeof(ih) + sizeof(arg); in fuse_read_interrupt() 1119 memset(&ih, 0, sizeof(ih)); in fuse_read_interrupt() 1121 ih.len = reqsize; in fuse_read_interrupt() 1122 ih.opcode = FUSE_INTERRUPT; in fuse_read_interrupt() 1123 ih.unique = req->intr_unique; in fuse_read_interrupt() 1130 err = fuse_copy_one(cs, &ih, sizeof(ih)); in fuse_read_interrupt() 1170 struct fuse_in_header ih = { in fuse_read_single_forget() local 1174 .len = sizeof(ih) + sizeof(arg), in fuse_read_single_forget() 1179 if (nbytes < ih.len) in fuse_read_single_forget() [all …]
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | r600.c | 3228 rdev->ih.ring_obj = NULL; in r600_init() 3380 rdev->ih.ring_size = ring_size; in r600_ih_ring_init() 3381 rdev->ih.ptr_mask = rdev->ih.ring_size - 1; in r600_ih_ring_init() 3382 rdev->ih.rptr = 0; in r600_ih_ring_init() 3390 if (rdev->ih.ring_obj == NULL) { in r600_ih_ring_alloc() 3391 r = radeon_bo_create(rdev, rdev->ih.ring_size, in r600_ih_ring_alloc() 3394 NULL, NULL, &rdev->ih.ring_obj); in r600_ih_ring_alloc() 3399 r = radeon_bo_reserve(rdev->ih.ring_obj, false); in r600_ih_ring_alloc() 3402 r = radeon_bo_pin(rdev->ih.ring_obj, in r600_ih_ring_alloc() 3404 &rdev->ih.gpu_addr); in r600_ih_ring_alloc() [all …]
|
D | si.c | 5913 rdev->ih.enabled = true; in si_enable_interrupts() 5928 rdev->ih.enabled = false; in si_disable_interrupts() 5929 rdev->ih.rptr = 0; in si_disable_interrupts() 6014 WREG32(INTERRUPT_CNTL2, rdev->ih.gpu_addr >> 8); in si_irq_init() 6024 WREG32(IH_RB_BASE, rdev->ih.gpu_addr >> 8); in si_irq_init() 6025 rb_bufsz = order_base_2(rdev->ih.ring_size / 4); in si_irq_init() 6077 if (!rdev->ih.enabled) { in si_irq_set() 6409 wptr, rdev->ih.rptr, (wptr + 16) & rdev->ih.ptr_mask); in si_get_ih_wptr() 6410 rdev->ih.rptr = (wptr + 16) & rdev->ih.ptr_mask; in si_get_ih_wptr() 6415 return (wptr & rdev->ih.ptr_mask); in si_get_ih_wptr() [all …]
|
D | cik.c | 7245 rdev->ih.enabled = true; in cik_enable_interrupts() 7267 rdev->ih.enabled = false; in cik_disable_interrupts() 7268 rdev->ih.rptr = 0; in cik_disable_interrupts() 7382 WREG32(INTERRUPT_CNTL2, rdev->ih.gpu_addr >> 8); in cik_irq_init() 7392 WREG32(IH_RB_BASE, rdev->ih.gpu_addr >> 8); in cik_irq_init() 7393 rb_bufsz = order_base_2(rdev->ih.ring_size / 4); in cik_irq_init() 7453 if (!rdev->ih.enabled) { in cik_irq_set() 7852 wptr, rdev->ih.rptr, (wptr + 16) & rdev->ih.ptr_mask); in cik_get_ih_wptr() 7853 rdev->ih.rptr = (wptr + 16) & rdev->ih.ptr_mask; in cik_get_ih_wptr() 7858 return (wptr & rdev->ih.ptr_mask); in cik_get_ih_wptr() [all …]
|
D | evergreen.c | 4568 if (!rdev->ih.enabled) { in evergreen_irq_set() 4978 wptr, rdev->ih.rptr, (wptr + 16) & rdev->ih.ptr_mask); in evergreen_get_ih_wptr() 4979 rdev->ih.rptr = (wptr + 16) & rdev->ih.ptr_mask; in evergreen_get_ih_wptr() 4984 return (wptr & rdev->ih.ptr_mask); in evergreen_get_ih_wptr() 4999 if (!rdev->ih.enabled || rdev->shutdown) in evergreen_irq_process() 5006 if (atomic_xchg(&rdev->ih.lock, 1)) in evergreen_irq_process() 5009 rptr = rdev->ih.rptr; in evergreen_irq_process() 5021 src_id = le32_to_cpu(rdev->ih.ring[ring_index]) & 0xff; in evergreen_irq_process() 5022 src_data = le32_to_cpu(rdev->ih.ring[ring_index + 1]) & 0xfffffff; in evergreen_irq_process() 5448 rptr &= rdev->ih.ptr_mask; in evergreen_irq_process() [all …]
|
D | radeon_device.c | 1304 atomic_set(&rdev->ih.lock, 0); in radeon_device_init()
|
D | rv770.c | 1927 rdev->ih.ring_obj = NULL; in rv770_init()
|
D | ni.c | 2276 rdev->ih.ring_obj = NULL; in cayman_init()
|
D | radeon.h | 2414 struct r600_ih ih; /* r6/700 interrupt ring */ member
|
/linux-4.1.27/drivers/net/ethernet/tile/ |
D | tilegx.c | 1724 struct iphdr *ih; in tso_headers_prepare() local 1746 ih = ip_hdr(skb); in tso_headers_prepare() 1748 isum_seed = ((0xFFFF - ih->check) + in tso_headers_prepare() 1749 (0xFFFF - ih->tot_len) + in tso_headers_prepare() 1750 (0xFFFF - ih->id)); in tso_headers_prepare() 1751 id = ntohs(ih->id); in tso_headers_prepare() 1777 ih = (struct iphdr *)(buf + ih_off); in tso_headers_prepare() 1778 ih->tot_len = htons(sh_len + p_len - ih_off); in tso_headers_prepare() 1779 ih->id = htons(id++); in tso_headers_prepare() 1780 ih->check = csum_long(isum_seed + ih->tot_len + in tso_headers_prepare() [all …]
|
D | tilepro.c | 1685 struct iphdr *ih = ip_hdr(skb); in tile_net_tx_tso() local 1686 unsigned int ih_len = ih->ihl * 4; in tile_net_tx_tso() 1748 BUG_ON(ih->protocol != IPPROTO_TCP); in tile_net_tx_tso()
|
/linux-4.1.27/fs/jfs/ |
D | jfs_dtree.c | 3599 struct idtentry *ih; in dtCompare() local 3621 ih = (struct idtentry *) & p->slot[si]; in dtCompare() 3622 si = ih->next; in dtCompare() 3623 name = ih->name; in dtCompare() 3624 namlen = ih->namlen; in dtCompare() 3677 struct idtentry *ih; in ciCompare() local 3717 ih = (struct idtentry *) & p->slot[si]; in ciCompare() 3718 si = ih->next; in ciCompare() 3719 name = ih->name; in ciCompare() 3720 namlen = ih->namlen; in ciCompare() [all …]
|
/linux-4.1.27/net/ipv4/ |
D | igmp.c | 670 struct igmphdr *ih; in igmp_send_report() local 723 ih = (struct igmphdr *)skb_put(skb, sizeof(struct igmphdr)); in igmp_send_report() 724 ih->type = type; in igmp_send_report() 725 ih->code = 0; in igmp_send_report() 726 ih->csum = 0; in igmp_send_report() 727 ih->group = group; in igmp_send_report() 728 ih->csum = ip_compute_csum((void *)ih, sizeof(struct igmphdr)); in igmp_send_report() 870 struct igmphdr *ih = igmp_hdr(skb); in igmp_heard_query() local 873 __be32 group = ih->group; in igmp_heard_query() 879 if (ih->code == 0) { in igmp_heard_query() [all …]
|
/linux-4.1.27/include/linux/ |
D | intel-iommu.h | 268 #define QI_IOTLB_IH(ih) (((u64)ih) << 6) argument
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | prom_init.c | 1875 static int __init prom_set_color(ihandle ih, int i, int r, int g, int b) in prom_set_color() argument 1877 return call_prom("call-method", 6, 1, ADDR("color!"), ih, i, b, g, r); in prom_set_color() 1892 ihandle ih; in prom_check_displays() local 1935 ih = call_prom("open", 1, 1, path); in prom_check_displays() 1936 if (ih == 0) { in prom_check_displays() 1949 if (prom_set_color(ih, i, clut[0], clut[1], in prom_check_displays() 1956 if (prom_set_color(ih, i + 32, clut[0], clut[1], in prom_check_displays()
|
/linux-4.1.27/security/selinux/ |
D | hooks.c | 3743 struct iphdr _iph, *ih; in selinux_parse_skb_ipv4() local 3746 ih = skb_header_pointer(skb, offset, sizeof(_iph), &_iph); in selinux_parse_skb_ipv4() 3747 if (ih == NULL) in selinux_parse_skb_ipv4() 3750 ihlen = ih->ihl * 4; in selinux_parse_skb_ipv4() 3754 ad->u.net->v4info.saddr = ih->saddr; in selinux_parse_skb_ipv4() 3755 ad->u.net->v4info.daddr = ih->daddr; in selinux_parse_skb_ipv4() 3759 *proto = ih->protocol; in selinux_parse_skb_ipv4() 3761 switch (ih->protocol) { in selinux_parse_skb_ipv4() 3765 if (ntohs(ih->frag_off) & IP_OFFSET) in selinux_parse_skb_ipv4() 3781 if (ntohs(ih->frag_off) & IP_OFFSET) in selinux_parse_skb_ipv4() [all …]
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/ |
D | gpc.fuc | 136 mov $r1 #ih 325 ih:
|
D | hub.fuc | 84 mov $r1 #ih 308 ih:
|
/linux-4.1.27/crypto/ |
D | vmac.c | 66 #define ADD128(rh, rl, ih, il) \ argument 72 (rh) += (ih); \
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/sec/fuc/ |
D | g98.fuc0s | 103 mov $r1 #ih 134 ih:
|
/linux-4.1.27/drivers/net/ethernet/packetengines/ |
D | hamachi.c | 1519 struct iphdr *ih = (struct iphdr *) skb->data; in hamachi_rx() local 1524 if (ntohs(ih->tot_len) >= 46){ in hamachi_rx() 1526 if (!(ih->frag_off & cpu_to_be16(IP_MF|IP_OFFSET))) { in hamachi_rx()
|
/linux-4.1.27/Documentation/hwmon/ |
D | lm93 | 37 A "0" configures the VID pins for V(ih) = 2.1V min, V(il) = 0.8V max. 38 A "1" configures the VID pins for V(ih) = 0.8V min, V(il) = 0.4V max.
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/ |
D | com.fuc | 141 mov $r1 #ih 165 ih:
|
/linux-4.1.27/drivers/iommu/ |
D | dmar.c | 1294 int ih = 0; in qi_flush_iotlb() local 1304 desc.high = QI_IOTLB_ADDR(addr) | QI_IOTLB_IH(ih) in qi_flush_iotlb()
|
D | intel-iommu.c | 1360 unsigned long pfn, unsigned int pages, int ih, int map) in iommu_flush_iotlb_psi() argument 1367 if (ih) in iommu_flush_iotlb_psi() 1368 ih = 1 << 6; in iommu_flush_iotlb_psi() 1379 iommu->flush.flush_iotlb(iommu, did, addr | ih, mask, in iommu_flush_iotlb_psi()
|