Searched refs:orig (Results 1 - 200 of 246) sorted by relevance

12

/linux-4.1.27/arch/mips/mti-sead3/
H A Dsead3-time.c27 unsigned int orig; estimate_cpu_frequency() local
32 orig = readl(status_reg) & 0x2; /* get original sample */ estimate_cpu_frequency()
34 while ((readl(status_reg) & 0x2) == orig) estimate_cpu_frequency()
36 orig = orig ^ 0x2; /* flip the bit */ estimate_cpu_frequency()
43 while ((readl(status_reg) & 0x2) == orig) estimate_cpu_frequency()
45 orig = orig ^ 0x2; /* flip the bit */ estimate_cpu_frequency()
/linux-4.1.27/net/batman-adv/
H A Dmulticast.c512 * @orig: an originator to be set to forward the skb to
515 * BATADV_FORW_SINGLE set the orig to the single originator the skb
520 struct batadv_orig_node **orig) batadv_mcast_forw_mode()
545 *orig = batadv_mcast_forw_tt_node_get(bat_priv, ethhdr); batadv_mcast_forw_mode()
547 *orig = batadv_mcast_forw_ip_node_get(bat_priv, ethhdr); batadv_mcast_forw_mode()
549 *orig = batadv_mcast_forw_unsnoop_node_get(bat_priv); batadv_mcast_forw_mode()
551 if (*orig) batadv_mcast_forw_mode()
565 * @orig: the orig_node which multicast state might have changed of
569 * orig, has toggled then this method updates counter and list accordingly.
571 * Caller needs to hold orig->mcast_handler_lock.
574 struct batadv_orig_node *orig, batadv_mcast_want_unsnoop_update()
577 struct hlist_node *node = &orig->mcast_want_all_unsnoopables_node; batadv_mcast_want_unsnoop_update()
582 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES)) { batadv_mcast_want_unsnoop_update()
593 orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) { batadv_mcast_want_unsnoop_update()
608 * @orig: the orig_node which multicast state might have changed of
611 * If the BATADV_MCAST_WANT_ALL_IPV4 flag of this originator, orig, has
614 * Caller needs to hold orig->mcast_handler_lock.
617 struct batadv_orig_node *orig, batadv_mcast_want_ipv4_update()
620 struct hlist_node *node = &orig->mcast_want_all_ipv4_node; batadv_mcast_want_ipv4_update()
625 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4)) { batadv_mcast_want_ipv4_update()
636 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4) { batadv_mcast_want_ipv4_update()
651 * @orig: the orig_node which multicast state might have changed of
654 * If the BATADV_MCAST_WANT_ALL_IPV6 flag of this originator, orig, has
657 * Caller needs to hold orig->mcast_handler_lock.
660 struct batadv_orig_node *orig, batadv_mcast_want_ipv6_update()
663 struct hlist_node *node = &orig->mcast_want_all_ipv6_node; batadv_mcast_want_ipv6_update()
668 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6)) { batadv_mcast_want_ipv6_update()
679 orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV6) { batadv_mcast_want_ipv6_update()
694 * @orig: the orig_node of the ogm
700 struct batadv_orig_node *orig, batadv_mcast_tvlv_ogm_handler_v1()
713 spin_lock_bh(&orig->mcast_handler_lock); batadv_mcast_tvlv_ogm_handler_v1()
715 &orig->capa_initialized); batadv_mcast_tvlv_ogm_handler_v1()
722 !test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities)) { batadv_mcast_tvlv_ogm_handler_v1()
725 set_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities); batadv_mcast_tvlv_ogm_handler_v1()
731 (test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities) || batadv_mcast_tvlv_ogm_handler_v1()
734 clear_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities); batadv_mcast_tvlv_ogm_handler_v1()
737 set_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capa_initialized); batadv_mcast_tvlv_ogm_handler_v1()
739 batadv_mcast_want_unsnoop_update(bat_priv, orig, mcast_flags); batadv_mcast_tvlv_ogm_handler_v1()
740 batadv_mcast_want_ipv4_update(bat_priv, orig, mcast_flags); batadv_mcast_tvlv_ogm_handler_v1()
741 batadv_mcast_want_ipv6_update(bat_priv, orig, mcast_flags); batadv_mcast_tvlv_ogm_handler_v1()
743 orig->mcast_flags = mcast_flags; batadv_mcast_tvlv_ogm_handler_v1()
744 spin_unlock_bh(&orig->mcast_handler_lock); batadv_mcast_tvlv_ogm_handler_v1()
772 * @orig: the originator which is going to get purged
774 void batadv_mcast_purge_orig(struct batadv_orig_node *orig) batadv_mcast_purge_orig() argument
776 struct batadv_priv *bat_priv = orig->bat_priv; batadv_mcast_purge_orig()
778 spin_lock_bh(&orig->mcast_handler_lock); batadv_mcast_purge_orig()
780 if (!test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capabilities) && batadv_mcast_purge_orig()
781 test_bit(BATADV_ORIG_CAPA_HAS_MCAST, &orig->capa_initialized)) batadv_mcast_purge_orig()
784 batadv_mcast_want_unsnoop_update(bat_priv, orig, BATADV_NO_FLAGS); batadv_mcast_purge_orig()
785 batadv_mcast_want_ipv4_update(bat_priv, orig, BATADV_NO_FLAGS); batadv_mcast_purge_orig()
786 batadv_mcast_want_ipv6_update(bat_priv, orig, BATADV_NO_FLAGS); batadv_mcast_purge_orig()
788 spin_unlock_bh(&orig->mcast_handler_lock); batadv_mcast_purge_orig()
519 batadv_mcast_forw_mode(struct batadv_priv *bat_priv, struct sk_buff *skb, struct batadv_orig_node **orig) batadv_mcast_forw_mode() argument
573 batadv_mcast_want_unsnoop_update(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, uint8_t mcast_flags) batadv_mcast_want_unsnoop_update() argument
616 batadv_mcast_want_ipv4_update(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, uint8_t mcast_flags) batadv_mcast_want_ipv4_update() argument
659 batadv_mcast_want_ipv6_update(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, uint8_t mcast_flags) batadv_mcast_want_ipv6_update() argument
699 batadv_mcast_tvlv_ogm_handler_v1(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, uint8_t flags, void *tvlv_value, uint16_t tvlv_value_len) batadv_mcast_tvlv_ogm_handler_v1() argument
H A Dbridge_loop_avoidance.c80 if (!batadv_compare_eth(gw1->orig, gw2->orig)) batadv_compare_backbone_gw()
189 ether_addr_copy(search_entry.orig, addr); batadv_backbone_hash_find()
360 * @orig: the mac address of the originator
368 batadv_bla_get_backbone_gw(struct batadv_priv *bat_priv, uint8_t *orig, batadv_bla_get_backbone_gw() argument
375 entry = batadv_backbone_hash_find(bat_priv, orig, vid); batadv_bla_get_backbone_gw()
382 orig, BATADV_PRINT_VID(vid)); batadv_bla_get_backbone_gw()
394 ether_addr_copy(entry->orig, orig); batadv_bla_get_backbone_gw()
411 orig_node = batadv_orig_hash_find(bat_priv, orig); batadv_bla_get_backbone_gw()
513 "Sending REQUEST to %pM\n", backbone_gw->orig); batadv_bla_send_request()
516 batadv_bla_send_claim(backbone_gw->bat_priv, backbone_gw->orig, batadv_bla_send_request()
666 BATADV_PRINT_VID(vid), backbone_gw->orig, crc); batadv_handle_announce()
671 backbone_gw->orig, batadv_handle_announce()
736 claim_addr, BATADV_PRINT_VID(vid), backbone_gw->orig); batadv_handle_unclaim()
1016 backbone_gw->orig); hlist_for_each_entry_safe()
1061 if (!batadv_compare_eth(claim->backbone_gw->orig, hlist_for_each_entry_rcu()
1074 claim->backbone_gw->orig, hlist_for_each_entry_rcu()
1087 * Update the backbone gateways when the own orig address changes.
1122 /* own orig still holds the old value. */ hlist_for_each_entry_rcu()
1123 if (!batadv_compare_eth(backbone_gw->orig, hlist_for_each_entry_rcu()
1127 ether_addr_copy(backbone_gw->orig, hlist_for_each_entry_rcu()
1175 if (!batadv_compare_eth(backbone_gw->orig, hlist_for_each_entry_rcu()
1317 if (batadv_compare_eth(entry->orig, bcast_packet->orig)) batadv_bla_check_bcast_duplist()
1334 ether_addr_copy(entry->orig, bcast_packet->orig); batadv_bla_check_bcast_duplist()
1346 * @orig: originator mac address
1351 * Returns true if orig is a backbone for this vid, false otherwise.
1353 bool batadv_bla_is_backbone_gw_orig(struct batadv_priv *bat_priv, uint8_t *orig, batadv_bla_is_backbone_gw_orig() argument
1372 if (batadv_compare_eth(backbone_gw->orig, orig) && hlist_for_each_entry_rcu()
1411 orig_node->orig, vid); batadv_bla_is_backbone_gw()
1493 if (batadv_compare_eth(claim->backbone_gw->orig, batadv_bla_rx()
1587 if (batadv_compare_eth(claim->backbone_gw->orig, batadv_bla_tx()
1642 "Claims announced for the mesh %s (orig %pM, group id %#.4x)\n", batadv_bla_claim_table_seq_print_text()
1652 is_own = batadv_compare_eth(claim->backbone_gw->orig, hlist_for_each_entry_rcu()
1656 claim->backbone_gw->orig, hlist_for_each_entry_rcu()
1687 "Backbones announced for the mesh %s (orig %pM, group id %#.4x)\n", batadv_bla_backbone_table_seq_print_text()
1702 is_own = batadv_compare_eth(backbone_gw->orig, hlist_for_each_entry_rcu()
1708 backbone_gw->orig, hlist_for_each_entry_rcu()
H A Dgateway_common.c182 * @orig: the orig_node of the ogm
188 struct batadv_orig_node *orig, batadv_gw_tvlv_ogm_handler_v1()
213 batadv_gw_node_update(bat_priv, orig, &gateway); batadv_gw_tvlv_ogm_handler_v1()
219 batadv_gw_check_election(bat_priv, orig); batadv_gw_tvlv_ogm_handler_v1()
187 batadv_gw_tvlv_ogm_handler_v1(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, uint8_t flags, void *tvlv_value, uint16_t tvlv_value_len) batadv_gw_tvlv_ogm_handler_v1() argument
H A Dbridge_loop_avoidance.h31 bool batadv_bla_is_backbone_gw_orig(struct batadv_priv *bat_priv, uint8_t *orig,
77 uint8_t *orig, batadv_bla_is_backbone_gw_orig()
76 batadv_bla_is_backbone_gw_orig(struct batadv_priv *bat_priv, uint8_t *orig, unsigned short vid) batadv_bla_is_backbone_gw_orig() argument
H A Dtypes.h201 * @orig: originator ethernet address
204 * @batadv_dat_addr_t: address of the orig node in the distributed hash
208 * @mcast_flags: multicast flags announced by the orig node
216 * @tt_buff: last tt changeset this node received from the orig node
218 * orig node
225 * from this orig node this host already has seen (relative to
228 * @neigh_list: list of potential next hop neighbor towards this orig node
231 * @bat_priv: pointer to soft_iface this orig node belongs to
235 * @in_coding_list: list of nodes this orig can hear
236 * @out_coding_list: list of nodes that can hear this orig
246 uint8_t orig[ETH_ALEN]; member in struct:batadv_orig_node
255 /* synchronizes mcast tvlv specific orig changes */
294 * enum batadv_orig_capabilities - orig node capabilities
295 * @BATADV_ORIG_CAPA_HAS_DAT: orig node has distributed arp table enabled
296 * @BATADV_ORIG_CAPA_HAS_NC: orig node has network coding enabled
297 * @BATADV_ORIG_CAPA_HAS_TT: orig node has tt capability
298 * @BATADV_ORIG_CAPA_HAS_MCAST: orig node has some multicast capability
299 * (= orig node announces a tvlv of type BATADV_TVLV_MCAST)
309 * struct batadv_gw_node - structure for orig nodes announcing gw capabilities
311 * @orig_node: pointer to corresponding orig node
391 * @orig[ETH_ALEN]: mac address of orig node orginating the broadcast
397 uint8_t orig[ETH_ALEN]; member in struct:batadv_bcast_duplist_entry
742 * @orig_hash: hash table containing mesh participants (orig nodes)
745 * @orig_work: work queue callback item for orig node purging
861 * @orig: originator address of backbone node (mac address of primary iface)
877 uint8_t orig[ETH_ALEN]; member in struct:batadv_bla_backbone_gw
944 * @orig_list: list of orig nodes announcing this non-mesh client
958 * struct batadv_tt_orig_list_entry - orig node announcing a non-mesh client
959 * @orig_node: pointer to orig node announcing this non-mesh client
1016 * @orig_node: pointer to corresponding orig node struct
1234 struct batadv_orig_node *orig,
H A Dpacket.h218 uint8_t orig[ETH_ALEN]; member in struct:batadv_ogm_packet
237 * @orig: address of the source node
251 uint8_t orig[ETH_ALEN]; member in struct:batadv_icmp_header
263 * @orig: address of the source node
274 uint8_t orig[ETH_ALEN]; member in struct:batadv_icmp_packet
289 * @orig: address of the source node
301 uint8_t orig[ETH_ALEN]; member in struct:batadv_icmp_packet_rr
363 * @orig: originator of the fragment used when merging the packet
383 uint8_t orig[ETH_ALEN]; member in struct:batadv_frag_packet
395 * @orig: originator of the broadcast packet
403 uint8_t orig[ETH_ALEN]; member in struct:batadv_bcast_packet
545 * @flags: multicast flags announced by the orig node
H A Doriginator.c209 * @orig_node: the orig node for the router
242 * @orig_node: the orig node to be queried
274 * @orig_node: the orig node to be queried
524 * @orig_node: the orig node to free
555 * batadv_orig_node_free_ref - decrement the orig node refcounter and possibly
557 * @orig_node: the orig node to free
636 ether_addr_copy(orig_node->orig, addr); batadv_orig_node_new()
678 * @neigh: orig node which is to be checked
719 * @orig_node: orig node which is to be checked
751 orig_node->orig, if_outgoing->net_dev->name); batadv_purge_orig_ifinfo()
771 * @orig_node: orig node which is to be checked
802 orig_node->orig, neigh_node->addr, batadv_purge_orig_neighbors()
807 orig_node->orig, neigh_node->addr, batadv_purge_orig_neighbors()
829 * @orig_node: orig node which is to be checked
864 * @orig_node: orig node which is to be checked
882 orig_node->orig, batadv_purge_orig_node()
1066 /* resize all orig nodes because orig_node->bcast_own(_sum) depend on batadv_orig_hash_add_if()
1103 /* resize all orig nodes because orig_node->bcast_own(_sum) depend on batadv_orig_hash_del_if()
H A Drouting.c39 * @orig_node: orig node which is to be configured
66 "Deleting route towards: %pM\n", orig_node->orig); _batadv_update_route()
74 orig_node->orig, neigh_node->addr); _batadv_update_route()
79 orig_node->orig, neigh_node->addr, _batadv_update_route()
103 * @orig_node: orig node which is to be configured
215 orig_node = batadv_orig_hash_find(bat_priv, icmph->orig); batadv_recv_my_icmp_packet()
225 ether_addr_copy(icmph->dst, icmph->orig); batadv_recv_my_icmp_packet()
226 ether_addr_copy(icmph->orig, primary_if->net_dev->dev_addr); batadv_recv_my_icmp_packet()
260 icmp_packet->orig, icmp_packet->dst); batadv_recv_icmp_ttl_exceeded()
269 orig_node = batadv_orig_hash_find(bat_priv, icmp_packet->orig); batadv_recv_icmp_ttl_exceeded()
279 ether_addr_copy(icmp_packet->dst, icmp_packet->orig); batadv_recv_icmp_ttl_exceeded()
280 ether_addr_copy(icmp_packet->orig, primary_if->net_dev->dev_addr); batadv_recv_icmp_ttl_exceeded()
659 if (batadv_compare_eth(orig_node->orig, unicast_packet->dest)) batadv_reroute_unicast_packet()
662 orig_addr = orig_node->orig; batadv_reroute_unicast_packet()
951 orig_node_src = batadv_orig_hash_find(bat_priv, frag_packet->orig); batadv_recv_frag_packet()
1018 if (batadv_is_my_mac(bat_priv, bcast_packet->orig)) batadv_recv_bcast_packet()
1024 orig_node = batadv_orig_hash_find(bat_priv, bcast_packet->orig); batadv_recv_bcast_packet()
H A Dfragmentation.h21 void batadv_frag_purge_orig(struct batadv_orig_node *orig,
H A Dbat_iv_ogm.c299 neigh_addr, orig_node->orig, batadv_iv_ogm_neigh_new()
350 ether_addr_copy(batadv_ogm_packet->orig, batadv_iv_ogm_iface_update_mac()
451 batadv_ogm_packet->orig, batadv_iv_ogm_send_to_if()
959 * @orig_node: the orig node who originally emitted the ogm packet
1119 * @orig_node: the orig node who originally emitted the ogm packet
1120 * @orig_neigh_node: the orig node struct of the neighbor who sent the packet
1148 orig_neigh_node->orig)) batadv_iv_ogm_calc_tq()
1164 orig_neigh_node->orig, batadv_iv_ogm_calc_tq()
1243 "bidirectional: orig = %-15pM neigh = %-15pM => own_bcast = %2i, real recv = %2i, local tq: %3i, asym_penalty: %3i, iface_penalty: %3i, total tq: %3i, if_incoming = %s, if_outgoing = %s\n", batadv_iv_ogm_calc_tq()
1244 orig_node->orig, orig_neigh_node->orig, total_count, batadv_iv_ogm_calc_tq()
1292 orig_node = batadv_iv_ogm_orig_get(bat_priv, batadv_ogm_packet->orig); batadv_iv_ogm_update_seqnos()
1368 * @orig_node: the (cached) orig node for the originator of this OGM
1406 if (batadv_compare_eth(ethhdr->h_source, ogm_packet->orig)) batadv_iv_ogm_process_per_outif()
1437 !(batadv_compare_eth(ogm_packet->orig, prev_sender)) && batadv_iv_ogm_process_per_outif()
1609 if_incoming->net_dev->dev_addr, ogm_packet->orig, batadv_iv_ogm_process()
1626 if (batadv_compare_eth(ogm_packet->orig, batadv_iv_ogm_process()
1661 ogm_packet->orig)) { batadv_iv_ogm_process()
1696 orig_node = batadv_iv_ogm_orig_get(bat_priv, ogm_packet->orig); batadv_iv_ogm_process()
1838 orig_node->orig, last_seen_secs, hlist_for_each_entry_rcu()
H A Dnetwork-coding.c97 * @orig: the orig_node of the ogm
103 struct batadv_orig_node *orig, batadv_nc_tvlv_ogm_handler_v1()
109 clear_bit(BATADV_ORIG_CAPA_HAS_NC, &orig->capabilities); batadv_nc_tvlv_ogm_handler_v1()
111 set_bit(BATADV_ORIG_CAPA_HAS_NC, &orig->capabilities); batadv_nc_tvlv_ogm_handler_v1()
310 nc_node->addr, nc_node->orig_node->orig); list_for_each_entry_safe()
704 * batadv_can_nc_with_orig - checks whether the given orig node is suitable for
707 * @orig_node: neighboring orig node which may be used as nc candidate
736 if (!batadv_compare_eth(ogm_packet->orig, ogm_packet->prev_sender)) batadv_can_nc_with_orig()
746 * @orig_node: orig node originating the ogm packet
747 * @orig_neigh_node: neighboring orig node from which we received the ogm packet
769 if (!batadv_compare_eth(nc_node->addr, orig_node->orig)) list_for_each_entry_rcu()
788 * @orig_node: orig node originating the ogm packet
789 * @orig_neigh_node: neighboring orig node from which we received the ogm packet
821 ether_addr_copy(nc_node->addr, orig_node->orig); batadv_nc_get_nc_node()
835 nc_node->addr, nc_node->orig_node->orig); batadv_nc_get_nc_node()
853 * @orig_node: orig node originating the ogm packet
854 * @orig_neigh_node: neighboring orig node from which we received the ogm packet
871 /* check if orig node is network coding enabled */ batadv_nc_update_nc_node()
1867 /* no need to print the orig node if it does not have hlist_for_each_entry_rcu()
1874 seq_printf(seq, "Node: %pM\n", orig_node->orig); hlist_for_each_entry_rcu()
102 batadv_nc_tvlv_ogm_handler_v1(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, uint8_t flags, void *tvlv_value, uint16_t tvlv_value_len) batadv_nc_tvlv_ogm_handler_v1() argument
H A Dgateway_client.c269 sprintf(gw_addr, "%pM", next_gw->orig_node->orig); batadv_gw_election()
294 next_gw->orig_node->orig, batadv_gw_election()
305 next_gw->orig_node->orig, batadv_gw_election()
430 orig_node->orig, batadv_gw_node_add()
494 orig_node->orig, batadv_gw_node_update()
512 orig_node->orig); batadv_gw_node_update()
597 gw_node->orig_node->orig, batadv_write_buffer_text()
H A Ddistributed-arp-table.c381 orig_addr = bcast_pkt->orig; batadv_dbg_arp()
425 /* check if orig node candidate is running DAT */ batadv_is_orig_node_eligible()
448 (batadv_compare_eth(candidate->orig, max_orig_node->orig) > 0)) batadv_is_orig_node_eligible()
513 select, max_orig_node->orig, max_orig_node->dat_addr,
674 * @orig: the orig_node of the ogm
680 struct batadv_orig_node *orig, batadv_dat_tvlv_ogm_handler_v1()
686 clear_bit(BATADV_ORIG_CAPA_HAS_DAT, &orig->capabilities); batadv_dat_tvlv_ogm_handler_v1()
688 set_bit(BATADV_ORIG_CAPA_HAS_DAT, &orig->capabilities); batadv_dat_tvlv_ogm_handler_v1()
679 batadv_dat_tvlv_ogm_handler_v1(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, uint8_t flags, void *tvlv_value, uint16_t tvlv_value_len) batadv_dat_tvlv_ogm_handler_v1() argument
H A Dfragmentation.c45 * batadv_frag_purge_orig - free fragments associated to an orig
276 /* Locking is not needed, because 'chain' is not part of any orig. */
456 ether_addr_copy(frag_header.orig, primary_if->net_dev->dev_addr); batadv_frag_send_packet()
457 ether_addr_copy(frag_header.dest, orig_node->orig); batadv_frag_send_packet()
H A Dtranslation-table.c198 * batadv_tt_global_hash_count - count the number of orig entries
318 * batadv_tt_orig_list_entry_release - release tt orig entry from lists and
320 * @orig_entry: tt orig entry to be free'd
373 /* DEL+ADD in the same orig interval have no effect and can be batadv_tt_local_event()
1328 if (batadv_bla_is_backbone_gw_orig(bat_priv, orig_node->orig, vid)) batadv_tt_global_add()
1429 orig_node->orig); batadv_tt_global_add()
1505 * batadv_tt_global_print_entry - print all orig nodes who announce the address
1536 best_entry->orig_node->orig); batadv_tt_global_print_entry()
1545 best_entry->ttvn, best_entry->orig_node->orig, batadv_tt_global_print_entry()
1568 orig_entry->orig_node->orig); hlist_for_each_entry_rcu()
1577 orig_entry->ttvn, orig_entry->orig_node->orig, hlist_for_each_entry_rcu()
1632 * @orig_entry: the orig entry to remove and free
1648 /* deletes the orig list of a tt_global_entry */
1691 orig_node->orig, hlist_for_each_entry_safe()
2259 ether_addr_copy(tt_req_node->addr, orig_node->orig); batadv_new_tt_req_node()
2379 orig_node->orig, batadv_tt_global_check_crc()
2431 if (batadv_bla_is_backbone_gw_orig(bat_priv, orig_node->orig, batadv_tt_global_update_crc()
2500 dst_orig_node->orig, full_table ? 'F' : '.'); batadv_send_tt_request()
2504 dst_orig_node->orig, BATADV_TVLV_TT, 1, batadv_send_tt_request()
2550 /* Let's get the orig node of the REAL destination */ batadv_send_other_tt_response()
2618 res_dst_orig_node->orig); batadv_send_other_tt_response()
2630 res_dst_orig_node->orig, req_dst_orig_node->orig, batadv_send_other_tt_response()
2635 batadv_tvlv_unicast_send(bat_priv, req_dst_orig_node->orig, batadv_send_other_tt_response()
2749 orig_node->orig, full_table ? 'F' : '.', req_ttvn); batadv_send_my_tt_response()
3071 orig_node->orig, client, BATADV_PRINT_VID(vid)); batadv_send_roam_adv()
3079 orig_node->orig, BATADV_TVLV_ROAM, 1, batadv_send_roam_adv()
3303 * @orig: the orig_node of the ogm
3309 * @tt_crc: crc32 checksum of orig node's translation table
3326 /* orig table not initialised AND first diff is in the OGM OR the ttvn batadv_tt_update_orig()
3375 orig_node->orig, ttvn, orig_ttvn, batadv_tt_update_orig()
3450 "Added temporary global client (addr: %pM, vid: %d, orig: %pM)\n", batadv_tt_add_temporary_global_entry()
3451 addr, BATADV_PRINT_VID(vid), orig_node->orig); batadv_tt_add_temporary_global_entry()
3501 * @orig: the orig_node of the ogm
3507 struct batadv_orig_node *orig, batadv_tt_tvlv_ogm_handler_v1()
3533 batadv_tt_update_orig(bat_priv, orig, tt_vlan, num_vlan, tt_change, batadv_tt_tvlv_ogm_handler_v1()
3506 batadv_tt_tvlv_ogm_handler_v1(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, uint8_t flags, void *tvlv_value, uint16_t tvlv_value_len) batadv_tt_tvlv_ogm_handler_v1() argument
H A Ddistributed-arp-table.h52 addr = batadv_choose_orig(orig_node->orig, BATADV_DAT_ADDR_MAX); batadv_dat_init_orig_node_addr()
H A Dmain.c893 * @orig_node: orig node emitting the ogm packet
946 * @orig_node: orig node emitting the ogm packet
1013 * @orig_node: orig node emitting the ogm packet
1040 * @optr: ogm tvlv handler callback function. This function receives the orig
1051 struct batadv_orig_node *orig, batadv_tvlv_handler_register()
1049 batadv_tvlv_handler_register(struct batadv_priv *bat_priv, void (*optr)(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, uint8_t flags, void *tvlv_value, uint16_t tvlv_value_len), int (*uptr)(struct batadv_priv *bat_priv, uint8_t *src, uint8_t *dst, void *tvlv_value, uint16_t tvlv_value_len), uint8_t type, uint8_t version, uint8_t flags) batadv_tvlv_handler_register() argument
H A Dsend.c169 ether_addr_copy(unicast_packet->dest, orig_node->orig); batadv_send_skb_push_fill_unicast()
203 struct batadv_orig_node *orig, batadv_send_skb_prepare_unicast_4addr()
219 orig)) batadv_send_skb_prepare_unicast_4addr()
201 batadv_send_skb_prepare_unicast_4addr(struct batadv_priv *bat_priv, struct sk_buff *skb, struct batadv_orig_node *orig, int packet_subtype) batadv_send_skb_prepare_unicast_4addr() argument
H A Dicmp_socket.c254 ether_addr_copy(icmp_header->orig, primary_if->net_dev->dev_addr); batadv_socket_write()
H A Dmain.h367 struct batadv_orig_node *orig,
H A Dsoft-interface.c296 /* hw address of first interface is the orig mac because only batadv_interface_tx()
299 ether_addr_copy(bcast_packet->orig, batadv_interface_tx()
/linux-4.1.27/drivers/pci/pcie/aer/
H A Daerdrv.h82 static inline pci_ers_result_t merge_result(enum pci_ers_result orig, merge_result() argument
89 return orig; merge_result()
91 switch (orig) { merge_result()
94 orig = new; merge_result()
98 orig = PCI_ERS_RESULT_NEED_RESET; merge_result()
104 return orig; merge_result()
/linux-4.1.27/net/netfilter/
H A Dxt_DSCP.c81 u_int8_t orig, nv; tos_tg() local
83 orig = ipv4_get_dsfield(iph); tos_tg()
84 nv = (orig & ~info->tos_mask) ^ info->tos_value; tos_tg()
86 if (orig != nv) { tos_tg()
101 u_int8_t orig, nv; tos_tg6() local
103 orig = ipv6_get_dsfield(iph); tos_tg6()
104 nv = (orig & ~info->tos_mask) ^ info->tos_value; tos_tg6()
106 if (orig != nv) { tos_tg6()
H A Dnf_conntrack_l3proto_generic.c44 const struct nf_conntrack_tuple *orig) generic_invert_tuple()
43 generic_invert_tuple(struct nf_conntrack_tuple *tuple, const struct nf_conntrack_tuple *orig) generic_invert_tuple() argument
H A Dnf_conntrack_core.c218 const struct nf_conntrack_tuple *orig, nf_ct_invert_tuple()
224 inverse->src.l3num = orig->src.l3num; nf_ct_invert_tuple()
225 if (l3proto->invert_tuple(inverse, orig) == 0) nf_ct_invert_tuple()
228 inverse->dst.dir = !orig->dst.dir; nf_ct_invert_tuple()
230 inverse->dst.protonum = orig->dst.protonum; nf_ct_invert_tuple()
231 return l4proto->invert_tuple(inverse, orig); nf_ct_invert_tuple()
792 const struct nf_conntrack_tuple *orig, __nf_conntrack_alloc()
801 hash = hash_conntrack_raw(orig, zone); __nf_conntrack_alloc()
826 ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple = *orig; __nf_conntrack_alloc()
863 const struct nf_conntrack_tuple *orig, nf_conntrack_alloc()
867 return __nf_conntrack_alloc(net, zone, orig, repl, gfp, 0); nf_conntrack_alloc()
1166 const struct nf_conntrack_tuple *orig) nf_ct_invert_tuplepr()
1171 ret = nf_ct_invert_tuple(inverse, orig, nf_ct_invert_tuplepr()
1172 __nf_ct_l3proto_find(orig->src.l3num), nf_ct_invert_tuplepr()
1173 __nf_ct_l4proto_find(orig->src.l3num, nf_ct_invert_tuplepr()
1174 orig->dst.protonum)); nf_ct_invert_tuplepr()
217 nf_ct_invert_tuple(struct nf_conntrack_tuple *inverse, const struct nf_conntrack_tuple *orig, const struct nf_conntrack_l3proto *l3proto, const struct nf_conntrack_l4proto *l4proto) nf_ct_invert_tuple() argument
791 __nf_conntrack_alloc(struct net *net, u16 zone, const struct nf_conntrack_tuple *orig, const struct nf_conntrack_tuple *repl, gfp_t gfp, u32 hash) __nf_conntrack_alloc() argument
862 nf_conntrack_alloc(struct net *net, u16 zone, const struct nf_conntrack_tuple *orig, const struct nf_conntrack_tuple *repl, gfp_t gfp) nf_conntrack_alloc() argument
1165 nf_ct_invert_tuplepr(struct nf_conntrack_tuple *inverse, const struct nf_conntrack_tuple *orig) nf_ct_invert_tuplepr() argument
H A Dnf_conntrack_proto_gre.c135 dir == IP_CT_DIR_REPLY ? "reply" : "orig", ct); nf_ct_gre_keymap_add()
184 const struct nf_conntrack_tuple *orig) gre_invert_tuple()
186 tuple->dst.u.gre.key = orig->src.u.gre.key; gre_invert_tuple()
187 tuple->src.u.gre.key = orig->dst.u.gre.key; gre_invert_tuple()
183 gre_invert_tuple(struct nf_conntrack_tuple *tuple, const struct nf_conntrack_tuple *orig) gre_invert_tuple() argument
H A Dnf_conntrack_proto_udp.c58 const struct nf_conntrack_tuple *orig) udp_invert_tuple()
60 tuple->src.u.udp.port = orig->dst.u.udp.port; udp_invert_tuple()
61 tuple->dst.u.udp.port = orig->src.u.udp.port; udp_invert_tuple()
57 udp_invert_tuple(struct nf_conntrack_tuple *tuple, const struct nf_conntrack_tuple *orig) udp_invert_tuple() argument
H A Dnf_conntrack_proto_udplite.c66 const struct nf_conntrack_tuple *orig) udplite_invert_tuple()
68 tuple->src.u.udp.port = orig->dst.u.udp.port; udplite_invert_tuple()
69 tuple->dst.u.udp.port = orig->src.u.udp.port; udplite_invert_tuple()
65 udplite_invert_tuple(struct nf_conntrack_tuple *tuple, const struct nf_conntrack_tuple *orig) udplite_invert_tuple() argument
H A Dnf_conntrack_proto_generic.c57 const struct nf_conntrack_tuple *orig) generic_invert_tuple()
56 generic_invert_tuple(struct nf_conntrack_tuple *tuple, const struct nf_conntrack_tuple *orig) generic_invert_tuple() argument
H A Dnf_conntrack_proto_sctp.c115 /* cookie_ack */ {sCL, sCL, sCW, sCE, sES, sSS, sSR, sSA},/* Can't come in orig dir */
161 const struct nf_conntrack_tuple *orig) sctp_invert_tuple()
163 tuple->src.u.sctp.port = orig->dst.u.sctp.port; sctp_invert_tuple()
164 tuple->dst.u.sctp.port = orig->src.u.sctp.port; sctp_invert_tuple()
160 sctp_invert_tuple(struct nf_conntrack_tuple *tuple, const struct nf_conntrack_tuple *orig) sctp_invert_tuple() argument
H A Dnf_conntrack_proto_tcp.c297 const struct nf_conntrack_tuple *orig) tcp_invert_tuple()
299 tuple->src.u.tcp.port = orig->dst.u.tcp.port; tcp_invert_tuple()
300 tuple->dst.u.tcp.port = orig->src.u.tcp.port; tcp_invert_tuple()
296 tcp_invert_tuple(struct nf_conntrack_tuple *tuple, const struct nf_conntrack_tuple *orig) tcp_invert_tuple() argument
/linux-4.1.27/arch/sparc/mm/
H A Dtlb.c105 pte_t *ptep, pte_t orig, int fullmm) tlb_batch_add()
108 pte_dirty(orig)) { tlb_batch_add()
109 unsigned long paddr, pfn = pte_pfn(orig); tlb_batch_add()
132 tlb_batch_add_one(mm, vaddr, pte_exec(orig)); tlb_batch_add()
159 pmd_t orig = *pmdp; set_pmd_at() local
166 if ((pmd_val(pmd) ^ pmd_val(orig)) & _PAGE_PMD_HUGE) { set_pmd_at()
182 if (!pmd_none(orig)) { set_pmd_at()
184 if (pmd_trans_huge(orig)) { set_pmd_at()
185 pte_t orig_pte = __pte(pmd_val(orig)); set_pmd_at()
191 tlb_batch_pmd_scan(mm, addr, orig); set_pmd_at()
104 tlb_batch_add(struct mm_struct *mm, unsigned long vaddr, pte_t *ptep, pte_t orig, int fullmm) tlb_batch_add() argument
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
H A Dsym_misc.h104 static inline void sym_que_move(struct sym_quehead *orig, sym_que_move() argument
109 first = orig->flink; sym_que_move()
110 if (first != orig) { sym_que_move()
113 last = orig->blink; sym_que_move()
116 orig->flink = orig; sym_que_move()
117 orig->blink = orig; sym_que_move()
/linux-4.1.27/arch/x86/include/asm/
H A Dalternative-asm.h21 .macro altinstruction_entry orig alt feature orig_len alt_len pad_len
22 .long \orig - .
H A Dpgtable-3level.h166 union split_pmd res, *orig = (union split_pmd *)pmdp; native_pmdp_get_and_clear() local
169 res.pmd_low = xchg(&orig->pmd_low, 0); native_pmdp_get_and_clear()
170 res.pmd_high = orig->pmd_high; native_pmdp_get_and_clear()
171 orig->pmd_high = 0; native_pmdp_get_and_clear()
/linux-4.1.27/include/uapi/linux/netfilter_bridge/
H A Debt_802_3.h33 __u8 orig[3]; member in struct:hdr_ui
41 __u8 orig[3]; member in struct:hdr_ni
/linux-4.1.27/arch/m68k/include/asm/
H A Dentry.h72 movel %d0,%sp@- /* orig d0 */
82 movel %d0,%sp@- /* orig d0 */
103 addql #4,%sp /* orig d0 */
128 movel %d0,%sp@- /* orig d0 */
137 pea -1:w /* orig d0 */
147 addql #4,%sp /* orig d0 */
187 pea -1:w /* orig d0 */
194 movel %d0,%sp@- /* orig d0 */
202 addql #4,%sp /* orig d0 */
248 "pea -1:w;" /* orig d0 = -1 */ \
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/
H A Dsmd.c930 const struct wcn36xx_hal_config_sta_params *orig, wcn36xx_smd_convert_sta_to_v1()
933 /* convert orig to v1 format */ wcn36xx_smd_convert_sta_to_v1()
934 memcpy(&v1->bssid, orig->bssid, ETH_ALEN); wcn36xx_smd_convert_sta_to_v1()
935 memcpy(&v1->mac, orig->mac, ETH_ALEN); wcn36xx_smd_convert_sta_to_v1()
936 v1->aid = orig->aid; wcn36xx_smd_convert_sta_to_v1()
937 v1->type = orig->type; wcn36xx_smd_convert_sta_to_v1()
938 v1->listen_interval = orig->listen_interval; wcn36xx_smd_convert_sta_to_v1()
939 v1->ht_capable = orig->ht_capable; wcn36xx_smd_convert_sta_to_v1()
941 v1->max_ampdu_size = orig->max_ampdu_size; wcn36xx_smd_convert_sta_to_v1()
942 v1->max_ampdu_density = orig->max_ampdu_density; wcn36xx_smd_convert_sta_to_v1()
943 v1->sgi_40mhz = orig->sgi_40mhz; wcn36xx_smd_convert_sta_to_v1()
944 v1->sgi_20Mhz = orig->sgi_20Mhz; wcn36xx_smd_convert_sta_to_v1()
946 memcpy(&v1->supported_rates, &orig->supported_rates, wcn36xx_smd_convert_sta_to_v1()
947 sizeof(orig->supported_rates)); wcn36xx_smd_convert_sta_to_v1()
948 v1->sta_index = orig->sta_index; wcn36xx_smd_convert_sta_to_v1()
985 const struct wcn36xx_hal_config_sta_req_msg *orig) wcn36xx_smd_config_sta_v1()
992 wcn36xx_smd_convert_sta_to_v1(wcn, &orig->sta_params, wcn36xx_smd_config_sta_v1()
1050 const struct wcn36xx_hal_config_bss_req_msg *orig) wcn36xx_smd_config_bss_v1()
1058 /* convert orig to v1 */ wcn36xx_smd_config_bss_v1()
1060 &orig->bss_params.bssid, ETH_ALEN); wcn36xx_smd_config_bss_v1()
1062 &orig->bss_params.self_mac_addr, ETH_ALEN); wcn36xx_smd_config_bss_v1()
1064 msg_body.bss_params.bss_type = orig->bss_params.bss_type; wcn36xx_smd_config_bss_v1()
1065 msg_body.bss_params.oper_mode = orig->bss_params.oper_mode; wcn36xx_smd_config_bss_v1()
1066 msg_body.bss_params.nw_type = orig->bss_params.nw_type; wcn36xx_smd_config_bss_v1()
1069 orig->bss_params.short_slot_time_supported; wcn36xx_smd_config_bss_v1()
1070 msg_body.bss_params.lla_coexist = orig->bss_params.lla_coexist; wcn36xx_smd_config_bss_v1()
1071 msg_body.bss_params.llb_coexist = orig->bss_params.llb_coexist; wcn36xx_smd_config_bss_v1()
1072 msg_body.bss_params.llg_coexist = orig->bss_params.llg_coexist; wcn36xx_smd_config_bss_v1()
1073 msg_body.bss_params.ht20_coexist = orig->bss_params.ht20_coexist; wcn36xx_smd_config_bss_v1()
1075 orig->bss_params.lln_non_gf_coexist; wcn36xx_smd_config_bss_v1()
1078 orig->bss_params.lsig_tx_op_protection_full_support; wcn36xx_smd_config_bss_v1()
1079 msg_body.bss_params.rifs_mode = orig->bss_params.rifs_mode; wcn36xx_smd_config_bss_v1()
1080 msg_body.bss_params.beacon_interval = orig->bss_params.beacon_interval; wcn36xx_smd_config_bss_v1()
1081 msg_body.bss_params.dtim_period = orig->bss_params.dtim_period; wcn36xx_smd_config_bss_v1()
1083 orig->bss_params.tx_channel_width_set; wcn36xx_smd_config_bss_v1()
1084 msg_body.bss_params.oper_channel = orig->bss_params.oper_channel; wcn36xx_smd_config_bss_v1()
1085 msg_body.bss_params.ext_channel = orig->bss_params.ext_channel; wcn36xx_smd_config_bss_v1()
1087 msg_body.bss_params.reserved = orig->bss_params.reserved; wcn36xx_smd_config_bss_v1()
1090 &orig->bss_params.ssid, wcn36xx_smd_config_bss_v1()
1091 sizeof(orig->bss_params.ssid)); wcn36xx_smd_config_bss_v1()
1093 msg_body.bss_params.action = orig->bss_params.action; wcn36xx_smd_config_bss_v1()
1094 msg_body.bss_params.rateset = orig->bss_params.rateset; wcn36xx_smd_config_bss_v1()
1095 msg_body.bss_params.ht = orig->bss_params.ht; wcn36xx_smd_config_bss_v1()
1097 orig->bss_params.obss_prot_enabled; wcn36xx_smd_config_bss_v1()
1098 msg_body.bss_params.rmf = orig->bss_params.rmf; wcn36xx_smd_config_bss_v1()
1099 msg_body.bss_params.ht_oper_mode = orig->bss_params.ht_oper_mode; wcn36xx_smd_config_bss_v1()
1101 orig->bss_params.dual_cts_protection; wcn36xx_smd_config_bss_v1()
1104 orig->bss_params.max_probe_resp_retry_limit; wcn36xx_smd_config_bss_v1()
1105 msg_body.bss_params.hidden_ssid = orig->bss_params.hidden_ssid; wcn36xx_smd_config_bss_v1()
1107 orig->bss_params.proxy_probe_resp; wcn36xx_smd_config_bss_v1()
1109 orig->bss_params.edca_params_valid; wcn36xx_smd_config_bss_v1()
1112 &orig->bss_params.acbe, wcn36xx_smd_config_bss_v1()
1113 sizeof(orig->bss_params.acbe)); wcn36xx_smd_config_bss_v1()
1115 &orig->bss_params.acbk, wcn36xx_smd_config_bss_v1()
1116 sizeof(orig->bss_params.acbk)); wcn36xx_smd_config_bss_v1()
1118 &orig->bss_params.acvi, wcn36xx_smd_config_bss_v1()
1119 sizeof(orig->bss_params.acvi)); wcn36xx_smd_config_bss_v1()
1121 &orig->bss_params.acvo, wcn36xx_smd_config_bss_v1()
1122 sizeof(orig->bss_params.acvo)); wcn36xx_smd_config_bss_v1()
1125 orig->bss_params.ext_set_sta_key_param_valid; wcn36xx_smd_config_bss_v1()
1128 &orig->bss_params.ext_set_sta_key_param, wcn36xx_smd_config_bss_v1()
1129 sizeof(orig->bss_params.acvo)); wcn36xx_smd_config_bss_v1()
1132 orig->bss_params.wcn36xx_hal_persona; wcn36xx_smd_config_bss_v1()
1134 orig->bss_params.spectrum_mgt_enable; wcn36xx_smd_config_bss_v1()
1135 msg_body.bss_params.tx_mgmt_power = orig->bss_params.tx_mgmt_power; wcn36xx_smd_config_bss_v1()
1136 msg_body.bss_params.max_tx_power = orig->bss_params.max_tx_power; wcn36xx_smd_config_bss_v1()
1138 wcn36xx_smd_convert_sta_to_v1(wcn, &orig->bss_params.sta, wcn36xx_smd_config_bss_v1()
929 wcn36xx_smd_convert_sta_to_v1(struct wcn36xx *wcn, const struct wcn36xx_hal_config_sta_params *orig, struct wcn36xx_hal_config_sta_params_v1 *v1) wcn36xx_smd_convert_sta_to_v1() argument
984 wcn36xx_smd_config_sta_v1(struct wcn36xx *wcn, const struct wcn36xx_hal_config_sta_req_msg *orig) wcn36xx_smd_config_sta_v1() argument
1049 wcn36xx_smd_config_bss_v1(struct wcn36xx *wcn, const struct wcn36xx_hal_config_bss_req_msg *orig) wcn36xx_smd_config_bss_v1() argument
/linux-4.1.27/arch/m32r/mm/
H A Dinit.c110 * orig : arch/sh/mm/init.c
132 * orig : arch/sh/mm/init.c
142 * orig : arch/sh/mm/init.c
/linux-4.1.27/net/netfilter/ipvs/
H A Dip_vs_nfct.c146 struct nf_conntrack_tuple *orig, new_reply; ip_vs_nfct_expect_callback() local
163 orig = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; ip_vs_nfct_expect_callback()
164 ip_vs_conn_fill_param(net, exp->tuple.src.l3num, orig->dst.protonum, ip_vs_nfct_expect_callback()
165 &orig->src.u3, orig->src.u.tcp.port, ip_vs_nfct_expect_callback()
166 &orig->dst.u3, orig->dst.u.tcp.port, &p); ip_vs_nfct_expect_callback()
174 ARG_TUPLE(orig), ARG_TUPLE(&new_reply), ip_vs_nfct_expect_callback()
181 ARG_TUPLE(orig), ARG_TUPLE(&new_reply), ip_vs_nfct_expect_callback()
194 ARG_TUPLE(orig), ARG_TUPLE(&new_reply), ip_vs_nfct_expect_callback()
201 ARG_TUPLE(orig), ARG_TUPLE(&new_reply), ip_vs_nfct_expect_callback()
208 __func__, ct, ct->status, ARG_TUPLE(orig)); ip_vs_nfct_expect_callback()
H A Dip_vs_sync.c450 unsigned long orig = ACCESS_ONCE(cp->sync_endtime); ip_vs_sync_conn_needed() local
491 long diff = n - orig; ip_vs_sync_conn_needed()
498 int retries = orig & 3; ip_vs_sync_conn_needed()
502 if (time_before(now, orig - cp->timeout + ip_vs_sync_conn_needed()
519 n = cmpxchg(&cp->sync_endtime, orig, n); ip_vs_sync_conn_needed()
520 return n == orig || force; ip_vs_sync_conn_needed()
/linux-4.1.27/include/net/
H A Dinetpeer.h98 unsigned long orig = *ptr; inetpeer_ptr_set_peer() local
100 if (!(orig & INETPEER_BASE_BIT) || inetpeer_ptr_set_peer()
101 cmpxchg(ptr, orig, val) != orig) inetpeer_ptr_set_peer()
H A Dxfrm.h303 struct dst_entry *(*blackhole_route)(struct net *net, struct dst_entry *orig);
1711 struct xfrm_state *orig) xfrm_replay_clone()
1713 x->replay_esn = kzalloc(xfrm_replay_state_esn_len(orig->replay_esn), xfrm_replay_clone()
1718 x->replay_esn->bmp_len = orig->replay_esn->bmp_len; xfrm_replay_clone()
1719 x->replay_esn->replay_window = orig->replay_esn->replay_window; xfrm_replay_clone()
1732 static inline struct xfrm_algo_aead *xfrm_algo_aead_clone(struct xfrm_algo_aead *orig) xfrm_algo_aead_clone() argument
1734 return kmemdup(orig, aead_len(orig), GFP_KERNEL); xfrm_algo_aead_clone()
1738 static inline struct xfrm_algo *xfrm_algo_clone(struct xfrm_algo *orig) xfrm_algo_clone() argument
1740 return kmemdup(orig, xfrm_alg_len(orig), GFP_KERNEL); xfrm_algo_clone()
1743 static inline struct xfrm_algo_auth *xfrm_algo_auth_clone(struct xfrm_algo_auth *orig) xfrm_algo_auth_clone() argument
1745 return kmemdup(orig, xfrm_alg_auth_len(orig), GFP_KERNEL); xfrm_algo_auth_clone()
1710 xfrm_replay_clone(struct xfrm_state *x, struct xfrm_state *orig) xfrm_replay_clone() argument
/linux-4.1.27/arch/s390/kernel/
H A Dftrace.c107 struct ftrace_insn orig, new, old; ftrace_make_nop() local
113 ftrace_generate_orig_insn(&orig); ftrace_make_nop()
123 ftrace_generate_kprobe_call_insn(&orig); ftrace_make_nop()
127 ftrace_generate_call_insn(&orig, rec->ip); ftrace_make_nop()
131 if (memcmp(&orig, &old, sizeof(old))) ftrace_make_nop()
139 struct ftrace_insn orig, new, old; ftrace_make_call() local
151 ftrace_generate_kprobe_nop_insn(&orig); ftrace_make_call()
155 ftrace_generate_nop_insn(&orig); ftrace_make_call()
159 if (memcmp(&orig, &old, sizeof(old))) ftrace_make_call()
H A Duprobes.c143 unsigned long orig; arch_uretprobe_hijack_return_addr() local
145 orig = regs->gprs[14]; arch_uretprobe_hijack_return_addr()
147 return orig; arch_uretprobe_hijack_return_addr()
/linux-4.1.27/arch/arc/oprofile/
H A Dcommon.c8 * Based on orig code from @author John Levon <levon@movementarian.org>
/linux-4.1.27/kernel/trace/
H A Dtrace_probe.c111 struct fetch_param orig; local
123 call_fetch(&dprm->orig, regs, &addr); \
140 call_fetch(&dprm->orig, regs, &addr); DEFINE_BASIC_FETCH_FUNCS()
151 if (CHECK_FETCH_FUNCS(deref, data->orig.fn)) update_deref_fetch_param()
152 update_deref_fetch_param(data->orig.data); update_deref_fetch_param()
153 else if (CHECK_FETCH_FUNCS(symbol, data->orig.fn)) update_deref_fetch_param()
154 update_symbol_cache(data->orig.data); update_deref_fetch_param()
160 if (CHECK_FETCH_FUNCS(deref, data->orig.fn)) free_deref_fetch_param()
161 free_deref_fetch_param(data->orig.data); free_deref_fetch_param()
162 else if (CHECK_FETCH_FUNCS(symbol, data->orig.fn)) free_deref_fetch_param()
163 free_symbol_cache(data->orig.data); free_deref_fetch_param()
170 struct fetch_param orig; member in struct:bitfield_fetch_param
181 call_fetch(&bprm->orig, regs, &buf); \
200 if (CHECK_FETCH_FUNCS(deref, data->orig.fn)) update_bitfield_fetch_param()
201 update_deref_fetch_param(data->orig.data); update_bitfield_fetch_param()
202 else if (CHECK_FETCH_FUNCS(symbol, data->orig.fn)) update_bitfield_fetch_param()
203 update_symbol_cache(data->orig.data); update_bitfield_fetch_param()
213 if (CHECK_FETCH_FUNCS(deref, data->orig.fn)) free_bitfield_fetch_param()
214 free_deref_fetch_param(data->orig.data); free_bitfield_fetch_param()
215 else if (CHECK_FETCH_FUNCS(symbol, data->orig.fn)) free_bitfield_fetch_param()
216 free_symbol_cache(data->orig.data); free_bitfield_fetch_param()
446 ret = parse_probe_arg(arg, t2, &dprm->orig, is_return, parse_probe_arg()
483 bprm->orig = *f; __parse_bitfield_probe_arg()
/linux-4.1.27/arch/sparc/kernel/
H A Dsetup_32.c54 0, 0, /* orig-x, orig-y */
56 0, /* orig-video-page */
57 0, /* orig-video-mode */
58 128, /* orig-video-cols */
60 54, /* orig-video-lines */
61 0, /* orig-video-isVGA */
62 16 /* orig-video-points */
H A Dsetup_64.c68 0, 0, /* orig-x, orig-y */
70 0, /* orig-video-page */
71 0, /* orig-video-mode */
72 128, /* orig-video-cols */
74 54, /* orig-video-lines */
75 0, /* orig-video-isVGA */
76 16 /* orig-video-points */
/linux-4.1.27/drivers/md/persistent-data/
H A Ddm-transaction-manager.c263 static int __shadow_block(struct dm_transaction_manager *tm, dm_block_t orig, __shadow_block() argument
275 r = dm_sm_dec_block(tm->sm, orig); __shadow_block()
279 r = dm_bm_read_lock(tm->bm, orig, v, &orig_block); __shadow_block()
303 int dm_tm_shadow_block(struct dm_transaction_manager *tm, dm_block_t orig, dm_tm_shadow_block() argument
312 r = dm_sm_count_is_more_than_one(tm->sm, orig, inc_children); dm_tm_shadow_block()
316 if (is_shadow(tm, orig) && !*inc_children) dm_tm_shadow_block()
317 return dm_bm_write_lock(tm->bm, orig, v, result); dm_tm_shadow_block()
319 r = __shadow_block(tm, orig, v, result); dm_tm_shadow_block()
H A Ddm-transaction-manager.h70 * dm_tm_shadow_block() allocates a new block and copies the data from @orig
73 * confuse this with a clone - you shouldn't access the orig block after
82 * Shadowing implicitly drops a reference on @orig so you must not have
85 int dm_tm_shadow_block(struct dm_transaction_manager *tm, dm_block_t orig,
H A Ddm-btree-spine.c101 static int bn_shadow(struct dm_btree_info *info, dm_block_t orig, bn_shadow() argument
107 r = dm_tm_shadow_block(info->tm, orig, &btree_node_validator, bn_shadow()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dvce_v2_0.c71 u32 orig, tmp; vce_v2_0_set_dyn_cg() local
83 orig = tmp = RREG32(VCE_UENC_CLOCK_GATING); vce_v2_0_set_dyn_cg()
86 if (tmp != orig) vce_v2_0_set_dyn_cg()
89 orig = tmp = RREG32(VCE_UENC_REG_CLOCK_GATING); vce_v2_0_set_dyn_cg()
91 if (tmp != orig) vce_v2_0_set_dyn_cg()
H A Dsi.c5191 u32 data, orig; si_halt_rlc() local
5193 orig = data = RREG32(RLC_CNTL); si_halt_rlc()
5202 return orig; si_halt_rlc()
5216 u32 data, orig; si_enable_dma_pg() local
5218 orig = data = RREG32(DMA_PG); si_enable_dma_pg()
5223 if (orig != data) si_enable_dma_pg()
5342 u32 data, orig, tmp; si_enable_cgcg() local
5344 orig = data = RREG32(RLC_CGCG_CGLS_CTRL); si_enable_cgcg()
5375 if (orig != data) si_enable_cgcg()
5382 u32 data, orig, tmp = 0; si_enable_mgcg() local
5385 orig = data = RREG32(CGTS_SM_CTRL_REG); si_enable_mgcg()
5387 if (orig != data) si_enable_mgcg()
5391 orig = data = RREG32(CP_MEM_SLP_CNTL); si_enable_mgcg()
5393 if (orig != data) si_enable_mgcg()
5397 orig = data = RREG32(RLC_CGTT_MGCG_OVERRIDE); si_enable_mgcg()
5399 if (orig != data) si_enable_mgcg()
5410 orig = data = RREG32(RLC_CGTT_MGCG_OVERRIDE); si_enable_mgcg()
5412 if (orig != data) si_enable_mgcg()
5420 orig = data = RREG32(CGTS_SM_CTRL_REG); si_enable_mgcg()
5422 if (orig != data) si_enable_mgcg()
5438 u32 orig, data, tmp; si_enable_uvd_mgcg() local
5445 orig = data = RREG32(UVD_CGC_CTRL); si_enable_uvd_mgcg()
5447 if (orig != data) si_enable_uvd_mgcg()
5457 orig = data = RREG32(UVD_CGC_CTRL); si_enable_uvd_mgcg()
5459 if (orig != data) si_enable_uvd_mgcg()
5484 u32 orig, data; si_enable_mc_ls() local
5487 orig = data = RREG32(mc_cg_registers[i]); si_enable_mc_ls()
5492 if (data != orig) si_enable_mc_ls()
5501 u32 orig, data; si_enable_mc_mgcg() local
5504 orig = data = RREG32(mc_cg_registers[i]); si_enable_mc_mgcg()
5509 if (data != orig) si_enable_mc_mgcg()
5517 u32 orig, data, offset; si_enable_dma_mgcg() local
5526 orig = data = RREG32(DMA_POWER_CNTL + offset); si_enable_dma_mgcg()
5528 if (data != orig) si_enable_dma_mgcg()
5538 orig = data = RREG32(DMA_POWER_CNTL + offset); si_enable_dma_mgcg()
5540 if (data != orig) si_enable_dma_mgcg()
5543 orig = data = RREG32(DMA_CLK_CTRL + offset); si_enable_dma_mgcg()
5545 if (data != orig) si_enable_dma_mgcg()
5554 u32 orig, data; si_enable_bif_mgls() local
5556 orig = data = RREG32_PCIE(PCIE_CNTL2); si_enable_bif_mgls()
5565 if (orig != data) si_enable_bif_mgls()
5572 u32 orig, data; si_enable_hdp_mgcg() local
5574 orig = data = RREG32(HDP_HOST_PATH_CNTL); si_enable_hdp_mgcg()
5581 if (orig != data) si_enable_hdp_mgcg()
5588 u32 orig, data; si_enable_hdp_ls() local
5590 orig = data = RREG32(HDP_MEM_POWER_LS); si_enable_hdp_ls()
5597 if (orig != data) si_enable_hdp_ls()
7524 u32 data, orig; si_program_aspm() local
7534 orig = data = RREG32_PCIE_PORT(PCIE_LC_N_FTS_CNTL); si_program_aspm()
7537 if (orig != data) si_program_aspm()
7540 orig = data = RREG32_PCIE_PORT(PCIE_LC_CNTL3); si_program_aspm()
7542 if (orig != data) si_program_aspm()
7545 orig = data = RREG32_PCIE(PCIE_P_CNTL); si_program_aspm()
7547 if (orig != data) si_program_aspm()
7550 orig = data = RREG32_PCIE_PORT(PCIE_LC_CNTL); si_program_aspm()
7559 if (orig != data) si_program_aspm()
7565 orig = data = RREG32_PIF_PHY0(PB0_PIF_PWRDOWN_0); si_program_aspm()
7568 if (orig != data) si_program_aspm()
7571 orig = data = RREG32_PIF_PHY0(PB0_PIF_PWRDOWN_1); si_program_aspm()
7574 if (orig != data) si_program_aspm()
7577 orig = data = RREG32_PIF_PHY1(PB1_PIF_PWRDOWN_0); si_program_aspm()
7580 if (orig != data) si_program_aspm()
7583 orig = data = RREG32_PIF_PHY1(PB1_PIF_PWRDOWN_1); si_program_aspm()
7586 if (orig != data) si_program_aspm()
7590 orig = data = RREG32_PIF_PHY0(PB0_PIF_PWRDOWN_0); si_program_aspm()
7592 if (orig != data) si_program_aspm()
7595 orig = data = RREG32_PIF_PHY0(PB0_PIF_PWRDOWN_1); si_program_aspm()
7597 if (orig != data) si_program_aspm()
7600 orig = data = RREG32_PIF_PHY0(PB0_PIF_PWRDOWN_2); si_program_aspm()
7602 if (orig != data) si_program_aspm()
7605 orig = data = RREG32_PIF_PHY0(PB0_PIF_PWRDOWN_3); si_program_aspm()
7607 if (orig != data) si_program_aspm()
7610 orig = data = RREG32_PIF_PHY1(PB1_PIF_PWRDOWN_0); si_program_aspm()
7612 if (orig != data) si_program_aspm()
7615 orig = data = RREG32_PIF_PHY1(PB1_PIF_PWRDOWN_1); si_program_aspm()
7617 if (orig != data) si_program_aspm()
7620 orig = data = RREG32_PIF_PHY1(PB1_PIF_PWRDOWN_2); si_program_aspm()
7622 if (orig != data) si_program_aspm()
7625 orig = data = RREG32_PIF_PHY1(PB1_PIF_PWRDOWN_3); si_program_aspm()
7627 if (orig != data) si_program_aspm()
7630 orig = data = RREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL); si_program_aspm()
7633 if (orig != data) si_program_aspm()
7636 orig = data = RREG32_PIF_PHY0(PB0_PIF_CNTL); si_program_aspm()
7640 if (orig != data) si_program_aspm()
7643 orig = data = RREG32_PIF_PHY1(PB1_PIF_CNTL); si_program_aspm()
7647 if (orig != data) si_program_aspm()
7664 orig = data = RREG32_PCIE_PORT(PCIE_LC_CNTL2); si_program_aspm()
7666 if (orig != data) si_program_aspm()
7669 orig = data = RREG32(THM_CLK_CNTL); si_program_aspm()
7672 if (orig != data) si_program_aspm()
7675 orig = data = RREG32(MISC_CLK_CNTL); si_program_aspm()
7678 if (orig != data) si_program_aspm()
7681 orig = data = RREG32(CG_CLKPIN_CNTL); si_program_aspm()
7683 if (orig != data) si_program_aspm()
7686 orig = data = RREG32(CG_CLKPIN_CNTL_2); si_program_aspm()
7688 if (orig != data) si_program_aspm()
7691 orig = data = RREG32(MPLL_BYPASSCLK_SEL); si_program_aspm()
7694 if (orig != data) si_program_aspm()
7697 orig = data = RREG32(SPLL_CNTL_MODE); si_program_aspm()
7699 if (orig != data) si_program_aspm()
7704 if (orig != data) si_program_aspm()
7708 orig = data = RREG32_PCIE(PCIE_CNTL2); si_program_aspm()
7710 if (orig != data) si_program_aspm()
7718 orig = data = RREG32_PCIE_PORT(PCIE_LC_CNTL); si_program_aspm()
7720 if (orig != data) si_program_aspm()
H A Dcik.c6231 u32 data, orig; cik_halt_rlc() local
6233 orig = data = RREG32(RLC_CNTL); cik_halt_rlc()
6250 return orig; cik_halt_rlc()
6408 u32 data, orig, tmp, tmp2; cik_enable_cgcg() local
6410 orig = data = RREG32(RLC_CGCG_CGLS_CTRL); cik_enable_cgcg()
6439 if (orig != data) cik_enable_cgcg()
6446 u32 data, orig, tmp = 0; cik_enable_mgcg() local
6451 orig = data = RREG32(CP_MEM_SLP_CNTL); cik_enable_mgcg()
6453 if (orig != data) cik_enable_mgcg()
6458 orig = data = RREG32(RLC_CGTT_MGCG_OVERRIDE); cik_enable_mgcg()
6461 if (orig != data) cik_enable_mgcg()
6477 orig = data = RREG32(CGTS_SM_CTRL_REG); cik_enable_mgcg()
6488 if (orig != data) cik_enable_mgcg()
6492 orig = data = RREG32(RLC_CGTT_MGCG_OVERRIDE); cik_enable_mgcg()
6494 if (orig != data) cik_enable_mgcg()
6509 orig = data = RREG32(CGTS_SM_CTRL_REG); cik_enable_mgcg()
6511 if (orig != data) cik_enable_mgcg()
6545 u32 orig, data; cik_enable_mc_ls() local
6548 orig = data = RREG32(mc_cg_registers[i]); cik_enable_mc_ls()
6553 if (data != orig) cik_enable_mc_ls()
6562 u32 orig, data; cik_enable_mc_mgcg() local
6565 orig = data = RREG32(mc_cg_registers[i]); cik_enable_mc_mgcg()
6570 if (data != orig) cik_enable_mc_mgcg()
6578 u32 orig, data; cik_enable_sdma_mgcg() local
6584 orig = data = RREG32(SDMA0_CLK_CTRL + SDMA0_REGISTER_OFFSET); cik_enable_sdma_mgcg()
6586 if (data != orig) cik_enable_sdma_mgcg()
6589 orig = data = RREG32(SDMA0_CLK_CTRL + SDMA1_REGISTER_OFFSET); cik_enable_sdma_mgcg()
6591 if (data != orig) cik_enable_sdma_mgcg()
6599 u32 orig, data; cik_enable_sdma_mgls() local
6602 orig = data = RREG32(SDMA0_POWER_CNTL + SDMA0_REGISTER_OFFSET); cik_enable_sdma_mgls()
6604 if (orig != data) cik_enable_sdma_mgls()
6607 orig = data = RREG32(SDMA0_POWER_CNTL + SDMA1_REGISTER_OFFSET); cik_enable_sdma_mgls()
6609 if (orig != data) cik_enable_sdma_mgls()
6612 orig = data = RREG32(SDMA0_POWER_CNTL + SDMA0_REGISTER_OFFSET); cik_enable_sdma_mgls()
6614 if (orig != data) cik_enable_sdma_mgls()
6617 orig = data = RREG32(SDMA0_POWER_CNTL + SDMA1_REGISTER_OFFSET); cik_enable_sdma_mgls()
6619 if (orig != data) cik_enable_sdma_mgls()
6627 u32 orig, data; cik_enable_uvd_mgcg() local
6634 orig = data = RREG32(UVD_CGC_CTRL); cik_enable_uvd_mgcg()
6636 if (orig != data) cik_enable_uvd_mgcg()
6643 orig = data = RREG32(UVD_CGC_CTRL); cik_enable_uvd_mgcg()
6645 if (orig != data) cik_enable_uvd_mgcg()
6653 u32 orig, data; cik_enable_bif_mgls() local
6655 orig = data = RREG32_PCIE_PORT(PCIE_CNTL2); cik_enable_bif_mgls()
6664 if (orig != data) cik_enable_bif_mgls()
6671 u32 orig, data; cik_enable_hdp_mgcg() local
6673 orig = data = RREG32(HDP_HOST_PATH_CNTL); cik_enable_hdp_mgcg()
6680 if (orig != data) cik_enable_hdp_mgcg()
6687 u32 orig, data; cik_enable_hdp_ls() local
6689 orig = data = RREG32(HDP_MEM_POWER_LS); cik_enable_hdp_ls()
6696 if (orig != data) cik_enable_hdp_ls()
6777 u32 data, orig; cik_enable_sck_slowdown_on_pu() local
6779 orig = data = RREG32(RLC_PG_CNTL); cik_enable_sck_slowdown_on_pu()
6784 if (orig != data) cik_enable_sck_slowdown_on_pu()
6791 u32 data, orig; cik_enable_sck_slowdown_on_pd() local
6793 orig = data = RREG32(RLC_PG_CNTL); cik_enable_sck_slowdown_on_pd()
6798 if (orig != data) cik_enable_sck_slowdown_on_pd()
6804 u32 data, orig; cik_enable_cp_pg() local
6806 orig = data = RREG32(RLC_PG_CNTL); cik_enable_cp_pg()
6811 if (orig != data) cik_enable_cp_pg()
6817 u32 data, orig; cik_enable_gds_pg() local
6819 orig = data = RREG32(RLC_PG_CNTL); cik_enable_gds_pg()
6824 if (orig != data) cik_enable_gds_pg()
6919 u32 data, orig; cik_enable_gfx_cgpg() local
6922 orig = data = RREG32(RLC_PG_CNTL); cik_enable_gfx_cgpg()
6924 if (orig != data) cik_enable_gfx_cgpg()
6927 orig = data = RREG32(RLC_AUTO_PG_CTRL); cik_enable_gfx_cgpg()
6929 if (orig != data) cik_enable_gfx_cgpg()
6932 orig = data = RREG32(RLC_PG_CNTL); cik_enable_gfx_cgpg()
6934 if (orig != data) cik_enable_gfx_cgpg()
6937 orig = data = RREG32(RLC_AUTO_PG_CTRL); cik_enable_gfx_cgpg()
6939 if (orig != data) cik_enable_gfx_cgpg()
7007 u32 data, orig; cik_enable_gfx_static_mgpg() local
7009 orig = data = RREG32(RLC_PG_CNTL); cik_enable_gfx_static_mgpg()
7014 if (orig != data) cik_enable_gfx_static_mgpg()
7021 u32 data, orig; cik_enable_gfx_dynamic_mgpg() local
7023 orig = data = RREG32(RLC_PG_CNTL); cik_enable_gfx_dynamic_mgpg()
7028 if (orig != data) cik_enable_gfx_dynamic_mgpg()
7037 u32 data, orig; cik_init_gfx_cgpg() local
7056 orig = data = RREG32(RLC_PG_CNTL); cik_init_gfx_cgpg()
7058 if (orig != data) cik_init_gfx_cgpg()
9923 u32 data, orig; cik_program_aspm() local
9937 orig = data = RREG32_PCIE_PORT(PCIE_LC_N_FTS_CNTL); cik_program_aspm()
9940 if (orig != data) cik_program_aspm()
9943 orig = data = RREG32_PCIE_PORT(PCIE_LC_CNTL3); cik_program_aspm()
9945 if (orig != data) cik_program_aspm()
9948 orig = data = RREG32_PCIE_PORT(PCIE_P_CNTL); cik_program_aspm()
9950 if (orig != data) cik_program_aspm()
9953 orig = data = RREG32_PCIE_PORT(PCIE_LC_CNTL); cik_program_aspm()
9962 if (orig != data) cik_program_aspm()
9968 orig = data = RREG32_PCIE_PORT(PB0_PIF_PWRDOWN_0); cik_program_aspm()
9971 if (orig != data) cik_program_aspm()
9974 orig = data = RREG32_PCIE_PORT(PB0_PIF_PWRDOWN_1); cik_program_aspm()
9977 if (orig != data) cik_program_aspm()
9980 orig = data = RREG32_PCIE_PORT(PB1_PIF_PWRDOWN_0); cik_program_aspm()
9983 if (orig != data) cik_program_aspm()
9986 orig = data = RREG32_PCIE_PORT(PB1_PIF_PWRDOWN_1); cik_program_aspm()
9989 if (orig != data) cik_program_aspm()
9992 orig = data = RREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL); cik_program_aspm()
9995 if (orig != data) cik_program_aspm()
10012 orig = data = RREG32_PCIE_PORT(PCIE_LC_CNTL2); cik_program_aspm()
10014 if (orig != data) cik_program_aspm()
10017 orig = data = RREG32_SMC(THM_CLK_CNTL); cik_program_aspm()
10020 if (orig != data) cik_program_aspm()
10023 orig = data = RREG32_SMC(MISC_CLK_CTRL); cik_program_aspm()
10026 if (orig != data) cik_program_aspm()
10029 orig = data = RREG32_SMC(CG_CLKPIN_CNTL); cik_program_aspm()
10031 if (orig != data) cik_program_aspm()
10034 orig = data = RREG32_SMC(CG_CLKPIN_CNTL_2); cik_program_aspm()
10036 if (orig != data) cik_program_aspm()
10039 orig = data = RREG32_SMC(MPLL_BYPASSCLK_SEL); cik_program_aspm()
10042 if (orig != data) cik_program_aspm()
10047 if (orig != data) cik_program_aspm()
10051 orig = data = RREG32_PCIE_PORT(PCIE_CNTL2); cik_program_aspm()
10053 if (orig != data) cik_program_aspm()
10061 orig = data = RREG32_PCIE_PORT(PCIE_LC_CNTL); cik_program_aspm()
10063 if (orig != data) cik_program_aspm()
H A Devergreen.c5882 u32 data, orig; evergreen_program_aspm() local
5918 data = orig = RREG32_PIF_PHY0(PB0_PIF_PAIRING); evergreen_program_aspm()
5923 if (data != orig) evergreen_program_aspm()
5926 data = orig = RREG32_PIF_PHY1(PB1_PIF_PAIRING); evergreen_program_aspm()
5931 if (data != orig) evergreen_program_aspm()
5950 data = orig = RREG32_PIF_PHY0(PB0_PIF_PWRDOWN_0); evergreen_program_aspm()
5953 if (data != orig) evergreen_program_aspm()
5956 data = orig = RREG32_PIF_PHY0(PB0_PIF_PWRDOWN_1); evergreen_program_aspm()
5959 if (data != orig) evergreen_program_aspm()
5962 data = orig = RREG32_PIF_PHY1(PB1_PIF_PWRDOWN_0); evergreen_program_aspm()
5965 if (data != orig) evergreen_program_aspm()
5968 data = orig = RREG32_PIF_PHY1(PB1_PIF_PWRDOWN_1); evergreen_program_aspm()
5971 if (data != orig) evergreen_program_aspm()
5975 data = orig = RREG32_PIF_PHY0(PB0_PIF_PWRDOWN_0); evergreen_program_aspm()
5978 if (data != orig) evergreen_program_aspm()
5981 data = orig = RREG32_PIF_PHY0(PB0_PIF_PWRDOWN_1); evergreen_program_aspm()
5984 if (data != orig) evergreen_program_aspm()
5987 data = orig = RREG32_PIF_PHY1(PB1_PIF_PWRDOWN_0); evergreen_program_aspm()
5990 if (data != orig) evergreen_program_aspm()
5993 data = orig = RREG32_PIF_PHY1(PB1_PIF_PWRDOWN_1); evergreen_program_aspm()
5996 if (data != orig) evergreen_program_aspm()
6000 data = orig = RREG32_PCIE_PORT(PCIE_LC_LINK_WIDTH_CNTL); evergreen_program_aspm()
6003 if (data != orig) evergreen_program_aspm()
6007 data = orig = RREG32_PIF_PHY0(PB0_PIF_CNTL); evergreen_program_aspm()
6010 if (data != orig) evergreen_program_aspm()
6013 data = orig = RREG32_PIF_PHY1(PB1_PIF_CNTL); evergreen_program_aspm()
6016 if (data != orig) evergreen_program_aspm()
/linux-4.1.27/fs/ext4/
H A Dmove_extent.c76 * Release write lock of i_data_sem of two inodes (orig and donor).
251 * @unwritten: orig extent is unwritten or not
321 * If orig extent was unwritten it can become initialized move_extent_per_page()
325 * necessary, just swap data blocks between orig and donor. move_extent_per_page()
451 * @orig_start: logical start offset in block for orig
474 " to donor file [ino:orig %lu, donor %lu]\n", mext_check_arguments()
485 "not be swapfile [ino:orig %lu, donor %lu]\n", mext_check_arguments()
492 "not be quota files [ino:orig %lu, donor %lu]\n", mext_check_arguments()
499 ext4_debug("ext4 move extent: orig file is not extents " mext_check_arguments()
500 "based file [ino:orig %lu]\n", orig_inode->i_ino); mext_check_arguments()
516 ext4_debug("ext4 move extent: orig and donor's start " mext_check_arguments()
517 "offset are not alligned [ino:orig %lu, donor %lu]\n", mext_check_arguments()
528 "[ino:orig %lu, donor %lu]\n", EXT_MAX_BLOCKS, mext_check_arguments()
538 "[ino:orig %lu, donor %lu]\n", orig_inode->i_ino, mext_check_arguments()
551 * @orig_blk: start offset in block for orig
574 "should be in same FS [ino:orig %lu, donor %lu]\n", ext4_move_extents()
579 /* orig and donor should be different inodes */ ext4_move_extents()
582 "be same inode [ino:orig %lu, donor %lu]\n", ext4_move_extents()
590 "regular file [ino:orig %lu, donor %lu]\n", ext4_move_extents()
600 /* Protect orig and donor inodes against a truncate */ ext4_move_extents()
/linux-4.1.27/drivers/hid/
H A Duhid.c523 struct uhid_create_req orig; uhid_dev_create() local
525 orig = ev->u.create; uhid_dev_create()
527 if (orig.rd_size <= 0 || orig.rd_size > HID_MAX_DESCRIPTOR_SIZE) uhid_dev_create()
529 if (copy_from_user(&ev->u.create2.rd_data, orig.rd_data, orig.rd_size)) uhid_dev_create()
532 memcpy(ev->u.create2.name, orig.name, sizeof(orig.name)); uhid_dev_create()
533 memcpy(ev->u.create2.phys, orig.phys, sizeof(orig.phys)); uhid_dev_create()
534 memcpy(ev->u.create2.uniq, orig.uniq, sizeof(orig.uniq)); uhid_dev_create()
535 ev->u.create2.rd_size = orig.rd_size; uhid_dev_create()
536 ev->u.create2.bus = orig.bus; uhid_dev_create()
537 ev->u.create2.vendor = orig.vendor; uhid_dev_create()
538 ev->u.create2.product = orig.product; uhid_dev_create()
539 ev->u.create2.version = orig.version; uhid_dev_create()
540 ev->u.create2.country = orig.country; uhid_dev_create()
/linux-4.1.27/arch/arm/probes/kprobes/
H A Dopt-arm.c195 int arch_prepare_optimized_kprobe(struct optimized_kprobe *op, struct kprobe *orig) arch_prepare_optimized_kprobe() argument
202 if (!can_optimize(orig)) arch_prepare_optimized_kprobe()
235 (long)orig->addr + 8) & 0xfe000003; arch_prepare_optimized_kprobe()
252 BUG_ON(orig->ainsn.stack_space < 0); arch_prepare_optimized_kprobe()
254 stack_protect += orig->ainsn.stack_space; arch_prepare_optimized_kprobe()
273 orig->ainsn.kprobe_direct_exec = false; arch_prepare_optimized_kprobe()
274 if (can_kprobe_direct_exec(orig->ainsn.register_usage_flags)) { arch_prepare_optimized_kprobe()
286 code[TMPL_RESTORE_ORIGN_INSN] = __opcode_to_mem_arm(orig->opcode); arch_prepare_optimized_kprobe()
290 orig->ainsn.kprobe_direct_exec = true; arch_prepare_optimized_kprobe()
/linux-4.1.27/arch/mips/txx9/generic/
H A Dsmsc_fdc37m81x.c138 u8 orig; smsc_fdc37m81x_config_dump() local
143 orig = smsc_fdc37m81x_rd(SMSC_FDC37M81X_DNUM); smsc_fdc37m81x_config_dump()
168 smsc_dc37m81x_wr(SMSC_FDC37M81X_DNUM, orig); smsc_fdc37m81x_config_dump()
/linux-4.1.27/include/uapi/linux/
H A Dadb.h39 * data[2] = id, rep[0] = orig addr, rep[1] = handler_id
/linux-4.1.27/drivers/gpio/
H A Dgpio-amd8111.c74 spinlock_t lock; /* guards hw registers and orig table */
75 u8 orig[32]; member in struct:amd_gpio
84 agp->orig[offset] = ioread8(agp->pm + AMD_REG_GPIO(offset)) & amd_gpio_request()
87 dev_dbg(&agp->pdev->dev, "Requested gpio %d, data %x\n", offset, agp->orig[offset]); amd_gpio_request()
96 dev_dbg(&agp->pdev->dev, "Freed gpio %d, data %x\n", offset, agp->orig[offset]); amd_gpio_free()
98 iowrite8(agp->orig[offset], agp->pm + AMD_REG_GPIO(offset)); amd_gpio_free()
/linux-4.1.27/lib/
H A Dbitmap.c761 * @orig: original untranslated bitmap
766 * n-th bit of @relmap is set, the m-th bit of @orig is set, and
771 * In other words, @orig is mapped onto (surjectively) @dst,
775 * Any set bits in @orig above bit number W, where W is the
777 * In particular, if for all bits m set in @orig, m >= W, then
781 * @orig bitmap over itself so that all its set bits x are in the
783 * setting the bit (m % W) in @dst, for each bit (m) set in @orig.
786 * Let's say @relmap has bits 30-39 set, and @orig has bits
790 * When bit 0 is set in @orig, it means turn on the bit in
795 * When bit 1 is set in @orig (as in the above example), it
804 * @orig (i.e. bits 3, 5, 7 and 9) were also set.
806 * When bit 11 is set in @orig, it means turn on the bit in
810 * 11 was set in @orig had no affect on @dst.
824 * bitmap_fold(tmp, orig, bitmap_weight(relmap, bits), bits);
828 * various @orig's. I list the zero-based positions of each set bit.
830 * using bitmap_fold() to fold the @orig bitmap modulo ten
833 * @orig tmp @dst
849 * If either of @orig or @relmap is empty (no set bits), then @dst
852 * If (as explained above) the only set bits in @orig are in positions
858 void bitmap_onto(unsigned long *dst, const unsigned long *orig, bitmap_onto() argument
863 if (dst == orig) /* following doesn't handle inplace mappings */ bitmap_onto()
871 * n = bitmap_ord_to_pos(orig, m, bits); bitmap_onto()
872 * if (test_bit(m, orig)) bitmap_onto()
880 if (test_bit(m, orig)) for_each_set_bit()
890 * @orig: original larger bitmap
894 * For each bit oldbit in @orig, set bit oldbit mod @sz in @dst.
898 void bitmap_fold(unsigned long *dst, const unsigned long *orig, bitmap_fold() argument
903 if (dst == orig) /* following doesn't handle inplace mappings */ bitmap_fold()
907 for_each_set_bit(oldbit, orig, nbits) bitmap_fold()
/linux-4.1.27/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c59 struct sk_buff *orig; member in struct:nf_ct_frag6_skb_cb
175 if (NFCT_FRAG6_CB(skb)->orig) nf_skb_free()
176 kfree_skb(NFCT_FRAG6_CB(skb)->orig); nf_skb_free()
433 NFCT_FRAG6_CB(clone)->orig = NULL; nf_ct_frag6_reasm()
477 /* all original skbs are linked into the NFCT_FRAG6_CB(head).orig */ nf_ct_frag6_reasm()
479 if (fp && NFCT_FRAG6_CB(fp)->orig == NULL) nf_ct_frag6_reasm()
483 op = NFCT_FRAG6_CB(head)->orig; nf_ct_frag6_reasm()
485 struct sk_buff *orig = NFCT_FRAG6_CB(fp)->orig; nf_ct_frag6_reasm() local
487 op->next = orig; nf_ct_frag6_reasm()
488 op = orig; nf_ct_frag6_reasm()
489 NFCT_FRAG6_CB(fp)->orig = NULL; nf_ct_frag6_reasm()
595 NFCT_FRAG6_CB(clone)->orig = skb; nf_ct_frag6_gather()
642 for (s = NFCT_FRAG6_CB(skb)->orig; s;) { nf_ct_frag6_consume_orig()
H A Dnf_conntrack_proto_icmpv6.c74 const struct nf_conntrack_tuple *orig) icmpv6_invert_tuple()
76 int type = orig->dst.u.icmp.type - 128; icmpv6_invert_tuple()
80 tuple->src.u.icmp.id = orig->src.u.icmp.id; icmpv6_invert_tuple()
82 tuple->dst.u.icmp.code = orig->dst.u.icmp.code; icmpv6_invert_tuple()
73 icmpv6_invert_tuple(struct nf_conntrack_tuple *tuple, const struct nf_conntrack_tuple *orig) icmpv6_invert_tuple() argument
H A Dnf_conntrack_l3proto_ipv6.c55 const struct nf_conntrack_tuple *orig) ipv6_invert_tuple()
57 memcpy(tuple->src.u3.ip6, orig->dst.u3.ip6, sizeof(tuple->src.u3.ip6)); ipv6_invert_tuple()
58 memcpy(tuple->dst.u3.ip6, orig->src.u3.ip6, sizeof(tuple->dst.u3.ip6)); ipv6_invert_tuple()
54 ipv6_invert_tuple(struct nf_conntrack_tuple *tuple, const struct nf_conntrack_tuple *orig) ipv6_invert_tuple() argument
/linux-4.1.27/net/xfrm/
H A Dxfrm_state.c1137 static struct xfrm_state *xfrm_state_clone(struct xfrm_state *orig) xfrm_state_clone() argument
1139 struct net *net = xs_net(orig); xfrm_state_clone()
1144 memcpy(&x->id, &orig->id, sizeof(x->id)); xfrm_state_clone()
1145 memcpy(&x->sel, &orig->sel, sizeof(x->sel)); xfrm_state_clone()
1146 memcpy(&x->lft, &orig->lft, sizeof(x->lft)); xfrm_state_clone()
1147 x->props.mode = orig->props.mode; xfrm_state_clone()
1148 x->props.replay_window = orig->props.replay_window; xfrm_state_clone()
1149 x->props.reqid = orig->props.reqid; xfrm_state_clone()
1150 x->props.family = orig->props.family; xfrm_state_clone()
1151 x->props.saddr = orig->props.saddr; xfrm_state_clone()
1153 if (orig->aalg) { xfrm_state_clone()
1154 x->aalg = xfrm_algo_auth_clone(orig->aalg); xfrm_state_clone()
1158 x->props.aalgo = orig->props.aalgo; xfrm_state_clone()
1160 if (orig->aead) { xfrm_state_clone()
1161 x->aead = xfrm_algo_aead_clone(orig->aead); xfrm_state_clone()
1165 if (orig->ealg) { xfrm_state_clone()
1166 x->ealg = xfrm_algo_clone(orig->ealg); xfrm_state_clone()
1170 x->props.ealgo = orig->props.ealgo; xfrm_state_clone()
1172 if (orig->calg) { xfrm_state_clone()
1173 x->calg = xfrm_algo_clone(orig->calg); xfrm_state_clone()
1177 x->props.calgo = orig->props.calgo; xfrm_state_clone()
1179 if (orig->encap) { xfrm_state_clone()
1180 x->encap = kmemdup(orig->encap, sizeof(*x->encap), GFP_KERNEL); xfrm_state_clone()
1185 if (orig->coaddr) { xfrm_state_clone()
1186 x->coaddr = kmemdup(orig->coaddr, sizeof(*x->coaddr), xfrm_state_clone()
1192 if (orig->replay_esn) { xfrm_state_clone()
1193 if (xfrm_replay_clone(x, orig)) xfrm_state_clone()
1197 memcpy(&x->mark, &orig->mark, sizeof(x->mark)); xfrm_state_clone()
1202 x->props.flags = orig->props.flags; xfrm_state_clone()
1203 x->props.extra_flags = orig->props.extra_flags; xfrm_state_clone()
1205 x->tfcpad = orig->tfcpad; xfrm_state_clone()
1206 x->replay_maxdiff = orig->replay_maxdiff; xfrm_state_clone()
1207 x->replay_maxage = orig->replay_maxage; xfrm_state_clone()
1208 x->curlft.add_time = orig->curlft.add_time; xfrm_state_clone()
1209 x->km.state = orig->km.state; xfrm_state_clone()
1210 x->km.seq = orig->km.seq; xfrm_state_clone()
/linux-4.1.27/drivers/usb/host/
H A Dohci-s3c2410.c106 int orig; ohci_s3c2410_hub_status_data() local
109 orig = ohci_hub_status_data(hcd, buf); ohci_s3c2410_hub_status_data()
112 return orig; ohci_s3c2410_hub_status_data()
124 if (orig < 1) ohci_s3c2410_hub_status_data()
125 orig = 1; ohci_s3c2410_hub_status_data()
131 return orig; ohci_s3c2410_hub_status_data()
/linux-4.1.27/net/ipv4/netfilter/
H A Dnf_conntrack_proto_icmp.c62 const struct nf_conntrack_tuple *orig) icmp_invert_tuple()
64 if (orig->dst.u.icmp.type >= sizeof(invmap) || icmp_invert_tuple()
65 !invmap[orig->dst.u.icmp.type]) icmp_invert_tuple()
68 tuple->src.u.icmp.id = orig->src.u.icmp.id; icmp_invert_tuple()
69 tuple->dst.u.icmp.type = invmap[orig->dst.u.icmp.type] - 1; icmp_invert_tuple()
70 tuple->dst.u.icmp.code = orig->dst.u.icmp.code; icmp_invert_tuple()
61 icmp_invert_tuple(struct nf_conntrack_tuple *tuple, const struct nf_conntrack_tuple *orig) icmp_invert_tuple() argument
H A Dnf_conntrack_l3proto_ipv4.c51 const struct nf_conntrack_tuple *orig) ipv4_invert_tuple()
53 tuple->src.u3.ip = orig->dst.u3.ip; ipv4_invert_tuple()
54 tuple->dst.u3.ip = orig->src.u3.ip; ipv4_invert_tuple()
50 ipv4_invert_tuple(struct nf_conntrack_tuple *tuple, const struct nf_conntrack_tuple *orig) ipv4_invert_tuple() argument
/linux-4.1.27/include/uapi/linux/netfilter/
H A Dnf_conntrack_common.h50 /* Connection needs src nat in orig dir. This bit never changed. */
54 /* Connection needs dst nat in orig dir. This bit never changed. */
/linux-4.1.27/arch/frv/include/asm/
H A Dcmpxchg.h77 * - if (*ptr == test) then orig = *ptr; *ptr = test;
78 * - if (*ptr != test) then orig = *ptr;
/linux-4.1.27/arch/m68k/fpsp040/
H A Dx_fline.S68 cmpib #VER_40,(%a7) |test for orig unimp frame
70 subl #UNIMP_40_SIZE-4,%a7 |emulate an orig fsave
H A Dx_snan.S90 cmpib #VER_40,(%a7) |test for orig unimp frame
118 cmpib #VER_40,(%a7) |test for orig unimp frame
H A Dgen_except.S60 cmpib #UNIMP_40_SIZE-4,1(%a7) |test for orig unimp frame
102 cmpib #UNIMP_40_SIZE-4,1(%a7) |test for orig unimp frame
280 cmpib #VER_40,(%a7) |test for orig unimp frame
331 moveql #13,%d0 |in orig, need to zero 14 lwords
H A Dfpsp.h332 .set UNIMP_40_SIZE,44 | size of orig unimp frame
/linux-4.1.27/arch/arc/include/asm/
H A Dfutex.h111 * -successful cmp-xchg: return orig value in @addr (same as cmp val)
112 * -Compare fails: return orig value in @addr
H A Dentry.h163 ; Retrieve orig r25 and save it on stack
/linux-4.1.27/arch/ia64/lib/
H A Dstrlen.S73 #define orig r17 define
89 mov orig=in0 // keep trackof initial byte address
143 sub ret0=src,orig // distance from base
185 sub ret0=base,orig // distance from base
H A Dstrlen_user.S75 #define orig r17 define
91 mov orig=in0 // keep trackof initial byte address
146 sub ret0=src,orig // distance from origin
182 sub ret0=base,orig // distance from base
/linux-4.1.27/arch/arc/kernel/
H A Dfpu.c26 * dexcl1 0, r1, r0 ; restore dpfp1 to orig value
H A Dsignal.c44 * on resuming user mode, signal handler branches off to BTA of orig JMP
281 * needs to be reloaded with orig first arg to syscall arc_restart_syscall()
284 * their orig user space value when we ret from kernel arc_restart_syscall()
H A Dentry.S435 ; Tracing code now returns the syscall num (orig or modif)
/linux-4.1.27/scripts/
H A Dpatch-kernel25 # successful. If it is, then all of the "*.orig" files are removed.
161 find $sourcedir/ '(' -name '*.orig' -o -name '.*.orig' ')' -exec rm -f {} \;
183 find $sourcedir/ '(' -name '*.orig' -o -name '.*.orig' ')' -exec rm -f {} \;
/linux-4.1.27/tools/lib/lockdep/
H A Dpreload.c12 * @orig: pointer to the original pthread lock, used for lookups
19 void *orig; /* Original pthread lock, used for lookups */ member in struct:lock_lookup
110 if (lock < l->orig) __get_lock_node()
112 else if (lock > l->orig) __get_lock_node()
192 l->orig = lock; __get_lock()
/linux-4.1.27/fs/btrfs/tests/
H A Dinode-tests.c387 test_msg("Wrong orig offset, want %llu, have %llu\n", em->start, test_btrfs_get_extent()
414 test_msg("Wrong orig offset, want %llu, have %llu\n", em->start, test_btrfs_get_extent()
463 test_msg("Wrong orig offset, want %llu, have %llu\n", test_btrfs_get_extent()
497 test_msg("Wrong orig offset, want %llu, have %llu\n", em->start, test_btrfs_get_extent()
525 test_msg("Wrong orig offset, want %llu, have %llu\n", em->start, test_btrfs_get_extent()
553 test_msg("Unexpected orig offset, wanted %llu, have %llu\n", test_btrfs_get_extent()
586 test_msg("Wrong orig offset, want %llu, have %llu\n", orig_start, test_btrfs_get_extent()
620 test_msg("Wrong orig offset, want %llu, have %llu\n", test_btrfs_get_extent()
653 test_msg("Wrong orig offset, want %llu, have %llu\n", test_btrfs_get_extent()
686 test_msg("Wrong orig offset, want %llu, have %llu\n", em->start, test_btrfs_get_extent()
714 test_msg("Wrong orig offset, want %llu, have %llu\n", test_btrfs_get_extent()
746 test_msg("Wrong orig offset, want %llu, have %llu\n", em->start, test_btrfs_get_extent()
778 test_msg("Wrong orig offset, want %llu, have %llu\n", em->start, test_btrfs_get_extent()
804 test_msg("Wrong orig offset, want %llu, have %llu\n", em->start, test_btrfs_get_extent()
/linux-4.1.27/include/linux/
H A Dbitmap.h53 * bitmap_onto(dst, orig, relmap, nbits) *dst = orig relative to relmap
54 * bitmap_fold(dst, orig, sz, nbits) dst bits = orig bits mod sz
159 extern void bitmap_onto(unsigned long *dst, const unsigned long *orig,
161 extern void bitmap_fold(unsigned long *dst, const unsigned long *orig,
H A Dnodemask.h58 * void nodes_onto(dst, orig, relmap) *dst = orig relative to relmap
59 * void nodes_fold(dst, orig, sz) dst bits = orig bits mod sz
342 #define nodes_onto(dst, orig, relmap) \
343 __nodes_onto(&(dst), &(orig), &(relmap), MAX_NUMNODES) __nodes_onto()
350 #define nodes_fold(dst, orig, sz) \
351 __nodes_fold(&(dst), &(orig), sz, MAX_NUMNODES) __nodes_fold()
H A Dif_team.h63 } orig; member in struct:team_port
H A Dthermal.h266 u32 orig; member in struct:thermal_genl_event
H A Dkprobes.h312 struct kprobe *orig);
/linux-4.1.27/drivers/net/ethernet/nvidia/
H A Dforcedeth.c367 struct ring_desc *orig; member in union:ring_type
1026 if (np->rx_ring.orig) free_rings()
1028 np->rx_ring.orig, np->ring_addr); free_rings()
1810 less_rx = np->get_rx.orig; nv_alloc_rx()
1811 if (less_rx-- == np->first_rx.orig) nv_alloc_rx()
1812 less_rx = np->last_rx.orig; nv_alloc_rx()
1814 while (np->put_rx.orig != less_rx) { nv_alloc_rx()
1828 np->put_rx.orig->buf = cpu_to_le32(np->put_rx_ctx->dma); nv_alloc_rx()
1830 np->put_rx.orig->flaglen = cpu_to_le32(np->rx_buf_sz | NV_RX_AVAIL); nv_alloc_rx()
1831 if (unlikely(np->put_rx.orig++ == np->last_rx.orig)) nv_alloc_rx()
1832 np->put_rx.orig = np->first_rx.orig; nv_alloc_rx()
1906 np->last_rx.orig = &np->rx_ring.orig[np->rx_ring_size-1]; nv_init_rx()
1914 np->rx_ring.orig[i].flaglen = 0; nv_init_rx()
1915 np->rx_ring.orig[i].buf = 0; nv_init_rx()
1935 np->last_tx.orig = &np->tx_ring.orig[np->tx_ring_size-1]; nv_init_tx()
1948 np->tx_ring.orig[i].flaglen = 0; nv_init_tx()
1949 np->tx_ring.orig[i].buf = 0; nv_init_tx()
2011 np->tx_ring.orig[i].flaglen = 0; nv_drain_tx()
2012 np->tx_ring.orig[i].buf = 0; nv_drain_tx()
2042 np->rx_ring.orig[i].flaglen = 0; nv_drain_rx()
2043 np->rx_ring.orig[i].buf = 0; nv_drain_rx()
2222 start_tx = put_tx = np->put_tx.orig; nv_start_xmit()
2248 if (unlikely(put_tx++ == np->last_tx.orig)) nv_start_xmit()
2249 put_tx = np->first_tx.orig; nv_start_xmit()
2295 if (unlikely(put_tx++ == np->last_tx.orig)) nv_start_xmit()
2296 put_tx = np->first_tx.orig; nv_start_xmit()
2323 np->put_tx.orig = put_tx; nv_start_xmit()
2536 struct ring_desc *orig_get_tx = np->get_tx.orig; nv_tx_done()
2539 while ((np->get_tx.orig != np->put_tx.orig) && nv_tx_done()
2540 !((flags = le32_to_cpu(np->get_tx.orig->flaglen)) & NV_TX_VALID) && nv_tx_done()
2580 if (unlikely(np->get_tx.orig++ == np->last_tx.orig)) nv_tx_done()
2581 np->get_tx.orig = np->first_tx.orig; nv_tx_done()
2588 if (unlikely((np->tx_stop == 1) && (np->get_tx.orig != orig_get_tx))) { nv_tx_done()
2690 le32_to_cpu(np->tx_ring.orig[i].buf), nv_tx_timeout()
2691 le32_to_cpu(np->tx_ring.orig[i].flaglen), nv_tx_timeout()
2692 le32_to_cpu(np->tx_ring.orig[i+1].buf), nv_tx_timeout()
2693 le32_to_cpu(np->tx_ring.orig[i+1].flaglen), nv_tx_timeout()
2694 le32_to_cpu(np->tx_ring.orig[i+2].buf), nv_tx_timeout()
2695 le32_to_cpu(np->tx_ring.orig[i+2].flaglen), nv_tx_timeout()
2696 le32_to_cpu(np->tx_ring.orig[i+3].buf), nv_tx_timeout()
2697 le32_to_cpu(np->tx_ring.orig[i+3].flaglen)); nv_tx_timeout()
2806 while ((np->get_rx.orig != np->put_rx.orig) && nv_rx_process()
2807 !((flags = le32_to_cpu(np->get_rx.orig->flaglen)) & NV_RX_AVAIL) && nv_rx_process()
2892 if (unlikely(np->get_rx.orig++ == np->last_rx.orig)) nv_rx_process()
2893 np->get_rx.orig = np->first_rx.orig; nv_rx_process()
4645 np->rx_ring.orig = (struct ring_desc *)rxtx_ring; nv_set_ringparam()
4646 np->tx_ring.orig = &np->rx_ring.orig[np->rx_ring_size]; nv_set_ringparam()
5090 np->tx_ring.orig[0].buf = cpu_to_le32(test_dma_addr); nv_loopback_test()
5091 np->tx_ring.orig[0].flaglen = cpu_to_le32((pkt_len-1) | np->tx_flags | tx_flags_extra); nv_loopback_test()
5104 flags = le32_to_cpu(np->rx_ring.orig[0].flaglen); nv_loopback_test()
5105 len = nv_descr_getlength(&np->rx_ring.orig[0], np->desc_ver); nv_loopback_test()
5744 np->rx_ring.orig = pci_alloc_consistent(pci_dev, nv_probe()
5747 if (!np->rx_ring.orig) nv_probe()
5749 np->tx_ring.orig = &np->rx_ring.orig[np->rx_ring_size]; nv_probe()
5798 * Set orig mac address back to the reversed version. nv_probe()
/linux-4.1.27/arch/x86/kernel/
H A Dcpuid.c61 static loff_t cpuid_seek(struct file *file, loff_t offset, int orig) cpuid_seek() argument
67 switch (orig) { cpuid_seek()
H A Dmcount_64.S80 /* Save the parent pointer (skip orig rbp and our return address) */
84 /* Save the return address (now skip orig rbp, rbp and parent) */
H A Dmsr.c48 static loff_t msr_seek(struct file *file, loff_t offset, int orig) msr_seek() argument
54 switch (orig) { msr_seek()
/linux-4.1.27/drivers/target/iscsi/
H A Discsi_target_auth.c76 char *tmp, *orig, *token; chap_check_algorithm() local
83 orig = tmp; chap_check_algorithm()
100 kfree(orig); chap_check_algorithm()
105 kfree(orig); chap_check_algorithm()
/linux-4.1.27/fs/jffs2/
H A Dcompr.h81 void jffs2_free_comprbuf(unsigned char *comprbuf, unsigned char *orig);
H A Dcompr.c359 void jffs2_free_comprbuf(unsigned char *comprbuf, unsigned char *orig) jffs2_free_comprbuf() argument
361 if (orig != comprbuf) jffs2_free_comprbuf()
/linux-4.1.27/include/net/netfilter/
H A Dnf_conntrack_core.h49 const struct nf_conntrack_tuple *orig,
H A Dnf_conntrack_l3proto.h38 const struct nf_conntrack_tuple *orig);
H A Dnf_conntrack.h196 const struct nf_conntrack_tuple *orig);
255 const struct nf_conntrack_tuple *orig,
H A Dnf_conntrack_l4proto.h35 const struct nf_conntrack_tuple *orig);
/linux-4.1.27/net/netfilter/ipset/
H A Dip_set_hash_netnet.c87 struct hash_netnet4_elem *orig) hash_netnet4_data_reset_elem()
89 elem->ip[1] = orig->ip[1]; hash_netnet4_data_reset_elem()
314 struct hash_netnet6_elem *orig) hash_netnet6_data_reset_elem()
316 elem->ip[1] = orig->ip[1]; hash_netnet6_data_reset_elem()
86 hash_netnet4_data_reset_elem(struct hash_netnet4_elem *elem, struct hash_netnet4_elem *orig) hash_netnet4_data_reset_elem() argument
313 hash_netnet6_data_reset_elem(struct hash_netnet6_elem *elem, struct hash_netnet6_elem *orig) hash_netnet6_data_reset_elem() argument
H A Dip_set_hash_gen.h540 struct htable *t, *orig = rcu_dereference_bh_nfnl(h->table); mtype_resize() local
541 u8 htable_bits = orig->htable_bits; mtype_resize()
565 set->name, orig->htable_bits, htable_bits, orig); mtype_resize()
579 for (i = 0; i < jhash_size(orig->htable_bits); i++) { mtype_resize()
580 n = hbucket(orig, i); mtype_resize()
614 orig->htable_bits, orig, t->htable_bits, t); mtype_resize()
615 mtype_ahash_destroy(set, orig, false); mtype_resize()
815 struct mtype_elem orig = *d; mtype_test_cidrs() local
826 mtype_data_reset_elem(d, &orig); mtype_test_cidrs()
H A Dip_set_hash_netportnet.c94 struct hash_netportnet4_elem *orig) hash_netportnet4_data_reset_elem()
96 elem->ip[1] = orig->ip[1]; hash_netportnet4_data_reset_elem()
367 struct hash_netportnet6_elem *orig) hash_netportnet6_data_reset_elem()
369 elem->ip[1] = orig->ip[1]; hash_netportnet6_data_reset_elem()
93 hash_netportnet4_data_reset_elem(struct hash_netportnet4_elem *elem, struct hash_netportnet4_elem *orig) hash_netportnet4_data_reset_elem() argument
366 hash_netportnet6_data_reset_elem(struct hash_netportnet6_elem *elem, struct hash_netportnet6_elem *orig) hash_netportnet6_data_reset_elem() argument
/linux-4.1.27/sound/hda/
H A Dhdac_regmap.c467 unsigned int orig; snd_hdac_regmap_update_raw() local
471 err = snd_hdac_regmap_read_raw(codec, reg, &orig); snd_hdac_regmap_update_raw()
474 val |= orig & ~mask; snd_hdac_regmap_update_raw()
475 if (val == orig) snd_hdac_regmap_update_raw()
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Dcdv_intel_crt.c140 u32 orig; cdv_intel_crt_detect_hotplug() local
148 orig = hotplug_en = REG_READ(PORT_HOTPLUG_EN); cdv_intel_crt_detect_hotplug()
177 REG_WRITE(PORT_HOTPLUG_EN, orig); cdv_intel_crt_detect_hotplug()
H A Dmdfld_dsi_output.h47 #define FLD_MOD(orig, val, start, end) \
48 (((orig) & ~FLD_MASK(start, end)) | FLD_VAL(val, start, end))
/linux-4.1.27/drivers/gpu/drm/mgag200/
H A Dmgag200_main.c82 int orig; mga_probe_vram() local
87 orig = ioread16(mem); mga_probe_vram()
112 iowrite16(orig, mem); mga_probe_vram()
/linux-4.1.27/include/linux/sunrpc/
H A Dcache.h101 int (*match)(struct cache_head *orig, struct cache_head *new);
102 void (*init)(struct cache_head *orig, struct cache_head *new);
103 void (*update)(struct cache_head *orig, struct cache_head *new);
/linux-4.1.27/drivers/net/phy/
H A Dbroadcom.c152 u32 orig; bcm54xx_adjust_rxrefclk() local
166 orig = val; bcm54xx_adjust_rxrefclk()
192 if (orig != val) bcm54xx_adjust_rxrefclk()
199 orig = val; bcm54xx_adjust_rxrefclk()
206 if (orig != val) bcm54xx_adjust_rxrefclk()
/linux-4.1.27/security/apparmor/include/
H A Dpolicy.h360 static inline void __aa_update_replacedby(struct aa_profile *orig, __aa_update_replacedby() argument
364 tmp = rcu_dereference_protected(orig->replacedby->profile, __aa_update_replacedby()
365 mutex_is_locked(&orig->ns->lock)); __aa_update_replacedby()
366 rcu_assign_pointer(orig->replacedby->profile, aa_get_profile(new)); __aa_update_replacedby()
367 orig->flags |= PFLAG_INVALID; __aa_update_replacedby()
/linux-4.1.27/include/linux/mtd/
H A Dmap.h365 static inline map_word map_word_load_partial(struct map_info *map, map_word orig, const unsigned char *buf, int start, int len) map_word_load_partial() argument
370 char *dest = (char *)&orig; map_word_load_partial()
382 orig.x[0] &= ~(0xff << bitpos); map_word_load_partial()
383 orig.x[0] |= (unsigned long)buf[i-start] << bitpos; map_word_load_partial()
386 return orig; map_word_load_partial()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dlgs8gxx.c913 u8 orig, t; packet_counter_start() local
916 lgs8gxx_read_reg(priv, 0x30, &orig); packet_counter_start()
917 orig &= 0xE7; packet_counter_start()
918 t = orig | 0x10; packet_counter_start()
920 t = orig | 0x18; packet_counter_start()
922 t = orig | 0x10; packet_counter_start()
/linux-4.1.27/arch/powerpc/kernel/
H A Dvdso.c356 const char *orig, const char *fix) vdso_do_func_patch32()
360 sym32_gen = find_symbol32(v32, orig); vdso_do_func_patch32()
362 printk(KERN_ERR "vDSO32: Can't find symbol %s !\n", orig); vdso_do_func_patch32()
453 const char *orig, const char *fix) vdso_do_func_patch64()
457 sym64_gen = find_symbol64(v64, orig); vdso_do_func_patch64()
459 printk(KERN_ERR "vDSO64: Can't find symbol %s !\n", orig); vdso_do_func_patch64()
354 vdso_do_func_patch32(struct lib32_elfinfo *v32, struct lib64_elfinfo *v64, const char *orig, const char *fix) vdso_do_func_patch32() argument
451 vdso_do_func_patch64(struct lib32_elfinfo *v32, struct lib64_elfinfo *v64, const char *orig, const char *fix) vdso_do_func_patch64() argument
H A Dexceptions-64e.S398 ld r9,excf+EX_R1(r13); /* load orig r1 back from PACA */ \
399 lwz r10,excf+EX_CR(r13); /* load orig CR back from PACA */ \
411 std r10,_CCR(r1); /* store orig CR in stackframe */ \
/linux-4.1.27/arch/cris/arch-v10/drivers/
H A Deeprom.c82 static loff_t eeprom_lseek(struct file * file, loff_t offset, int orig);
395 static loff_t eeprom_lseek(struct file * file, loff_t offset, int orig) eeprom_lseek() argument
398 * orig 0: position from begning of eeprom eeprom_lseek()
399 * orig 1: relative from current position eeprom_lseek()
400 * orig 2: position from last eeprom address eeprom_lseek()
403 switch (orig) eeprom_lseek()
/linux-4.1.27/net/ipv6/
H A Dexthdrs.c859 * @orig: copy of original daddr address if modified
861 * Returns NULL if no txoptions or no srcrt, otherwise returns orig
862 * and initial value of fl6->daddr set in orig
866 struct in6_addr *orig) fl6_update_dst()
871 *orig = fl6->daddr; fl6_update_dst()
873 return orig; fl6_update_dst()
864 fl6_update_dst(struct flowi6 *fl6, const struct ipv6_txoptions *opt, struct in6_addr *orig) fl6_update_dst() argument
/linux-4.1.27/arch/alpha/kernel/
H A Dsys_sio.c238 unsigned char orig, config; alphabook1_init_pci() local
277 outb(0x0f, 0x3ce); orig = inb(0x3cf); /* read PR5 */ alphabook1_init_pci()
285 outb(0x0f, 0x3ce); outb(orig, 0x3cf); /* (re)lock PR0-4 */ alphabook1_init_pci()
H A Dsys_miata.c175 /* This bridge is on the main bus of the later orig MIATA */ miata_map_irq()
/linux-4.1.27/mm/
H A Dgup.c1073 static int gup_huge_pmd(pmd_t orig, pmd_t *pmdp, unsigned long addr, gup_huge_pmd() argument
1079 if (write && !pmd_write(orig)) gup_huge_pmd()
1083 head = pmd_page(orig); gup_huge_pmd()
1099 if (unlikely(pmd_val(orig) != pmd_val(*pmdp))) { gup_huge_pmd()
1120 static int gup_huge_pud(pud_t orig, pud_t *pudp, unsigned long addr, gup_huge_pud() argument
1126 if (write && !pud_write(orig)) gup_huge_pud()
1130 head = pud_page(orig); gup_huge_pud()
1146 if (unlikely(pud_val(orig) != pud_val(*pudp))) { gup_huge_pud()
1162 static int gup_huge_pgd(pgd_t orig, pgd_t *pgdp, unsigned long addr, gup_huge_pgd() argument
1169 if (write && !pgd_write(orig)) gup_huge_pgd()
1173 head = pgd_page(orig); gup_huge_pgd()
1189 if (unlikely(pgd_val(orig) != pgd_val(*pgdp))) { gup_huge_pgd()
/linux-4.1.27/drivers/media/pci/tw68/
H A Dtw68-core.c197 u32 status, orig; tw68_irq() local
200 status = orig = tw_readl(TW68_INTSTAT) & dev->pci_irqmask; tw68_irq()
211 dev_dbg(&dev->pci->dev, "%s: **** INTERRUPT NOT HANDLED - clearing mask (orig 0x%08x, cur 0x%08x)", tw68_irq()
212 dev->name, orig, tw_readl(TW68_INTSTAT)); tw68_irq()
/linux-4.1.27/drivers/char/
H A Dnwflash.c271 static loff_t flash_llseek(struct file *file, loff_t offset, int orig) flash_llseek() argument
277 printk(KERN_DEBUG "flash_llseek: offset=0x%X, orig=0x%X.\n", flash_llseek()
278 (unsigned int) offset, orig); flash_llseek()
280 switch (orig) { flash_llseek()
H A Dmem.c675 static loff_t null_lseek(struct file *file, loff_t offset, int orig) null_lseek() argument
688 static loff_t memory_lseek(struct file *file, loff_t offset, int orig) memory_lseek() argument
693 switch (orig) { memory_lseek()
H A Drandom.c599 int entropy_count, orig; credit_entropy_bits() local
607 entropy_count = orig = ACCESS_ONCE(r->entropy_count); credit_entropy_bits()
654 if (cmpxchg(&r->entropy_count, orig, entropy_count) != orig) credit_entropy_bits()
1019 int entropy_count, orig; account() local
1026 entropy_count = orig = ACCESS_ONCE(r->entropy_count); account()
1051 if (cmpxchg(&r->entropy_count, orig, entropy_count) != orig) account()
/linux-4.1.27/include/sound/
H A Dhwdep.h33 long long offset, int orig);
H A Dinfo.h62 loff_t offset, int orig);
/linux-4.1.27/kernel/
H A Dseccomp.c505 struct seccomp_filter *orig = tsk->seccomp.filter; get_seccomp_filter() local
506 if (!orig) get_seccomp_filter()
509 atomic_inc(&orig->usage); get_seccomp_filter()
523 struct seccomp_filter *orig = tsk->seccomp.filter; put_seccomp_filter() local
525 while (orig && atomic_dec_and_test(&orig->usage)) { put_seccomp_filter()
526 struct seccomp_filter *freeme = orig; put_seccomp_filter()
527 orig = orig->prev; put_seccomp_filter()
H A Dfork.c328 static struct task_struct *dup_task_struct(struct task_struct *orig) dup_task_struct() argument
332 int node = tsk_fork_get_node(orig); dup_task_struct()
343 err = arch_dup_task_struct(tsk, orig); dup_task_struct()
351 * the sighand lock in case orig has changed between now and dup_task_struct()
358 setup_thread_stack(tsk, orig); dup_task_struct()
/linux-4.1.27/fs/nfsd/
H A Dexport.c192 struct svc_expkey *orig = container_of(a, struct svc_expkey, h); expkey_match() local
195 if (orig->ek_fsidtype != new->ek_fsidtype || expkey_match()
196 orig->ek_client != new->ek_client || expkey_match()
197 memcmp(orig->ek_fsid, new->ek_fsid, key_len(orig->ek_fsidtype)) != 0) expkey_match()
691 struct svc_export *orig = container_of(a, struct svc_export, h); svc_export_match() local
693 return orig->ex_client == new->ex_client && svc_export_match()
694 path_equal(&orig->ex_path, &new->ex_path); svc_export_match()
/linux-4.1.27/include/media/
H A Dlirc_dev.h111 unsigned char *orig) lirc_buffer_write()
115 ret = kfifo_in_locked(&buf->fifo, orig, buf->chunk_size, lirc_buffer_write()
110 lirc_buffer_write(struct lirc_buffer *buf, unsigned char *orig) lirc_buffer_write() argument
/linux-4.1.27/arch/powerpc/kernel/vdso32/
H A Dgettimeofday.S230 /* Load orig stamp (offset to TB) */
247 /* Subtract tb orig stamp and shift left 12 bits.
/linux-4.1.27/drivers/usb/host/whci/
H A Dqset.c574 void *orig; qset_add_urb_sg_linearize() local
581 orig = sg_virt(sg); qset_add_urb_sg_linearize()
592 std->bounce_offset = orig - sg_virt(sg); qset_add_urb_sg_linearize()
600 memcpy(bounce, orig, len); qset_add_urb_sg_linearize()
606 orig += len; qset_add_urb_sg_linearize()
/linux-4.1.27/net/sunrpc/
H A Dsvcauth_unix.c113 struct ip_map *orig = container_of(corig, struct ip_map, h); ip_map_match() local
115 return strcmp(orig->m_class, new->m_class) == 0 && ip_map_match()
116 ipv6_addr_equal(&orig->m_addr, &new->m_addr); ip_map_match()
434 struct unix_gid *orig = container_of(corig, struct unix_gid, h); unix_gid_match() local
436 return uid_eq(orig->uid, new->uid); unix_gid_match()
/linux-4.1.27/security/selinux/
H A Davc.c537 struct avc_node *pos, *node, *orig = NULL; avc_update_node() local
560 orig = pos; hlist_for_each_entry()
565 if (!orig) {
575 avc_node_populate(node, ssid, tsid, tclass, &orig->ae.avd);
598 avc_node_replace(node, orig);
/linux-4.1.27/drivers/md/
H A Ddm.c85 struct request *orig, *clone; member in struct:dm_rq_target_io
100 struct bio *orig; member in struct:dm_rq_clone_bio_info
1001 struct bio *bio = info->orig; end_clone_bio()
1002 unsigned int nr_bytes = info->orig->bi_iter.bi_size; end_clone_bio()
1033 if (tio->orig->bio != bio) end_clone_bio()
1041 blk_update_request(tio->orig, 0, nr_bytes); end_clone_bio()
1110 struct request *rq = tio->orig; dm_end_request()
1184 dm_requeue_unmapped_original_request(tio->md, tio->orig); dm_requeue_unmapped_request()
1338 dm_complete_request(tio->orig, error); end_clone_request()
1827 info->orig = bio_orig; dm_rq_bio_constructor()
1891 tio->orig = rq; init_tio()
2010 struct request *rq = tio->orig; map_tio_request()
2017 static void dm_start_request(struct mapped_device *md, struct request *orig) dm_start_request() argument
2019 if (!orig->q->mq_ops) dm_start_request()
2020 blk_start_request(orig); dm_start_request()
2022 blk_mq_start_request(orig); dm_start_request()
2023 atomic_inc(&md->pending[rq_data_dir(orig)]); dm_start_request()
2026 md->last_rq_pos = rq_end_sector(orig); dm_start_request()
2027 md->last_rq_rw = rq_data_dir(orig); dm_start_request()
/linux-4.1.27/drivers/target/
H A Dtarget_core_rd.c606 char *orig, *ptr, *opts; rd_set_configfs_dev_params() local
614 orig = opts; rd_set_configfs_dev_params()
642 kfree(orig); rd_set_configfs_dev_params()
H A Dtarget_core_iblock.c540 char *orig, *ptr, *arg_p, *opts; iblock_set_configfs_dev_params() local
549 orig = opts; iblock_set_configfs_dev_params()
597 kfree(orig); iblock_set_configfs_dev_params()
H A Dtarget_core_file.c730 char *orig, *ptr, *arg_p, *opts; fd_set_configfs_dev_params() local
738 orig = opts; fd_set_configfs_dev_params()
794 kfree(orig); fd_set_configfs_dev_params()
H A Dtarget_core_pscsi.c731 char *orig, *ptr, *opts; pscsi_set_configfs_dev_params() local
739 orig = opts; pscsi_set_configfs_dev_params()
799 kfree(orig); pscsi_set_configfs_dev_params()
H A Dtarget_core_user.c955 char *orig, *ptr, *opts, *arg_p; tcmu_set_configfs_dev_params() local
964 orig = opts; tcmu_set_configfs_dev_params()
1014 kfree(orig); tcmu_set_configfs_dev_params()
H A Dtarget_core_configfs.c1031 char *orig, *ptr, *opts; target_core_dev_pr_store_attr_res_aptpl_metadata() local
1055 orig = opts; target_core_dev_pr_store_attr_res_aptpl_metadata()
1191 kfree(orig); target_core_dev_pr_store_attr_res_aptpl_metadata()
/linux-4.1.27/drivers/iio/accel/
H A Dmma9551_core.c507 u8 tmp, orig; mma9551_update_config_bits() local
509 ret = mma9551_read_config_byte(client, app_id, reg, &orig); mma9551_update_config_bits()
513 tmp = orig & ~mask; mma9551_update_config_bits()
516 if (tmp == orig) mma9551_update_config_bits()
/linux-4.1.27/drivers/media/pci/ttpci/
H A Dttpci-eeprom.c71 /* In case there is a sig check failure have the orig contents available */ getmac_tt()
/linux-4.1.27/drivers/scsi/bnx2fc/
H A Dbnx2fc_els.c37 BNX2FC_ELS_DBG("rrq_compl: orig xid = 0x%x, rrq_xid = 0x%x\n", bnx2fc_rrq_compl()
104 BNX2FC_ELS_DBG("RRQ failed - release orig io req 0x%x\n", bnx2fc_send_rrq()
393 BNX2FC_IO_DBG(rec_req, "rec_compl: orig xid = 0x%x", orig_io_req->xid); bnx2fc_rec_compl()
409 /* REC timedout. send ABTS to the orig IO req */ bnx2fc_rec_compl()
/linux-4.1.27/net/bridge/netfilter/
H A Debt_vlan.c45 /* VLAN encapsulated Type/Length field, given from orig frame */ ebt_vlan_mt()
/linux-4.1.27/net/rxrpc/
H A Dar-error.c204 _proto("Rx Received error report { orig=%u }", rxrpc_UDP_error_handler()
/linux-4.1.27/net/bluetooth/
H A Damp.c25 BT_DBG("ctrl %p orig refcnt %d", ctrl, amp_ctrl_get()
43 BT_DBG("ctrl %p orig refcnt %d", ctrl, amp_ctrl_put()
H A Da2mp.c798 BT_DBG("mgr %p orig refcnt %d", mgr, atomic_read(&mgr->kref.refcount)); amp_mgr_get()
821 BT_DBG("mgr %p orig refcnt %d", mgr, atomic_read(&mgr->kref.refcount)); amp_mgr_put()
/linux-4.1.27/drivers/net/wan/
H A Dixp4xx_hss.c36 #define PKT_EXTRA_FLAGS 0 /* orig 1 */
54 #define HSS0_CHL_RXTRIG_QUEUE 12 /* orig size = 32 dwords */
55 #define HSS0_PKT_RX_QUEUE 13 /* orig size = 32 dwords */
56 #define HSS0_PKT_TX0_QUEUE 14 /* orig size = 16 dwords */
60 #define HSS0_PKT_RXFREE0_QUEUE 18 /* orig size = 16 dwords */
64 #define HSS0_PKT_TXDONE_QUEUE 22 /* orig size = 64 dwords */
/linux-4.1.27/arch/xtensa/kernel/
H A Dvectors.S243 * depc = orig a0,
244 * a0 = orig DEPC,
247 * excsave_1 = orig a3
348 * depc = orig a0,
349 * a0 = orig DEPC,
352 * excsave_1 = orig a3
/linux-4.1.27/drivers/spi/
H A Dspi-pxa2xx.c196 u32 value, orig; lpss_ssp_setup() local
202 orig = readl(drv_data->ioaddr + offset + SPI_CS_CONTROL); lpss_ssp_setup()
205 value = orig | SPI_CS_CONTROL_SW_MODE; lpss_ssp_setup()
208 if (value != (orig | SPI_CS_CONTROL_SW_MODE)) { lpss_ssp_setup()
213 orig = readl(drv_data->ioaddr + offset + SPI_CS_CONTROL); lpss_ssp_setup()
216 value = orig & ~SPI_CS_CONTROL_SW_MODE; lpss_ssp_setup()
219 if (value != (orig & ~SPI_CS_CONTROL_SW_MODE)) { lpss_ssp_setup()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_crt.c424 u32 hotplug_en, orig, stat; intel_crt_detect_hotplug() local
443 hotplug_en = orig = I915_READ(PORT_HOTPLUG_EN); intel_crt_detect_hotplug()
464 I915_WRITE(PORT_HOTPLUG_EN, orig); intel_crt_detect_hotplug()
/linux-4.1.27/sound/core/
H A Dinfo.c156 static loff_t snd_info_entry_llseek(struct file *file, loff_t offset, int orig) snd_info_entry_llseek() argument
169 file, offset, orig); snd_info_entry_llseek()
176 switch (orig) { snd_info_entry_llseek()
H A Dhwdep.c56 static loff_t snd_hwdep_llseek(struct file * file, loff_t offset, int orig) snd_hwdep_llseek() argument
60 return hw->ops.llseek(hw, file, offset, orig); snd_hwdep_llseek()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfad_debugfs.c174 bfad_debugfs_lseek(struct file *file, loff_t offset, int orig) bfad_debugfs_lseek() argument
177 return fixed_size_llseek(file, offset, orig, bfad_debugfs_lseek()
/linux-4.1.27/drivers/sbus/char/
H A Djsflash.c226 static loff_t jsf_lseek(struct file * file, loff_t offset, int orig) jsf_lseek() argument
231 switch (orig) { jsf_lseek()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dbnad_debugfs.c232 bnad_debugfs_lseek(struct file *file, loff_t offset, int orig) bnad_debugfs_lseek() argument
239 return fixed_size_llseek(file, offset, orig, debug->buffer_len); bnad_debugfs_lseek()
/linux-4.1.27/drivers/tty/vt/
H A Dvc_screen.c182 static loff_t vcs_lseek(struct file *file, loff_t offset, int orig) vcs_lseek() argument
191 return fixed_size_llseek(file, offset, orig, size); vcs_lseek()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
H A Ddss.h73 #define FLD_MOD(orig, val, start, end) \
74 (((orig) & ~FLD_MASK(start, end)) | FLD_VAL(val, start, end))
/linux-4.1.27/net/ipv4/
H A Droute.c1275 struct rtable *orig; rt_bind_exception() local
1282 orig = rcu_dereference(*porig); rt_bind_exception()
1290 orig = NULL; rt_bind_exception()
1298 if (orig) rt_bind_exception()
1299 rt_free(orig); rt_bind_exception()
1312 struct rtable *orig, *prev, **p; rt_cache_route() local
1320 orig = *p; rt_cache_route()
1322 prev = cmpxchg(p, orig, rt); rt_cache_route()
1323 if (prev == orig) { rt_cache_route()
1324 if (orig) rt_cache_route()
1325 rt_free(orig); rt_cache_route()
/linux-4.1.27/drivers/scsi/csiostor/
H A Dcsio_init.c348 struct csio_scsi_qset *orig; csio_config_queues() local
417 orig = &hw->sqset[i][k]; csio_config_queues()
418 sqset->eq_idx = orig->eq_idx; csio_config_queues()
419 sqset->iq_idx = orig->iq_idx; csio_config_queues()
/linux-4.1.27/arch/sparc/include/asm/
H A Dpgtable_64.h866 pte_t *ptep, pte_t orig, int fullmm);
881 pte_t orig = *ptep; __set_pte_at() local
891 if (likely(mm != &init_mm) && pte_accessible(mm, orig)) __set_pte_at()
892 tlb_batch_add(mm, addr, ptep, orig, fullmm); __set_pte_at()
/linux-4.1.27/include/net/bluetooth/
H A Dhci_core.h860 BT_DBG("hcon %p orig refcnt %d", conn, atomic_read(&conn->refcnt)); hci_conn_hold()
868 BT_DBG("hcon %p orig refcnt %d", conn, atomic_read(&conn->refcnt)); hci_conn_drop()
904 BT_DBG("%s orig refcnt %d", d->name, hci_dev_put()
912 BT_DBG("%s orig refcnt %d", d->name, hci_dev_hold()
/linux-4.1.27/arch/m68k/coldfire/
H A Dentry.S131 addql #4,%sp /* orig d0 */
/linux-4.1.27/net/irda/
H A Dirlmp.c617 * Function irlmp_dup (orig, instance)
623 struct lsap_cb *irlmp_dup(struct lsap_cb *orig, void *instance) irlmp_dup() argument
632 if ((!hashbin_find(irlmp->unconnected_lsaps, (long) orig, NULL)) || irlmp_dup()
633 (orig->lap == NULL)) { irlmp_dup()
642 new = kmemdup(orig, sizeof(*new), GFP_ATOMIC); irlmp_dup()
649 /* new->lap = orig->lap; => done in the memcpy() */ irlmp_dup()
650 /* new->slsap_sel = orig->slsap_sel; => done in the memcpy() */ irlmp_dup()
H A Dirttp.c1428 struct tsap_cb *irttp_dup(struct tsap_cb *orig, void *instance) irttp_dup() argument
1437 if (!hashbin_find(irttp->tsaps, (long) orig, NULL)) { irttp_dup()
1444 new = kmemdup(orig, sizeof(struct tsap_cb), GFP_ATOMIC); irttp_dup()
1456 new->lsap = irlmp_dup(orig->lsap, new); irttp_dup()
/linux-4.1.27/fs/btrfs/
H A Dextent_io.c454 static void split_cb(struct extent_io_tree *tree, struct extent_state *orig, split_cb() argument
458 tree->ops->split_extent_hook(tree->mapping->host, orig, split); split_cb()
464 * offset inside 'orig' where it should be split.
467 * the tree has 'orig' at [orig->start, orig->end]. After calling, there
469 * prealloc: [orig->start, split - 1]
470 * orig: [ split, orig->end ]
475 static int split_state(struct extent_io_tree *tree, struct extent_state *orig, split_state() argument
480 split_cb(tree, orig, split); split_state()
482 prealloc->start = orig->start; split_state()
484 prealloc->state = orig->state; split_state()
485 orig->start = split; split_state()
487 node = tree_insert(&tree->state, &orig->rb_node, prealloc->end, split_state()
H A Dsuper.c392 char *p, *num, *orig = NULL; btrfs_parse_options() local
414 orig = options; btrfs_parse_options()
757 kfree(orig); btrfs_parse_options()
772 char *device_name, *opts, *orig, *p; btrfs_parse_early_options() local
786 orig = opts; btrfs_parse_early_options()
840 kfree(orig); btrfs_parse_early_options()
H A Dfree-space-cache.c349 io_ctl->orig = NULL; io_ctl_unmap_page()
358 io_ctl->orig = io_ctl->cur; io_ctl_map_page()
479 crc = btrfs_csum_data(io_ctl->orig + offset, crc, io_ctl_set_crc()
507 crc = btrfs_csum_data(io_ctl->orig + offset, crc, io_ctl_check_crc()
559 if (io_ctl->cur != io_ctl->orig) { io_ctl_add_bitmap()
579 if (io_ctl->cur != io_ctl->orig) io_ctl_zero_remaining_pages()
H A Dextent_io.h91 struct extent_state *orig, u64 split);
/linux-4.1.27/virt/kvm/arm/
H A Dvgic.c478 u32 *reg, orig; vgic_handle_set_pending_reg() local
488 orig = *reg; vgic_handle_set_pending_reg()
501 *reg |= orig & 0xffff; vgic_handle_set_pending_reg()
516 u32 *reg, orig; vgic_handle_clear_pending_reg() local
521 orig = *reg; vgic_handle_clear_pending_reg()
533 *reg |= orig & 0xffff; vgic_handle_clear_pending_reg()
/linux-4.1.27/drivers/s390/char/
H A Dzcore.c383 static loff_t zcore_lseek(struct file *file, loff_t offset, int orig) zcore_lseek() argument
388 switch (orig) { zcore_lseek()
/linux-4.1.27/drivers/usb/core/
H A Ddevices.c664 static loff_t usb_device_lseek(struct file *file, loff_t offset, int orig) usb_device_lseek() argument
670 switch (orig) { usb_device_lseek()
/linux-4.1.27/arch/arc/mm/
H A Dcache_arc700.c358 * The orig Cache Management Module "CDU" only required paddr to invalidate a
374 * orig 5 bits of paddr were anyways ignored by CDU line ops, as they
/linux-4.1.27/security/
H A Ddevice_cgroup.c67 static int dev_exceptions_copy(struct list_head *dest, struct list_head *orig) dev_exceptions_copy() argument
73 list_for_each_entry(ex, orig, list) { list_for_each_entry()
H A Dsecurity.c277 int security_sb_copy_data(char *orig, char *copy) security_sb_copy_data() argument
279 return security_ops->sb_copy_data(orig, copy); security_sb_copy_data()
/linux-4.1.27/drivers/net/team/
H A Dteam.c72 return __set_port_dev_addr(port->dev, port->orig.dev_addr); team_port_set_orig_dev_addr()
1149 port->orig.mtu = port_dev->mtu; team_port_add()
1156 memcpy(port->orig.dev_addr, port_dev->dev_addr, port_dev->addr_len); team_port_add()
1242 dev_set_mtu(port_dev, port->orig.mtu); team_port_add()
1282 dev_set_mtu(port_dev, port->orig.mtu); team_port_del()
/linux-4.1.27/net/key/
H A Daf_key.c305 const struct sadb_msg *orig) pfkey_hdr_dup()
307 *new = *orig; pfkey_hdr_dup()
310 static int pfkey_error(const struct sadb_msg *orig, int err, struct sock *sk) pfkey_error() argument
331 pfkey_hdr_dup(hdr, orig); pfkey_error()
1572 static struct sk_buff *compose_sadb_supported(const struct sadb_msg *orig, compose_sadb_supported() argument
1598 pfkey_hdr_dup(hdr, orig); compose_sadb_supported()
304 pfkey_hdr_dup(struct sadb_msg *new, const struct sadb_msg *orig) pfkey_hdr_dup() argument
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
H A Dlu_object.c73 struct lu_object *orig; lu_object_put() local
79 orig = o; lu_object_put()
97 lu_object_free(env, orig); lu_object_put()
152 lu_object_free(env, orig); lu_object_put()
/linux-4.1.27/drivers/staging/media/lirc/
H A Dlirc_parallel.c320 static loff_t lirc_lseek(struct file *filep, loff_t offset, int orig) lirc_lseek() argument
/linux-4.1.27/arch/m32r/kernel/
H A Dsmpboot.c3 * orig : i386 2.4.10
/linux-4.1.27/sound/pcmcia/vx/
H A Dvxp_ops.c204 snd_printdd(KERN_DEBUG "xilinx: dsp size received 0x%x, orig 0x%Zx\n", c, fw->size); vxp_load_xilinx_binary()
/linux-4.1.27/drivers/mtd/
H A Dmtdchar.c55 static loff_t mtdchar_lseek(struct file *file, loff_t offset, int orig) mtdchar_lseek() argument
58 return fixed_size_llseek(file, offset, orig, mfi->mtd->size); mtdchar_lseek()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Ddebugfs.c1206 static loff_t dev_mem_seek(struct file *file, loff_t offset, int orig) dev_mem_seek() argument
1214 switch (orig) { dev_mem_seek()
/linux-4.1.27/arch/x86/kvm/
H A Dmmu.c421 union split_spte *ssptep, sspte, orig; __update_clear_spte_slow() local
427 orig.spte_low = xchg(&ssptep->spte_low, sspte.spte_low); __update_clear_spte_slow()
428 orig.spte_high = ssptep->spte_high; __update_clear_spte_slow()
432 return orig.spte; __update_clear_spte_slow()
456 union split_spte spte, *orig = (union split_spte *)sptep; __get_spte_lockless() local
463 spte.spte_low = orig->spte_low; __get_spte_lockless()
466 spte.spte_high = orig->spte_high; __get_spte_lockless()
469 if (unlikely(spte.spte_low != orig->spte_low || __get_spte_lockless()
/linux-4.1.27/drivers/char/agp/
H A Dgeneric.c686 printk(KERN_INFO PFX "bridge couldn't do x8. bridge_agpstat:%x (orig=%x)\n", agp_v3_parse_one()
692 printk(KERN_INFO PFX "graphics card couldn't do x8. vga_agpstat:%x (orig=%x)\n", agp_v3_parse_one()
/linux-4.1.27/drivers/pci/
H A Dpci.c3001 u16 orig, new; pci_intx_mask_supported() local
3008 pci_read_config_word(dev, PCI_COMMAND, &orig); pci_intx_mask_supported()
3010 orig ^ PCI_COMMAND_INTX_DISABLE); pci_intx_mask_supported()
3018 if ((new ^ orig) & ~PCI_COMMAND_INTX_DISABLE) { pci_intx_mask_supported()
3020 orig, new); pci_intx_mask_supported()
3021 } else if ((new ^ orig) & PCI_COMMAND_INTX_DISABLE) { pci_intx_mask_supported()
3023 pci_write_config_word(dev, PCI_COMMAND, orig); pci_intx_mask_supported()
/linux-4.1.27/sound/pci/
H A Dens1370.c535 unsigned int temp, i, orig, r; snd_es1371_src_read() local
538 temp = orig = snd_es1371_wait_src_ready(ensoniq); snd_es1371_src_read()
559 r = orig & (ES_1371_SRC_DISABLE | ES_1371_DIS_P1 | snd_es1371_src_read()
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A Dpctv452e.c677 { STB0899_STOPCLK1, 0x20 }, /* orig: 0x00 budget-ci: 0x20 */
/linux-4.1.27/drivers/infiniband/ulp/iser/
H A Discsi_iser.h227 * @orig_size: num entris of orig sg list
/linux-4.1.27/drivers/base/regmap/
H A Dregmap.c2333 unsigned int tmp, orig; _regmap_update_bits() local
2335 ret = _regmap_read(map, reg, &orig); _regmap_update_bits()
2339 tmp = orig & ~mask; _regmap_update_bits()
2342 if (tmp != orig) { _regmap_update_bits()
/linux-4.1.27/fs/ocfs2/dlm/
H A Ddlmlock.c629 mlog(ML_ERROR, "orig args: lksb=%p, ast=%p, bast=%p, " dlmlock()
/linux-4.1.27/fs/reiserfs/
H A Dprints.c569 printk("Journal orig size %d\n", sb_jp_journal_size(rs)); print_super_block()
/linux-4.1.27/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.c1294 unsigned char orig; matroxfb_getmemory() local
1307 orig = mga_inb(M_EXTVGA_DATA); matroxfb_getmemory()
1308 mga_outb(M_EXTVGA_DATA, orig | 0x80); matroxfb_getmemory()
1328 mga_outb(M_EXTVGA_DATA, orig); matroxfb_getmemory()
/linux-4.1.27/include/target/iscsi/
H A Discsi_target_core.h407 /* Iovec current and orig count for iscsi_cmd->iov_data */
/linux-4.1.27/arch/parisc/kernel/
H A Dsignal.c485 * 0: <return address (orig r31)> insert_restart_trampoline()
/linux-4.1.27/arch/c6x/kernel/
H A Dentry.S117 STDW .D2T1 A5:A4,*SP--[1] ; save TSR and orig A4
/linux-4.1.27/arch/frv/kernel/
H A Dbreak.S134 # BPSR.ET 0 1 (can't have caused orig excep otherwise)

Completed in 7086 milliseconds

12