Benign repos Download

ib_rdma.c

Source contains an unconditional loopRemoves an entry from a linked list
SHA-256ef1bd1dabb2a7ba0325292bacbbb3bfd76399b3462863c2cc26bc8312adb27cb

Evidence

English function-word token "the" lines 1–7
1/*
2 * Copyright (c) 2006, 2018 Oracle and/or its affiliates. All rights reserved.
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING …
imports ib_mr.h lines 29–44
29:41… SE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
31 *
32 */
33#include <linux/kernel.h>
34#include <linux/slab.h>
35#include <linux/rculist.h>
36#include <linux/llist.h>
37
38#include "rds_single_path.h"
39#include "ib_mr.h"
40#include "rds.h"
41
42struct workqueue_struct *rds_ib_mr_wq;
43
44static void rds_ib_odp_mr_worker(struct work_struct …
Kernel error code return lines 68–77
68:25… _ipaddr;
69
70 i_ipaddr = kmalloc_obj(*i_ipaddr);
71 if (!i_ipaddr)
72 return -ENOMEM;
73
74 i_ipaddr->ipaddr = ipaddr;
75
76 spin_lock_irq(&rds_ibdev->spinlock);
77 list_add_tail_rcu(&i_ipaddr->list, &rds_ibdev->ipaddr_lis …
Removes an entry from a linked list lines 128–134
128:11… st_empty(&ib_nodev_conns));
129 BUG_ON(list_empty(&ic->ib_node));
130 list_del(&ic->ib_node);
131
132 spin_lock(&rds_ibdev->spinlock);
133 list_add_tail(&ic->ib_node, &rds_ibdev->conn_list);
134 spin_unlock(&rds_ibdev- …
Assigns a negative errno constant lines 556–563
556:20… _get_device(rs->rs_bound_addr.s6_addr32[3]);
557 if (!rds_ibdev) {
558 ret = -ENODEV;
559 goto out;
560 }
561
562 if (need_odp == ODP_ZEROBASED || need_odp == ODP_VIRTUAL) {
563 u64 virt_addr = need_odp == ODP_ZEROBASED ? 0 : …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.