claim 1776 drivers/block/zram/zram_drv.c if (bdev->bd_openers || zram->claim) { claim 1783 drivers/block/zram/zram_drv.c zram->claim = true; claim 1793 drivers/block/zram/zram_drv.c zram->claim = false; claim 1808 drivers/block/zram/zram_drv.c if (zram->claim) claim 1979 drivers/block/zram/zram_drv.c if (bdev->bd_openers || zram->claim) { claim 1985 drivers/block/zram/zram_drv.c zram->claim = true; claim 114 drivers/block/zram/zram_drv.h bool claim; /* Protected by bdev->bd_mutex */ claim 110 drivers/infiniband/hw/qib/qib_sd7220.c static int epb_access(struct qib_devdata *dd, int sdnum, int claim); claim 552 drivers/infiniband/hw/qib/qib_sd7220.c static int epb_access(struct qib_devdata *dd, int sdnum, int claim) claim 586 drivers/infiniband/hw/qib/qib_sd7220.c if (claim < 0) { claim 602 drivers/infiniband/hw/qib/qib_sd7220.c } else if (claim > 0) { claim 179 drivers/irqchip/irq-sifive-plic.c void __iomem *claim = handler->hart_base + CONTEXT_CLAIM; claim 185 drivers/irqchip/irq-sifive-plic.c while ((hwirq = readl(claim))) { claim 4256 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c goto claim; claim 4271 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c claim: claim 281 drivers/net/wireless/marvell/mwifiex/sdio.c u32 len, u32 port, u8 claim) claim 292 drivers/net/wireless/marvell/mwifiex/sdio.c if (claim) claim 297 drivers/net/wireless/marvell/mwifiex/sdio.c if (claim) claim 1673 drivers/nvdimm/btt.c struct nd_btt *nd_btt = to_nd_btt(ndns->claim); claim 211 drivers/nvdimm/btt_devs.c dev_name(ndns->claim)); claim 23 drivers/nvdimm/claim.c dev_WARN_ONCE(dev, ndns->claim != dev, "%s: invalid claim\n", __func__); claim 24 drivers/nvdimm/claim.c ndns->claim = NULL; claim 48 drivers/nvdimm/claim.c if (attach->claim) claim 52 drivers/nvdimm/claim.c attach->claim = dev; claim 187 drivers/nvdimm/namespace_devs.c if (ndns->claim && is_nd_btt(ndns->claim)) claim 266 drivers/nvdimm/namespace_devs.c if (dev->driver || to_ndns(dev)->claim) claim 374 drivers/nvdimm/namespace_devs.c dev_WARN_ONCE(dev, dev->driver || to_ndns(dev)->claim, claim 376 drivers/nvdimm/namespace_devs.c if (dev->driver || to_ndns(dev)->claim) claim 982 drivers/nvdimm/namespace_devs.c if (dev->driver || ndns->claim) claim 1062 drivers/nvdimm/namespace_devs.c if (val == 0 && id != 0 && nd_region->ns_seed != dev && !ndns->claim) claim 1292 drivers/nvdimm/namespace_devs.c if (to_ndns(dev)->claim) claim 1381 drivers/nvdimm/namespace_devs.c if (to_ndns(dev)->claim) claim 1506 drivers/nvdimm/namespace_devs.c rc = sprintf(buf, "%s\n", ndns->claim ? dev_name(ndns->claim) : ""); claim 1517 drivers/nvdimm/namespace_devs.c if (dev->driver || ndns->claim) claim 1585 drivers/nvdimm/namespace_devs.c struct device *claim; claim 1590 drivers/nvdimm/namespace_devs.c claim = ndns->claim; claim 1591 drivers/nvdimm/namespace_devs.c if (claim && is_nd_btt(claim)) claim 1593 drivers/nvdimm/namespace_devs.c else if (claim && is_nd_pfn(claim)) claim 1595 drivers/nvdimm/namespace_devs.c else if (claim && is_nd_dax(claim)) claim 1597 drivers/nvdimm/namespace_devs.c else if (!claim && pmem_should_map_pages(dev)) claim 1713 drivers/nvdimm/namespace_devs.c if (dev_WARN_ONCE(&ndns->dev, ndns->claim != dev, claim 1716 drivers/nvdimm/namespace_devs.c dev_name(ndns->claim))) claim 1720 drivers/nvdimm/namespace_devs.c if (ndns->claim) { claim 1722 drivers/nvdimm/namespace_devs.c dev_name(ndns->claim)); claim 316 drivers/nvdimm/pfn_devs.c dev_name(ndns->claim)); claim 53 drivers/usb/atm/xusbatm.c struct usb_interface *intf, int altsetting, int claim) claim 58 drivers/usb/atm/xusbatm.c if (claim && (ret = usb_driver_claim_interface(&xusbatm_usb_driver, intf, usbatm))) { claim 2498 fs/f2fs/f2fs.h block_t diff, bool add, bool claim) claim 2505 fs/f2fs/f2fs.h if (claim) claim 1239 fs/nfs/nfs4proc.c enum open_claim_type4 claim) claim 1242 fs/nfs/nfs4proc.c return claim; claim 1243 fs/nfs/nfs4proc.c switch (claim) { claim 1245 fs/nfs/nfs4proc.c return claim; claim 1270 fs/nfs/nfs4proc.c enum open_claim_type4 claim, claim 1303 fs/nfs/nfs4proc.c p->o_arg.claim = nfs4_map_atomic_open_claim(server, claim); claim 1322 fs/nfs/nfs4proc.c switch (p->o_arg.claim) { claim 1340 fs/nfs/nfs4proc.c switch (p->o_arg.claim) { claim 1416 fs/nfs/nfs4proc.c int open_mode, enum open_claim_type4 claim) claim 1422 fs/nfs/nfs4proc.c switch (claim) { claim 1447 fs/nfs/nfs4proc.c enum open_claim_type4 claim) claim 1453 fs/nfs/nfs4proc.c switch (claim) { claim 1824 fs/nfs/nfs4proc.c enum open_claim_type4 claim = opendata->o_arg.claim; claim 1830 fs/nfs/nfs4proc.c if (can_open_cached(state, fmode, open_mode, claim)) { claim 1838 fs/nfs/nfs4proc.c if (!can_open_delegated(delegation, fmode, claim)) { claim 1876 fs/nfs/nfs4proc.c switch (data->o_arg.claim) { claim 1943 fs/nfs/nfs4proc.c switch (data->o_arg.claim) { claim 2012 fs/nfs/nfs4proc.c if (data->o_arg.claim == NFS4_OPEN_CLAIM_PREVIOUS) claim 2056 fs/nfs/nfs4proc.c struct nfs4_state *state, enum open_claim_type4 claim) claim 2061 fs/nfs/nfs4proc.c NULL, claim, GFP_NOFS); claim 2365 fs/nfs/nfs4proc.c enum open_claim_type4 claim = data->o_arg.claim; claim 2377 fs/nfs/nfs4proc.c data->o_arg.open_flags, claim)) claim 2381 fs/nfs/nfs4proc.c if (can_open_delegated(delegation, data->o_arg.fmode, claim)) claim 2387 fs/nfs/nfs4proc.c switch (claim) { claim 3001 fs/nfs/nfs4proc.c switch(opendata->o_arg.claim) { claim 3051 fs/nfs/nfs4proc.c enum open_claim_type4 claim = NFS4_OPEN_CLAIM_NULL; claim 3071 fs/nfs/nfs4proc.c claim = NFS4_OPEN_CLAIM_FH; claim 3073 fs/nfs/nfs4proc.c c, claim, GFP_KERNEL); claim 1532 fs/nfs/nfs4xdr.c switch (arg->claim) { claim 51 include/linux/nd.h struct device *claim; claim 470 include/linux/nfs_xdr.h enum open_claim_type4 claim; claim 68 net/batman-adv/bridge_loop_avoidance.c struct batadv_bla_claim *claim = (struct batadv_bla_claim *)data; claim 71 net/batman-adv/bridge_loop_avoidance.c hash = jhash(&claim->addr, sizeof(claim->addr), hash); claim 72 net/batman-adv/bridge_loop_avoidance.c hash = jhash(&claim->vid, sizeof(claim->vid), hash); claim 86 net/batman-adv/bridge_loop_avoidance.c const struct batadv_bla_claim *claim = (struct batadv_bla_claim *)data; claim 89 net/batman-adv/bridge_loop_avoidance.c hash = jhash(&claim->addr, sizeof(claim->addr), hash); claim 90 net/batman-adv/bridge_loop_avoidance.c hash = jhash(&claim->vid, sizeof(claim->vid), hash); claim 175 net/batman-adv/bridge_loop_avoidance.c struct batadv_bla_claim *claim; claim 178 net/batman-adv/bridge_loop_avoidance.c claim = container_of(ref, struct batadv_bla_claim, refcount); claim 180 net/batman-adv/bridge_loop_avoidance.c spin_lock_bh(&claim->backbone_lock); claim 181 net/batman-adv/bridge_loop_avoidance.c old_backbone_gw = claim->backbone_gw; claim 182 net/batman-adv/bridge_loop_avoidance.c claim->backbone_gw = NULL; claim 183 net/batman-adv/bridge_loop_avoidance.c spin_unlock_bh(&claim->backbone_lock); claim 186 net/batman-adv/bridge_loop_avoidance.c old_backbone_gw->crc ^= crc16(0, claim->addr, ETH_ALEN); claim 191 net/batman-adv/bridge_loop_avoidance.c kfree_rcu(claim, rcu); claim 198 net/batman-adv/bridge_loop_avoidance.c static void batadv_claim_put(struct batadv_bla_claim *claim) claim 200 net/batman-adv/bridge_loop_avoidance.c kref_put(&claim->refcount, batadv_claim_release); claim 216 net/batman-adv/bridge_loop_avoidance.c struct batadv_bla_claim *claim; claim 227 net/batman-adv/bridge_loop_avoidance.c hlist_for_each_entry_rcu(claim, head, hash_entry) { claim 228 net/batman-adv/bridge_loop_avoidance.c if (!batadv_compare_claim(&claim->hash_entry, data)) claim 231 net/batman-adv/bridge_loop_avoidance.c if (!kref_get_unless_zero(&claim->refcount)) claim 234 net/batman-adv/bridge_loop_avoidance.c claim_tmp = claim; claim 296 net/batman-adv/bridge_loop_avoidance.c struct batadv_bla_claim *claim; claim 309 net/batman-adv/bridge_loop_avoidance.c hlist_for_each_entry_safe(claim, node_tmp, claim 311 net/batman-adv/bridge_loop_avoidance.c if (claim->backbone_gw != backbone_gw) claim 314 net/batman-adv/bridge_loop_avoidance.c batadv_claim_put(claim); claim 315 net/batman-adv/bridge_loop_avoidance.c hlist_del_rcu(&claim->hash_entry); claim 590 net/batman-adv/bridge_loop_avoidance.c struct batadv_bla_claim *claim; claim 609 net/batman-adv/bridge_loop_avoidance.c hlist_for_each_entry_rcu(claim, head, hash_entry) { claim 611 net/batman-adv/bridge_loop_avoidance.c if (claim->backbone_gw != backbone_gw) claim 614 net/batman-adv/bridge_loop_avoidance.c batadv_bla_send_claim(bat_priv, claim->addr, claim->vid, claim 685 net/batman-adv/bridge_loop_avoidance.c struct batadv_bla_claim *claim; claim 692 net/batman-adv/bridge_loop_avoidance.c claim = batadv_claim_hash_find(bat_priv, &search_claim); claim 695 net/batman-adv/bridge_loop_avoidance.c if (!claim) { claim 696 net/batman-adv/bridge_loop_avoidance.c claim = kzalloc(sizeof(*claim), GFP_ATOMIC); claim 697 net/batman-adv/bridge_loop_avoidance.c if (!claim) claim 700 net/batman-adv/bridge_loop_avoidance.c ether_addr_copy(claim->addr, mac); claim 701 net/batman-adv/bridge_loop_avoidance.c spin_lock_init(&claim->backbone_lock); claim 702 net/batman-adv/bridge_loop_avoidance.c claim->vid = vid; claim 703 net/batman-adv/bridge_loop_avoidance.c claim->lasttime = jiffies; claim 705 net/batman-adv/bridge_loop_avoidance.c claim->backbone_gw = backbone_gw; claim 706 net/batman-adv/bridge_loop_avoidance.c kref_init(&claim->refcount); claim 712 net/batman-adv/bridge_loop_avoidance.c kref_get(&claim->refcount); claim 715 net/batman-adv/bridge_loop_avoidance.c batadv_choose_claim, claim, claim 716 net/batman-adv/bridge_loop_avoidance.c &claim->hash_entry); claim 720 net/batman-adv/bridge_loop_avoidance.c kfree(claim); claim 724 net/batman-adv/bridge_loop_avoidance.c claim->lasttime = jiffies; claim 725 net/batman-adv/bridge_loop_avoidance.c if (claim->backbone_gw == backbone_gw) claim 738 net/batman-adv/bridge_loop_avoidance.c spin_lock_bh(&claim->backbone_lock); claim 739 net/batman-adv/bridge_loop_avoidance.c old_backbone_gw = claim->backbone_gw; claim 741 net/batman-adv/bridge_loop_avoidance.c claim->backbone_gw = backbone_gw; claim 742 net/batman-adv/bridge_loop_avoidance.c spin_unlock_bh(&claim->backbone_lock); claim 747 net/batman-adv/bridge_loop_avoidance.c old_backbone_gw->crc ^= crc16(0, claim->addr, ETH_ALEN); claim 755 net/batman-adv/bridge_loop_avoidance.c backbone_gw->crc ^= crc16(0, claim->addr, ETH_ALEN); claim 760 net/batman-adv/bridge_loop_avoidance.c batadv_claim_put(claim); claim 771 net/batman-adv/bridge_loop_avoidance.c batadv_bla_claim_get_backbone_gw(struct batadv_bla_claim *claim) claim 775 net/batman-adv/bridge_loop_avoidance.c spin_lock_bh(&claim->backbone_lock); claim 776 net/batman-adv/bridge_loop_avoidance.c backbone_gw = claim->backbone_gw; claim 778 net/batman-adv/bridge_loop_avoidance.c spin_unlock_bh(&claim->backbone_lock); claim 792 net/batman-adv/bridge_loop_avoidance.c struct batadv_bla_claim search_claim, *claim; claim 798 net/batman-adv/bridge_loop_avoidance.c claim = batadv_claim_hash_find(bat_priv, &search_claim); claim 799 net/batman-adv/bridge_loop_avoidance.c if (!claim) claim 807 net/batman-adv/bridge_loop_avoidance.c batadv_choose_claim, claim); claim 818 net/batman-adv/bridge_loop_avoidance.c batadv_claim_put(claim); claim 1271 net/batman-adv/bridge_loop_avoidance.c struct batadv_bla_claim *claim; claim 1284 net/batman-adv/bridge_loop_avoidance.c hlist_for_each_entry_rcu(claim, head, hash_entry) { claim 1285 net/batman-adv/bridge_loop_avoidance.c backbone_gw = batadv_bla_claim_get_backbone_gw(claim); claim 1293 net/batman-adv/bridge_loop_avoidance.c if (!batadv_has_timed_out(claim->lasttime, claim 1303 net/batman-adv/bridge_loop_avoidance.c claim->addr, claim->vid); claim 1307 net/batman-adv/bridge_loop_avoidance.c claim->addr, claim->vid); claim 1828 net/batman-adv/bridge_loop_avoidance.c struct batadv_bla_claim search_claim, *claim = NULL; claim 1852 net/batman-adv/bridge_loop_avoidance.c claim = batadv_claim_hash_find(bat_priv, &search_claim); claim 1854 net/batman-adv/bridge_loop_avoidance.c if (!claim) { claim 1872 net/batman-adv/bridge_loop_avoidance.c backbone_gw = batadv_bla_claim_get_backbone_gw(claim); claim 1879 net/batman-adv/bridge_loop_avoidance.c claim->lasttime = jiffies; claim 1914 net/batman-adv/bridge_loop_avoidance.c if (claim) claim 1915 net/batman-adv/bridge_loop_avoidance.c batadv_claim_put(claim); claim 1940 net/batman-adv/bridge_loop_avoidance.c struct batadv_bla_claim search_claim, *claim = NULL; claim 1966 net/batman-adv/bridge_loop_avoidance.c claim = batadv_claim_hash_find(bat_priv, &search_claim); claim 1969 net/batman-adv/bridge_loop_avoidance.c if (!claim) claim 1973 net/batman-adv/bridge_loop_avoidance.c backbone_gw = batadv_bla_claim_get_backbone_gw(claim); claim 1982 net/batman-adv/bridge_loop_avoidance.c if (batadv_has_timed_out(claim->lasttime, 100)) { claim 2021 net/batman-adv/bridge_loop_avoidance.c if (claim) claim 2022 net/batman-adv/bridge_loop_avoidance.c batadv_claim_put(claim); claim 2040 net/batman-adv/bridge_loop_avoidance.c struct batadv_bla_claim *claim; claim 2063 net/batman-adv/bridge_loop_avoidance.c hlist_for_each_entry_rcu(claim, head, hash_entry) { claim 2064 net/batman-adv/bridge_loop_avoidance.c backbone_gw = batadv_bla_claim_get_backbone_gw(claim); claim 2073 net/batman-adv/bridge_loop_avoidance.c claim->addr, batadv_print_vid(claim->vid), claim 2104 net/batman-adv/bridge_loop_avoidance.c struct batadv_bla_claim *claim) claim 2122 net/batman-adv/bridge_loop_avoidance.c is_own = batadv_compare_eth(claim->backbone_gw->orig, claim 2125 net/batman-adv/bridge_loop_avoidance.c spin_lock_bh(&claim->backbone_gw->crc_lock); claim 2126 net/batman-adv/bridge_loop_avoidance.c backbone_crc = claim->backbone_gw->crc; claim 2127 net/batman-adv/bridge_loop_avoidance.c spin_unlock_bh(&claim->backbone_gw->crc_lock); claim 2135 net/batman-adv/bridge_loop_avoidance.c if (nla_put(msg, BATADV_ATTR_BLA_ADDRESS, ETH_ALEN, claim->addr) || claim 2136 net/batman-adv/bridge_loop_avoidance.c nla_put_u16(msg, BATADV_ATTR_BLA_VID, claim->vid) || claim 2138 net/batman-adv/bridge_loop_avoidance.c claim->backbone_gw->orig) || claim 2172 net/batman-adv/bridge_loop_avoidance.c struct batadv_bla_claim *claim; claim 2179 net/batman-adv/bridge_loop_avoidance.c hlist_for_each_entry(claim, &hash->table[bucket], hash_entry) { claim 2184 net/batman-adv/bridge_loop_avoidance.c primary_if, claim); claim 2514 net/batman-adv/bridge_loop_avoidance.c struct batadv_bla_claim *claim = NULL; claim 2529 net/batman-adv/bridge_loop_avoidance.c claim = batadv_claim_hash_find(bat_priv, &search_claim); claim 2534 net/batman-adv/bridge_loop_avoidance.c if (claim) { claim 2535 net/batman-adv/bridge_loop_avoidance.c if (!batadv_compare_eth(claim->backbone_gw->orig, claim 2538 net/batman-adv/bridge_loop_avoidance.c batadv_claim_put(claim);