plateform stringclasses 1
value | repo_name stringclasses 2
values | name stringlengths 1 78 | ext stringclasses 2
values | path stringlengths 15 1.11k | size int64 1 8.55M | source_encoding stringclasses 11
values | md5 stringlengths 32 32 | text stringlengths 0 8.49M |
|---|---|---|---|---|---|---|---|---|
google | android | nes | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/nes/nes.c | 35,241 | utf_8 | 1803ddcb0f4eb0ccd2569b64fb1c3f89 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#includ... |
google | android | srq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx5/srq.c | 12,561 | utf_8 | b0a1ab7fe65d71be54f905db6f8083d2 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/mlx5/qp.h>
#include <linux/mlx5/srq.h>
#include <linux/slab.h>
#include <rdma/ib_umem.h>
#include <rdma/ib_user_verbs.h>
#include "m... |
google | android | main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx5/main.c | 39,895 | utf_8 | 4ea524638ca31f8708c043a67cddb7f7 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/highmem.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/sl... |
google | android | doorbell | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx5/doorbell.c | 2,858 | utf_8 | 25114264a5b9b545253c1ea8cf546e34 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/kref.h>
#include <linux/slab.h>
#include <rdma/ib_umem.h>
#include "mlx5_ib.h"
struct mlx5_ib_user_db_page {
struct list_head list;
struct ib_umem *u... |
google | android | ah | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx5/ah.c | 2,987 | utf_8 | fe6a42fa647e06dfa3b1e8a849aefdda | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include "mlx5_ib.h"
struct ib_ah *create_ib_ah(struct ib_ah_attr *ah_attr,
struct mlx5_ib_ah *ah)
{
if (ah_attr->ah_flags & IB_AH_GRH) {
memcpy(ah->av.rgid, &ah_att... |
google | android | mad | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx5/mad.c | 12,121 | utf_8 | 32ece82b12767a4568f0ee23a356a259 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/mlx5/cmd.h>
#include <rdma/ib_mad.h>
#include <rdma/ib_smi.h>
#include "mlx5_ib.h"
enum {
MLX5_IB_VENDOR_CLASS1 = 0x9,
MLX5_IB_VENDOR_CLASS2 = 0xa
};
int ml... |
google | android | cq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx5/cq.c | 29,718 | utf_8 | 893848c983085a85fef7db9c84db1ec2 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/kref.h>
#include <rdma/ib_umem.h>
#include <rdma/ib_user_verbs.h>
#include <rdma/ib_cache.h>
#include "mlx5_ib.h"
#include "user.h"
static void mlx5_ib_cq_com... |
google | android | mem | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx5/mem.c | 6,040 | utf_8 | 825adc048a1e65aced4ee00e87e8669f | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
void mlx5_ib_cont_pages(struct ib_umem *umem, u64 addr, int *count, int *shift,
int *ncont, int *order)
{
unsigned long tmp;
unsigned long m;
int i, k;
u64 base = 0;
... |
google | android | qp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx5/qp.c | 83,372 | utf_8 | d89a8aa8fd520732d494d1663e92c651 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <rdma/ib_umem.h>
#include "mlx5_ib.h"
#include "user.h"
/* not supported currently */
static int wq_signature;
enum {
MLX5_IB_ACK_REQ_FREQ... |
google | android | mr | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx5/mr.c | 35,828 | utf_8 | b85449c7eb5142bd9efd058cf034c01f | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/kref.h>
#include <linux/random.h>
#include <linux/debugfs.h>
#include <linux/export.h>
#include <linux/delay.h>
#include <rdma/ib_umem.h>
#include <rdma/ib_um... |
google | android | odp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx5/odp.c | 23,041 | utf_8 | 0286abe16b2d6659adba7d975fd36de7 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <rdma/ib_umem.h>
#include <rdma/ib_umem_odp.h>
#include "mlx5_ib.h"
#define MAX_PREFETCH_LEN (4*1024*1024U)
/* Timeout in ms to wait for an active mmu notifier to co... |
google | android | alias_GUID | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx4/alias_GUID.c | 29,655 | utf_8 | 59fb6ab3285a9dc95933020703dec536 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
/***********************************************************/
/*This file support the handling of the Alias GUID feature. */
/***********************************************... |
google | android | srq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx4/srq.c | 9,610 | utf_8 | 706d32d3e808b9347e7ed24cbb731b81 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/mlx4/qp.h>
#include <linux/mlx4/srq.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include "mlx4_ib.h"
#include "user.h"
static void *get_wqe(struct m... |
google | android | main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx4/main.c | 79,751 | utf_8 | 61dd1f26585ecc9c507ccc232218ec08 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
#include <linux/... |
google | android | sysfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx4/sysfs.c | 24,094 | utf_8 | b0bdb13e39dc88f7d206ea6729198d99 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
/*#include "core_priv.h"*/
#include "mlx4_ib.h"
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/stat.h>
#include <rdma/ib_mad.h>
/*show_admin_alias_guid ret... |
google | android | doorbell | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx4/doorbell.c | 2,798 | utf_8 | 0ef030078a00278a9687ab738fccc20e | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/slab.h>
#include "mlx4_ib.h"
struct mlx4_ib_user_db_page {
struct list_head list;
struct ib_umem *umem;
unsigned long user_virt;
int refcnt;
};
... |
google | android | ah | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx4/ah.c | 6,383 | utf_8 | 9a314d5e6932a7c2a28c5ed23db6fa18 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <rdma/ib_addr.h>
#include <rdma/ib_cache.h>
#include <linux/slab.h>
#include <linux/inet.h>
#include <linux/string.h>
#include <linux/mlx4/driver.h>
#include "mlx4_i... |
google | android | mcg | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx4/mcg.c | 36,128 | utf_8 | 0021e00ee61cb1ea56cfc88359724b25 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <rdma/ib_mad.h>
#include <rdma/ib_smi.h>
#include <rdma/ib_cache.h>
#include <rdma/ib_sa.h>
#include <linux/mlx4/cmd.h>
#include <linux/rbtree.h>
#include <linux/del... |
google | android | mad | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx4/mad.c | 62,836 | utf_8 | fd7f379d0322fb807a40e916e393f744 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <rdma/ib_mad.h>
#include <rdma/ib_smi.h>
#include <rdma/ib_sa.h>
#include <rdma/ib_cache.h>
#include <linux/random.h>
#include <linux/mlx4/cmd.h>
#include <linux/gfp... |
google | android | cq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx4/cq.c | 25,544 | utf_8 | 4d76d4f3da842141d84e500e89d493e7 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/mlx4/cq.h>
#include <linux/mlx4/qp.h>
#include <linux/mlx4/srq.h>
#include <linux/slab.h>
#include "mlx4_ib.h"
#include "user.h"
static void mlx4_ib_cq_comp(s... |
google | android | cm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx4/cm.c | 13,588 | utf_8 | 81d3d4ad0057d63f98c3285af495c4e9 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <rdma/ib_mad.h>
#include <linux/mlx4/cmd.h>
#include <linux/rbtree.h>
#include <linux/idr.h>
#include <rdma/ib_cm.h>
#include "mlx4_ib.h"
#define CM_CLEANUP_CACHE_TI... |
google | android | qp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx4/qp.c | 97,406 | utf_8 | 832365686129e849b2eba5d8416db076 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/log2.h>
#include <linux/slab.h>
#include <linux/netdevice.h>
#include <linux/vmalloc.h>
#include <rdma/ib_cache.h>
#include <rdma/ib_pack.h>
#include <rdma/ib... |
google | android | mr | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mlx4/mr.c | 13,200 | utf_8 | be5573bc135926b88e156bea14286a9f | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/slab.h>
#include "mlx4_ib.h"
static u32 convert_access(int acc)
{
return (acc & IB_ACCESS_REMOTE_ATOMIC ? MLX4_PERM_ATOMIC : 0) |
(acc & IB_ACC... |
google | android | ocrdma_stats | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/ocrdma/ocrdma_stats.c | 29,959 | utf_8 | 6a7b4c9dbd4b19e1f7cb46855d814e2f | /* This file is part of the Emulex RoCE Device Driver for
* RoCE (RDMA over Converged Ethernet) adapters.
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE O... |
google | android | ocrdma_hw | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 92,125 | utf_8 | 9b2428e658adf4d3732f6d5a51bc19a2 | /* This file is part of the Emulex RoCE Device Driver for
* RoCE (RDMA over Converged Ethernet) adapters.
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE O... |
google | android | ocrdma_ah | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/ocrdma/ocrdma_ah.c | 7,948 | utf_8 | c920882a9e187a0fe84af3cbe3d0cefc | /* This file is part of the Emulex RoCE Device Driver for
* RoCE (RDMA over Converged Ethernet) adapters.
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE O... |
google | android | ocrdma_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/ocrdma/ocrdma_main.c | 13,160 | utf_8 | 126d390aece306c5137d2dc9405cde87 | /* This file is part of the Emulex RoCE Device Driver for
* RoCE (RDMA over Converged Ethernet) adapters.
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE O... |
google | android | ocrdma_verbs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 86,550 | utf_8 | a28a0257bb15e8b117e158290509c538 | /* This file is part of the Emulex RoCE Device Driver for
* RoCE (RDMA over Converged Ethernet) adapters.
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE O... |
google | android | device | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb4/device.c | 43,274 | utf_8 | 72046f84165323b2b3d2868b756e0b99 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/debugfs.h>
#include <linux/vmalloc.h>
#include <linux/math64.h>
#include <rdma/ib_verbs.h>
#include "... |
google | android | cq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb4/cq.c | 25,561 | utf_8 | 411428e410879ab7664cc30152e43451 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include "iw_cxgb4.h"
static int destroy_cq(struct c4iw_rdev *rdev, struct t4_cq *cq,
struct c4iw_dev_ucontext *uctx)
{
struct fw_ri_res_wr *res_wr;
struct fw_ri_re... |
google | android | provider | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb4/provider.c | 18,268 | utf_8 | 1eef29440c7242e305379b7e157c1c2d | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/device.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/delay.h>
#inclu... |
google | android | cm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb4/cm.c | 117,717 | utf_8 | b019c6fdb60473964dded552a4eaceaa | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/list.h>
#include <linux/workqueue.h>
#include <linux/skbuff.h>
#include <linux/timer.h>
#include <linux/notifier.h>
#include <linux/... |
google | android | mem | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb4/mem.c | 25,059 | utf_8 | 2a7f226c775e14c0cde0fcc425664d74 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <rdma/ib_umem.h>
#include <linux/atomic.h>
#include "iw_cxgb4.h"
int use_dsgl = 0;
module_param(use_dsgl, in... |
google | android | qp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb4/qp.c | 51,839 | utf_8 | 4eaa0ff04a8fd404d08693e5fd494902 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include "iw_cxgb4.h"
static int db_delay_usecs = 1;
module_param(db_delay_usecs, int, 0644);
MODULE_PARM_DESC(db_delay_usecs, "Usecs to delay await... |
google | android | id_table | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb4/id_table.c | 3,312 | utf_8 | 5913613d0d27515bb19bbe9960bb7ace | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/kernel.h>
#include <linux/random.h>
#include "iw_cxgb4.h"
#define RANDOM_SKIP 16
/*
* Trivial bitmap-based allocator. If the random flag is set, the
* alloc... |
google | android | resource | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb4/resource.c | 12,298 | utf_8 | 5c5324aa840c7bc204cbdf2bb611e5f9 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
/* Crude resource management */
#include <linux/spinlock.h>
#include <linux/genalloc.h>
#include <linux/ratelimit.h>
#include "iw_cxgb4.h"
static int c4iw_init_qid_table(stru... |
google | android | ev | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb4/ev.c | 7,290 | utf_8 | ff38dfc0535d19fbbbeef40d97b2b220 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/slab.h>
#include <linux/mman.h>
#include <net/sock.h>
#include "iw_cxgb4.h"
static void print_tpte(struct c4iw_dev *dev, u32 stag)
{
int ret;
struct fw_ri_t... |
google | android | usnic_ib_qp_grp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c | 19,099 | utf_8 | 2a55001954e6460669d043a116468616 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/bug.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include "usnic_log.h"
#include "usnic_vnic.h"
#include "usnic_fwd.h"... |
google | android | usnic_ib_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/usnic/usnic_ib_main.c | 20,758 | utf_8 | 384d5ee28d0fbb2dc8f2fd7b78278668 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/module.h>
#include <linux/inetdevice.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/pci.h>
#include <linux/net... |
google | android | usnic_debugfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/usnic/usnic_debugfs.c | 4,754 | utf_8 | 667f1fb16cf05ea5da67a9b67b419971 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/debugfs.h>
#include <linux/module.h>
#include "usnic.h"
#include "usnic_log.h"
#include "usnic_debugfs.h"
#include "usnic_ib_qp_grp.h"
#include "usnic_tran... |
google | android | usnic_uiom_interval_tree | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/usnic/usnic_uiom_interval_tree.c | 7,361 | utf_8 | 0113a74d9a5f4ee1abd9ddf4bb1eb189 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/init.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/list_sort.h>
#include <linux/interval_tree_generic.h>
#include "usnic_uiom_interval... |
google | android | usnic_vnic | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/usnic/usnic_vnic.c | 12,037 | utf_8 | 4cb4fd418f4108147b1c5968679404c7 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/pci.h>
#include "usnic_ib.h"
#include "vnic_resource.h"
#include "usnic_log.h"
#include "usnic_vnic.h"
s... |
google | android | usnic_fwd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/usnic/usnic_fwd.c | 8,862 | utf_8 | 925dd64874d02f3194931f7ddb1557d9 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/netdevice.h>
#include <linux/pci.h>
#include "enic_api.h"
#include "usnic_common_pkt_hdr.h"
#include "usnic_fwd.h"
#include "usnic_log.h"
static int usnic_... |
google | android | usnic_uiom | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/usnic/usnic_uiom.c | 15,210 | utf_8 | cfc51caa2d37f295c803d7cb823f2a44 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/mm.h>
#include <linux/dma-mapping.h>
#include <linux/sched.h>
#include <linux/hugetlb.h>
#include <linux/dma-attrs.h>
#include <linux/iommu.h>
#include <linux... |
google | android | usnic_ib_verbs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 20,457 | utf_8 | 702ac5583617084be7e216805e61af5d | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <rdma/ib_user_verbs.h>
#include <rdma/ib_addr.h>
#include "usni... |
google | android | usnic_transport | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/usnic/usnic_transport.c | 5,731 | utf_8 | c3e17e655e8cc896d63439922a221de9 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/bitmap.h>
#include <linux/file.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <net/inet_sock.h>
#include "usnic_transport.h"
#include "usnic... |
google | android | usnic_ib_sysfs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/usnic/usnic_ib_sysfs.c | 9,628 | utf_8 | 9cf9143465aa52775323a6557a6a7114 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <rdma/ib_user_verbs.h>
#include <rdma/ib_addr.h>
#include "usnic_common_util.h"
#includ... |
google | android | iwch_cq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb3/iwch_cq.c | 5,822 | utf_8 | 3d6a97648c6f3c8ba191cb9e2d9480e0 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include "iwch_provider.h"
#include "iwch.h"
/*
* Get one cq entry from cxio and map it to openib.
*
* Returns:
* 0 EMPTY;
* 1 cqe returned
* -EAGAIN caller must t... |
google | android | cxio_resource | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb3/cxio_resource.c | 9,388 | utf_8 | 35521bd4137d9dea55a3acd9ebf91626 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
/* Crude resource management */
#include <linux/kernel.h>
#include <linux/random.h>
#include <linux/slab.h>
#include <linux/kfifo.h>
#include <linux/spinlock.h>
#include <lin... |
google | android | cxio_hal | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb3/cxio_hal.c | 38,165 | utf_8 | fe292bf749f6f1517e7310598ba5a4c7 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <asm/delay.h>
#include <linux/mutex.h>
#include <linux/netdevice.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/pci.h>
#include <linux/dma-m... |
google | android | iwch_mem | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb3/iwch_mem.c | 5,473 | utf_8 | e7d2a3bc512ca480483903f194987a15 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/slab.h>
#include <asm/byteorder.h>
#include <rdma/iw_cm.h>
#include <rdma/ib_verbs.h>
#include "cxio_hal.h"
#include "cxio_resource.h"
#include "iwch.h"
#incl... |
google | android | iwch_provider | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb3/iwch_provider.c | 40,404 | utf_8 | 9a54ac27e6a04f796aed35f16ff01ffd | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/device.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/delay.h>
#inclu... |
google | android | iwch | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb3/iwch.c | 7,675 | utf_8 | 4501f8f84ee1f31600ca8fd6ef84acb6 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <rdma/ib_verbs.h>
#include "cxgb3_offload.h"
#include "iwch_provider.h"
#include "iwch_user.h"
#include "iwc... |
google | android | iwch_ev | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb3/iwch_ev.c | 7,025 | utf_8 | daa7eee6824e4533c9eb71de93fff4a8 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/gfp.h>
#include <linux/mman.h>
#include <net/sock.h>
#include "iwch_provider.h"
#include "iwch.h"
#include "iwch_cm.h"
#include "cxio_hal.h"
#include "cxio_wr... |
google | android | cxio_dbg | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb3/cxio_dbg.c | 5,138 | utf_8 | 98cd7cd4273ef437dc67d724d4cc300c | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#ifdef DEBUG
#include <linux/types.h>
#include <linux/slab.h>
#include "common.h"
#include "cxgb3_ioctl.h"
#include "cxio_hal.h"
#include "cxio_wr.h"
void cxio_dump_tpt(struc... |
google | android | iwch_qp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb3/iwch_qp.c | 31,874 | utf_8 | f6ced5be6c6960fba3af54c05e51747a | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/sched.h>
#include <linux/gfp.h>
#include "iwch_provider.h"
#include "iwch.h"
#include "iwch_cm.h"
#include "cxio_hal.h"
#include "cxio_resource.h"
#define NO_... |
google | android | iwch_cm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/cxgb3/iwch_cm.c | 59,076 | utf_8 | b98aa2587fb7271e0a2326871991dfaa | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/skbuff.h>
#include <linux/timer.h>
#include <linux/noti... |
google | android | mthca_mr | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_mr.c | 23,989 | utf_8 | eb37aead78fd555ea712aeba71a7aea9 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/slab.h>
#include <linux/errno.h>
#include "mthca_dev.h"
#include "mthca_cmd.h"
#include "mthca_memfree.h"
struct mthca_mtt {
struct mthca_buddy *buddy;
int ... |
google | android | mthca_cq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_cq.c | 26,192 | utf_8 | d39671d50f854cbd82aa813c973f5c10 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/gfp.h>
#include <linux/hardirq.h>
#include <linux/sched.h>
#include <asm/io.h>
#include <rdma/ib_pack.h>
#include "mthca_dev.h"
#include "mthca_cmd.h"
#includ... |
google | android | mthca_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_main.c | 35,318 | utf_8 | b295f322da731eb6aef8c762413bb96c | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/gfp.h>
#include "mthca_dev.h"
#... |
google | android | mthca_allocator | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_allocator.c | 7,640 | utf_8 | 1ba365e8732be8475f4c132d0e3931e0 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/bitmap.h>
#include "mthca_dev.h"
/* Trivial bitmap-based allocator */
u32 mthca_alloc(struct mthca_alloc *all... |
google | android | mthca_mad | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_mad.c | 10,410 | utf_8 | e628c982a9b14e5f990bf045649fb375 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/string.h>
#include <linux/slab.h>
#include <rdma/ib_verbs.h>
#include <rdma/ib_mad.h>
#include <rdma/ib_smi.h>
#include "mthca_dev.h"
#include "mthca_cmd.h"
e... |
google | android | mthca_av | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_av.c | 10,101 | utf_8 | d34581fa5d00a86ee8450ef301526ff9 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/string.h>
#include <linux/slab.h>
#include <rdma/ib_verbs.h>
#include <rdma/ib_cache.h>
#include "mthca_dev.h"
enum {
MTHCA_RATE_TAVOR_FULL = 0,
... |
google | android | mthca_srq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_srq.c | 17,293 | utf_8 | 52d852aba368d1878be76c3a1565da3f | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/sched.h>
#include <asm/io.h>
#include "mthca_dev.h"
#include "mthca_cmd.h"
#include "mthca_memfree.h"
#inclu... |
google | android | mthca_cmd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_cmd.c | 58,607 | utf_8 | 1ce511f0585319a0906f63eb04df9cbe | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/completion.h>
#include <linux/pci.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <asm/io.h>
#... |
google | android | mthca_qp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_qp.c | 62,447 | utf_8 | 1e13be7811ef82cd03c593942145b018 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <asm/io.h>
#include <rdma/ib_verbs.h>
#include <rdma/ib_cache.h>
#include <rdma/ib_pack.h>... |
google | android | mthca_catas | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_catas.c | 5,347 | utf_8 | 8c15794df5b2ecd58786a6eb7f60d1a9 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/jiffies.h>
#include <linux/module.h>
#include <linux/timer.h>
#include <linux/workqueue.h>
#include "mthca_dev.h"
enum {
MTHCA_CATAS_POLL_INTERVAL = 5 * HZ,
... |
google | android | mthca_profile | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_profile.c | 9,277 | utf_8 | b7a371fb92de300a9a1f73a549fc50d5 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/string.h>
#include <linux/slab.h>
#include "mthca_profile.h"
enum {
MTHCA_RES_QP,
MTHCA_RES_EEC,
M... |
google | android | mthca_mcg | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_mcg.c | 8,111 | utf_8 | 5ea7dc6d98dd22dde82dbb94f9637947 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/string.h>
#include <linux/gfp.h>
#include "mthca_dev.h"
#include "mthca_cmd.h"
struct mthca_mgm {
__be32 next_gid_index;
u32 reserved[3];
u8 gid[16]... |
google | android | mthca_uar | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_uar.c | 2,424 | utf_8 | 73e203ed1ade6c074a57c0430776b6a4 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <asm/page.h> /* PAGE_SHIFT */
#include "mthca_dev.h"
#include "mthca_memfree.h"
int mthca_uar_alloc(struct mthca_dev *dev, struct mthca_uar *uar)
{
uar->index = mt... |
google | android | mthca_provider | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_provider.c | 36,492 | utf_8 | 509023019de3fbd61c74ae608d3eb9d4 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <rdma/ib_smi.h>
#include <rdma/ib_umem.h>
#include <rdma/ib_user_verbs.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/stat.h>
#include <linux/mm... |
google | android | mthca_reset | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_reset.c | 7,680 | utf_8 | 96e4b324d8f362c7f17db16c9f839dd7 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/errno.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include "mthca_dev.h"
#include "mthca_cmd.h"
int mthca_reset(struct mthca_de... |
google | android | mthca_pd | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_pd.c | 2,597 | utf_8 | 4aa07d61a2787b051385ac496cdc2eda | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/errno.h>
#include "mthca_dev.h"
int mthca_pd_alloc(struct mthca_dev *dev, int privileged, struct mthca_pd *pd)
{
int err = 0;
pd->privileged = privileged;
... |
google | android | mthca_eq | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_eq.c | 24,978 | utf_8 | 1c51db3136fbada4454d872b7e30dbb7 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include "mthca_dev.h"
#include "mthca_cmd.h"
#include "mthca_config_reg.... |
google | android | mthca_memfree | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/hw/mthca/mthca_memfree.c | 18,110 | utf_8 | 5ee4f96ed53e24ef7edf769093aee1af | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/mm.h>
#include <linux/scatterlist.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <asm/page.h>
#include "mthca_memfree.h"
#include "mthca_dev.h"
... |
google | android | iser_initiator | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/ulp/iser/iser_initiator.c | 19,766 | utf_8 | 80318090d701da58b530cf1df02f3f6d | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/scatterlist.h>
#include <linux/kfifo.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scs... |
google | android | iser_verbs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/ulp/iser/iser_verbs.c | 34,428 | utf_8 | 3f8837bcc8f4a3d493db63faa4d398d6 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include "iscsi_iser.h"
#define ISCSI_ISER_MAX_CONN 8
#define ISER_MAX_RX... |
google | android | iser_memory | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/ulp/iser/iser_memory.c | 17,381 | utf_8 | 1fd6bf64e50bf737d61f5d8aaefd2682 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/highmem.h>
#include <linux/scatterlist.h>
#include "iscsi_is... |
google | android | iscsi_iser | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/ulp/iser/iscsi_iser.c | 31,444 | utf_8 | 6f6e2fa3736b14ce250b7ac273b7534b | /*
* iSCSI Initiator over iSER Data-Path
*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
* Credits:
* Christoph Hellwig
* FUJITA Tomonori
* Arne Redlich
* Zhenyu Wang
* Modified by:
* Erez Zilber
*/
#include <... |
google | android | ib_isert | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/ulp/isert/ib_isert.c | 92,106 | utf_8 | 79ee9fa382d6a710fca6d946a6b3b9d6 | /*******************************************************************************
* This file contains iSCSI extentions for RDMA (iSER) Verbs
*
****************************************************************************/
#include <linux/string.h>
#include <linux/module.h>
#include <linux/scatterlist.h>
#include <lin... |
google | android | ib_srpt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/ulp/srpt/ib_srpt.c | 100,060 | utf_8 | e17c7aa223602bbbf9000eba9023341e | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/ctype.h>
#include <linux/kthread.h>
#include <linux/string... |
google | android | ib_srp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/ulp/srp/ib_srp.c | 97,172 | utf_8 | f5c6a84016c17ac3c417ba6e96f5d350 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/string.h>
#includ... |
google | android | ipoib_verbs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/ulp/ipoib/ipoib_verbs.c | 8,482 | utf_8 | 2f2cdf1d3e0a0d74026ca2fd6a70c059 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/slab.h>
#include "ipoib.h"
int ipoib_mcast_attach(struct net_device *dev, u16 mlid, union ib_gid *mgid, int set_qkey)
{
struct ipoib_dev_priv *priv = netdev_... |
google | android | ipoib_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/ulp/ipoib/ipoib_main.c | 51,778 | utf_8 | 6237c81c24dd89f8298bdbd5a6d05996 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include "ipoib.h"
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/vmalloc.h>
#include <linux/if_arp.h> /*... |
google | android | ipoib_netlink | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/ulp/ipoib/ipoib_netlink.c | 5,091 | utf_8 | 9b142d247986f0862651f3995369ec36 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/netdevice.h>
#include <linux/if_arp.h> /* For ARPHRD_xxx */
#include <linux/module.h>
#include <net/rtnetlink.h>
#include "ipoib.h"
static const struct n... |
google | android | ipoib_multicast | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/ulp/ipoib/ipoib_multicast.c | 29,169 | utf_8 | 292e59d43ad8ee1ea941690142606c9a | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/skbuff.h>
#include <linux/rtnetlink.h>
#include <linux/moduleparam.h>
#include <linux/ip.h>
#include <linux/in.h>
#include <linux/igmp.h>
#include <linux/inet... |
google | android | ipoib_cm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/ulp/ipoib/ipoib_cm.c | 43,032 | utf_8 | 2a72e2bcf77a39312ffc94ea48d4e565 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <rdma/ib_cm.h>
#include <net/dst.h>
#include <net/icmp.h>
#include <linux/icmpv6.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#incl... |
google | android | ipoib_ib | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/ulp/ipoib/ipoib_ib.c | 28,342 | utf_8 | 88f223f17cfae69bb7ea39e2327c12af | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/delay.h>
#include <linux/moduleparam.h>
#include <linux/dma-mapping.h>
#include <linux/slab.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include "ipoib.h"... |
google | android | ipoib_fs | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/ulp/ipoib/ipoib_fs.c | 6,787 | utf_8 | 77663405afda3e630a3fdc72b9c78582 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/err.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
struct file_operations;
#include <linux/debugfs.h>
#include <linux/export.h>
#include "ipoib.h"
sta... |
google | android | ipoib_vlan | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/ulp/ipoib/ipoib_vlan.c | 5,281 | utf_8 | 93e518177d1cc47364ba93902573cbcd | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/seq_file.h>
#include <asm/uaccess.h>
#include "ipoib.h"
static ssize_t show_parent(struct device *d, struct ... |
google | android | ipoib_ethtool | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/ulp/ipoib/ipoib_ethtool.c | 3,517 | utf_8 | 7a556a75f50902acabe688cd48d7d0a4 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/kernel.h>
#include <linux/ethtool.h>
#include <linux/netdevice.h>
#include "ipoib.h"
static void ipoib_get_drvinfo(struct net_device *netdev,
struct ... |
google | android | device | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/core/device.c | 26,913 | utf_8 | 8083c13bcdcebfec22352df9457a3869 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/mutex.h... |
google | android | mad_rmpp | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/core/mad_rmpp.c | 28,247 | utf_8 | 4cc736df0fcf54edb968307ff8d007e3 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/slab.h>
#include "mad_priv.h"
#include "mad_rmpp.h"
enum rmpp_state {
RMPP_STATE_ACTIVE,
RMPP_STATE_TIMEOUT,
RMPP_STATE_COMPLETE,
RMPP_STATE_CANCELING
};
... |
google | android | user_mad | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/core/user_mad.c | 34,378 | utf_8 | 1c722b19d27af2779d5429fff489d000 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#define pr_fmt(fmt) "user_mad: " fmt
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/fs.h>
#include <linux/... |
google | android | netlink | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/core/netlink.c | 6,691 | utf_8 | 2df28902aece1a2e8ca32475a18e66ed | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#define pr_fmt(fmt) "%s:%s: " fmt, KBUILD_MODNAME, __func__
#include <linux/export.h>
#include <net/netlink.h>
#include <net/net_namespace.h>
#include <net/sock.h>
#include <... |
google | android | iwcm | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/core/iwcm.c | 30,154 | utf_8 | 3bbec5bb0710daac3638d915ce1625f7 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/idr.h>
#include <linux/interrupt.h>
#include <linux/rbtree.h>
#include <linux/sched.h>
#include <linu... |
google | android | uverbs_main | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/core/uverbs_main.c | 36,126 | utf_8 | e98ae7ea5487553d96d8eeee5aa63491 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/fs.h>
#include <linux/poll.h>
#include <linux/sched.h>
#inc... |
google | android | roce_gid_mgmt | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/core/roce_gid_mgmt.c | 19,763 | utf_8 | 3ec22afcd7f67b21efd82719fa6aeee6 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include "core_priv.h"
#include <linux/in.h>
#include <linux/in6.h>
/* For in6_dev_get/in6_dev_put */
#include <net/addrconf.h>
#include <net/bonding.h>
#include <rdma/ib_cac... |
google | android | ud_header | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/core/ud_header.c | 11,284 | utf_8 | faa974a522c6042e54f35e2460f3a29b | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*/
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/export.h>
#include <linux/if_ether.h>
#include <rdma/ib_pack.h>
#define STRUCT_FIELD(header, field) \
.str... |
google | android | agent | .c | platform/hardware/bsp/kernel/intel/edison-v4.4/drivers/infiniband/core/agent.c | 6,554 | utf_8 | f1de223964186e685e497a339629ede9 | /*
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
*
*/
#include <linux/slab.h>
#include <linux/string.h>
#include "agent.h"
#include "smi.h"
#include "mad_priv.h"
#define SPFX "ib_agent: "
struct ib_agent_port_private {
struc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.