node_desc 1259 drivers/infiniband/core/sysfs.c return sprintf(buf, "%.64s\n", dev->node_desc); node_desc 1273 drivers/infiniband/core/sysfs.c memcpy(desc.node_desc, buf, min_t(int, count, IB_DEVICE_NODE_DESC_MAX)); node_desc 1280 drivers/infiniband/core/sysfs.c static DEVICE_ATTR_RW(node_desc); node_desc 580 drivers/infiniband/hw/bnxt_re/main.c return scnprintf(buf, PAGE_SIZE, "%s\n", rdev->ibdev.node_desc); node_desc 658 drivers/infiniband/hw/bnxt_re/main.c strlcpy(ibdev->node_desc, BNXT_RE_DESC " HCA", node_desc 1299 drivers/infiniband/hw/cxgb3/iwch_provider.c memcpy(dev->ibdev.node_desc, IWCH_NODE_DESC, sizeof(IWCH_NODE_DESC)); node_desc 572 drivers/infiniband/hw/cxgb4/provider.c memcpy(dev->ibdev.node_desc, C4IW_NODE_DESC, sizeof(C4IW_NODE_DESC)); node_desc 595 drivers/infiniband/hw/hfi1/mad.c memcpy(nd->data, ibdev->node_desc, sizeof(nd->data)); node_desc 1461 drivers/infiniband/hw/hfi1/verbs.c memcpy(device->node_desc, device_modify->node_desc, node_desc 1843 drivers/infiniband/hw/hfi1/verbs.c strlcpy(ibdev->node_desc, init_utsname()->nodename, node_desc 1844 drivers/infiniband/hw/hfi1/verbs.c sizeof(ibdev->node_desc)); node_desc 297 drivers/infiniband/hw/hns/hns_roce_main.c memcpy(ib_dev->node_desc, props->node_desc, NODE_DESC_SIZE); node_desc 377 drivers/infiniband/hw/mlx4/mad.c memcpy(((struct ib_smp *) mad)->data, dev->node_desc, node_desc 1012 drivers/infiniband/hw/mlx4/main.c memcpy(ibdev->node_desc, props->node_desc, IB_DEVICE_NODE_DESC_MAX); node_desc 1023 drivers/infiniband/hw/mlx4/main.c memcpy(mailbox->buf, props->node_desc, IB_DEVICE_NODE_DESC_MAX); node_desc 2018 drivers/infiniband/hw/mlx4/main.c memcpy(dev->ib_dev.node_desc, out_mad->data, IB_DEVICE_NODE_DESC_MAX); node_desc 415 drivers/infiniband/hw/mlx5/mad.c int mlx5_query_mad_ifc_node_desc(struct mlx5_ib_dev *dev, char *node_desc) node_desc 433 drivers/infiniband/hw/mlx5/mad.c memcpy(node_desc, out_mad->data, IB_DEVICE_NODE_DESC_MAX); node_desc 814 drivers/infiniband/hw/mlx5/main.c static int mlx5_query_node_desc(struct mlx5_ib_dev *dev, char *node_desc) node_desc 819 drivers/infiniband/hw/mlx5/main.c return mlx5_query_mad_ifc_node_desc(dev, node_desc); node_desc 823 drivers/infiniband/hw/mlx5/main.c return mlx5_core_access_reg(dev->mdev, &in, sizeof(in), node_desc, node_desc 1508 drivers/infiniband/hw/mlx5/main.c memcpy(&in, props->node_desc, IB_DEVICE_NODE_DESC_MAX); node_desc 1514 drivers/infiniband/hw/mlx5/main.c memcpy(ibdev->node_desc, props->node_desc, IB_DEVICE_NODE_DESC_MAX); node_desc 4383 drivers/infiniband/hw/mlx5/main.c err = mlx5_query_node_desc(dev, dev->ib_dev.node_desc); node_desc 1199 drivers/infiniband/hw/mlx5/mlx5_ib.h int mlx5_query_mad_ifc_node_desc(struct mlx5_ib_dev *dev, char *node_desc); node_desc 158 drivers/infiniband/hw/mthca/mthca_mad.c memcpy(((struct ib_smp *) mad)->data, dev->node_desc, node_desc 198 drivers/infiniband/hw/mthca/mthca_provider.c memcpy(ibdev->node_desc, props->node_desc, node_desc 1097 drivers/infiniband/hw/mthca/mthca_provider.c memcpy(dev->ib_dev.node_desc, out_mad->data, IB_DEVICE_NODE_DESC_MAX); node_desc 206 drivers/infiniband/hw/ocrdma/ocrdma_main.c memcpy(dev->ibdev.node_desc, OCRDMA_NODE_DESC, node_desc 244 drivers/infiniband/hw/qedr/main.c memcpy(dev->ibdev.node_desc, QEDR_NODE_DESC, sizeof(QEDR_NODE_DESC)); node_desc 273 drivers/infiniband/hw/qib/qib_mad.c memcpy(smp->data, ibdev->node_desc, sizeof(smp->data)); node_desc 1252 drivers/infiniband/hw/qib/qib_verbs.c memcpy(device->node_desc, device_modify->node_desc, node_desc 1555 drivers/infiniband/hw/qib/qib_verbs.c snprintf(ibdev->node_desc, sizeof(ibdev->node_desc), node_desc 254 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c memcpy(ibdev->node_desc, props->node_desc, 64); node_desc 113 drivers/infiniband/sw/rxe/rxe_verbs.c memcpy(rxe->ib_dev.node_desc, node_desc 114 drivers/infiniband/sw/rxe/rxe_verbs.c attr->node_desc, sizeof(rxe->ib_dev.node_desc)); node_desc 1164 drivers/infiniband/sw/rxe/rxe_verbs.c strlcpy(dev->node_desc, "rxe", sizeof(dev->node_desc)); node_desc 369 drivers/infiniband/sw/siw/siw_main.c memcpy(base_dev->node_desc, SIW_NODE_DESC_COMMON, node_desc 521 drivers/scsi/aic94xx/aic94xx_sds.c struct asd_ms_node_desc node_desc[0]; node_desc 235 fs/hfs/brec.c struct hfs_bnode_desc node_desc; node_desc 317 fs/hfs/brec.c node_desc.next = cpu_to_be32(new_node->next); node_desc 318 fs/hfs/brec.c node_desc.prev = cpu_to_be32(new_node->prev); node_desc 319 fs/hfs/brec.c node_desc.type = new_node->type; node_desc 320 fs/hfs/brec.c node_desc.height = new_node->height; node_desc 321 fs/hfs/brec.c node_desc.num_recs = cpu_to_be16(new_node->num_recs); node_desc 322 fs/hfs/brec.c node_desc.reserved = 0; node_desc 323 fs/hfs/brec.c hfs_bnode_write(new_node, &node_desc, 0, sizeof(node_desc)); node_desc 327 fs/hfs/brec.c hfs_bnode_read(node, &node_desc, 0, sizeof(node_desc)); node_desc 328 fs/hfs/brec.c node_desc.next = cpu_to_be32(node->next); node_desc 329 fs/hfs/brec.c node_desc.num_recs = cpu_to_be16(node->num_recs); node_desc 330 fs/hfs/brec.c hfs_bnode_write(node, &node_desc, 0, sizeof(node_desc)); node_desc 335 fs/hfs/brec.c hfs_bnode_read(next_node, &node_desc, 0, sizeof(node_desc)); node_desc 336 fs/hfs/brec.c node_desc.prev = cpu_to_be32(next_node->prev); node_desc 337 fs/hfs/brec.c hfs_bnode_write(next_node, &node_desc, 0, sizeof(node_desc)); node_desc 461 fs/hfs/brec.c struct hfs_bnode_desc node_desc; node_desc 491 fs/hfs/brec.c node_desc.next = cpu_to_be32(new_node->next); node_desc 492 fs/hfs/brec.c node_desc.prev = cpu_to_be32(new_node->prev); node_desc 493 fs/hfs/brec.c node_desc.type = new_node->type; node_desc 494 fs/hfs/brec.c node_desc.height = new_node->height; node_desc 495 fs/hfs/brec.c node_desc.num_recs = cpu_to_be16(new_node->num_recs); node_desc 496 fs/hfs/brec.c node_desc.reserved = 0; node_desc 497 fs/hfs/brec.c hfs_bnode_write(new_node, &node_desc, 0, sizeof(node_desc)); node_desc 239 fs/hfsplus/brec.c struct hfs_bnode_desc node_desc; node_desc 321 fs/hfsplus/brec.c node_desc.next = cpu_to_be32(new_node->next); node_desc 322 fs/hfsplus/brec.c node_desc.prev = cpu_to_be32(new_node->prev); node_desc 323 fs/hfsplus/brec.c node_desc.type = new_node->type; node_desc 324 fs/hfsplus/brec.c node_desc.height = new_node->height; node_desc 325 fs/hfsplus/brec.c node_desc.num_recs = cpu_to_be16(new_node->num_recs); node_desc 326 fs/hfsplus/brec.c node_desc.reserved = 0; node_desc 327 fs/hfsplus/brec.c hfs_bnode_write(new_node, &node_desc, 0, sizeof(node_desc)); node_desc 331 fs/hfsplus/brec.c hfs_bnode_read(node, &node_desc, 0, sizeof(node_desc)); node_desc 332 fs/hfsplus/brec.c node_desc.next = cpu_to_be32(node->next); node_desc 333 fs/hfsplus/brec.c node_desc.num_recs = cpu_to_be16(node->num_recs); node_desc 334 fs/hfsplus/brec.c hfs_bnode_write(node, &node_desc, 0, sizeof(node_desc)); node_desc 339 fs/hfsplus/brec.c hfs_bnode_read(next_node, &node_desc, 0, sizeof(node_desc)); node_desc 340 fs/hfsplus/brec.c node_desc.prev = cpu_to_be32(next_node->prev); node_desc 341 fs/hfsplus/brec.c hfs_bnode_write(next_node, &node_desc, 0, sizeof(node_desc)); node_desc 465 fs/hfsplus/brec.c struct hfs_bnode_desc node_desc; node_desc 495 fs/hfsplus/brec.c node_desc.next = cpu_to_be32(new_node->next); node_desc 496 fs/hfsplus/brec.c node_desc.prev = cpu_to_be32(new_node->prev); node_desc 497 fs/hfsplus/brec.c node_desc.type = new_node->type; node_desc 498 fs/hfsplus/brec.c node_desc.height = new_node->height; node_desc 499 fs/hfsplus/brec.c node_desc.num_recs = cpu_to_be16(new_node->num_recs); node_desc 500 fs/hfsplus/brec.c node_desc.reserved = 0; node_desc 501 fs/hfsplus/brec.c hfs_bnode_write(new_node, &node_desc, 0, sizeof(node_desc)); node_desc 677 include/rdma/ib_verbs.h char node_desc[IB_DEVICE_NODE_DESC_MAX]; node_desc 2624 include/rdma/ib_verbs.h char node_desc[IB_DEVICE_NODE_DESC_MAX];