/drivers/scsi/csiostor/ |
D | csio_rnode.c | 89 csio_is_rnode_ready(struct csio_rnode *rn) in csio_is_rnode_ready() argument 91 return csio_match_state(rn, csio_rns_ready); in csio_is_rnode_ready() 95 csio_is_rnode_uninit(struct csio_rnode *rn) in csio_is_rnode_uninit() argument 97 return csio_match_state(rn, csio_rns_uninit); in csio_is_rnode_uninit() 125 struct csio_rnode *rn; in csio_rn_lookup() local 128 rn = (struct csio_rnode *) tmp; in csio_rn_lookup() 129 if (rn->flowid == flowid) in csio_rn_lookup() 130 return rn; in csio_rn_lookup() 149 struct csio_rnode *rn; in csio_rn_lookup_wwpn() local 152 rn = (struct csio_rnode *) tmp; in csio_rn_lookup_wwpn() [all …]
|
D | csio_rnode.h | 120 #define csio_rn_flowid(rn) ((rn)->flowid) argument 121 #define csio_rn_wwpn(rn) ((rn)->rn_sparm.wwpn) argument 122 #define csio_rn_wwnn(rn) ((rn)->rn_sparm.wwnn) argument 123 #define csio_rnode_to_lnode(rn) ((rn)->lnp) argument 125 int csio_is_rnode_ready(struct csio_rnode *rn); 126 void csio_rnode_state_to_str(struct csio_rnode *rn, int8_t *str); 132 void csio_rnode_fwevt_handler(struct csio_rnode *rn, uint8_t fwevt); 134 void csio_put_rnode(struct csio_lnode *ln, struct csio_rnode *rn);
|
D | csio_attr.c | 59 csio_reg_rnode(struct csio_rnode *rn) in csio_reg_rnode() argument 61 struct csio_lnode *ln = csio_rnode_to_lnode(rn); in csio_reg_rnode() 67 ids.node_name = wwn_to_u64(csio_rn_wwnn(rn)); in csio_reg_rnode() 68 ids.port_name = wwn_to_u64(csio_rn_wwpn(rn)); in csio_reg_rnode() 69 ids.port_id = rn->nport_id; in csio_reg_rnode() 72 if (rn->role & CSIO_RNFR_INITIATOR || rn->role & CSIO_RNFR_TARGET) { in csio_reg_rnode() 73 rport = rn->rport; in csio_reg_rnode() 78 rn->rport = fc_remote_port_add(shost, 0, &ids); in csio_reg_rnode() 79 if (!rn->rport) { in csio_reg_rnode() 81 rn->nport_id); in csio_reg_rnode() [all …]
|
D | csio_scsi.c | 228 struct csio_rnode *rn = req->rnode; in csio_scsi_init_cmd_wr() local 235 wr->flowid_len16 = cpu_to_be32(FW_WR_FLOWID(rn->flowid) | in csio_scsi_init_cmd_wr() 387 struct csio_rnode *rn = req->rnode; in csio_scsi_init_read_wr() local 396 wr->flowid_len16 = cpu_to_be32(FW_WR_FLOWID(rn->flowid) | in csio_scsi_init_read_wr() 440 struct csio_rnode *rn = req->rnode; in csio_scsi_init_write_wr() local 449 wr->flowid_len16 = cpu_to_be32(FW_WR_FLOWID(rn->flowid) | in csio_scsi_init_write_wr() 674 struct csio_rnode *rn = req->rnode; in csio_scsi_init_abrt_cls_wr() local 678 wr->flowid_len16 = cpu_to_be32(FW_WR_FLOWID(rn->flowid) | in csio_scsi_init_abrt_cls_wr() 801 struct csio_rnode *rn; in csio_scsis_io_active() local 824 rn = req->rnode; in csio_scsis_io_active() [all …]
|
D | csio_lnode.c | 921 struct csio_rnode *rn; in csio_post_event_rns() local 924 rn = (struct csio_rnode *) tmp; in csio_post_event_rns() 925 csio_post_event(&rn->sm, evt); in csio_post_event_rns() 943 struct csio_rnode *rn; in csio_cleanup_rns() local 946 rn = (struct csio_rnode *) tmp; in csio_cleanup_rns() 947 csio_put_rnode(ln, rn); in csio_cleanup_rns() 1469 struct csio_rnode *rn; in csio_fcoe_fwevt_handler() local 1545 rn = csio_confirm_rnode(ln, rdev_flowid, in csio_fcoe_fwevt_handler() 1547 if (!rn) { in csio_fcoe_fwevt_handler() 1571 csio_rnode_fwevt_handler(rn, rdev_wr->event_cause); in csio_fcoe_fwevt_handler() [all …]
|
D | csio_hw.c | 3508 struct csio_rnode *rn; in csio_evtq_worker() local 3564 memcpy(&rn, evt_msg->data, sizeof(rn)); in csio_evtq_worker() 3565 csio_rnode_devloss_handler(rn); in csio_evtq_worker()
|
/drivers/s390/char/ |
D | sclp_cmd.c | 194 u16 rn; member 200 u16 rn; member 210 static unsigned long long rn2addr(u16 rn) in rn2addr() argument 212 return (unsigned long long) (rn - 1) * sclp_rzm; in rn2addr() 215 static int do_assign_storage(sclp_cmdw_t cmd, u16 rn) in do_assign_storage() argument 224 sccb->rn = rn; in do_assign_storage() 235 sccb->header.response_code, rn); in do_assign_storage() 244 static int sclp_assign_storage(u16 rn) in sclp_assign_storage() argument 249 rc = do_assign_storage(0x000d0001, rn); in sclp_assign_storage() 252 start = rn2addr(rn); in sclp_assign_storage() [all …]
|
/drivers/w1/ |
D | w1.c | 404 struct w1_reg_num *rn) in w1_atoreg_num() argument 428 rn->family = family; in w1_atoreg_num() 429 rn->id = id; in w1_atoreg_num() 431 rn64_le = cpu_to_le64(*(u64 *)rn); in w1_atoreg_num() 432 rn->crc = w1_calc_crc8((u8 *)&rn64_le, 7); in w1_atoreg_num() 436 rn->family, (unsigned long long)rn->id, rn->crc); in w1_atoreg_num() 446 struct w1_reg_num *rn) in w1_slave_search_device() argument 451 if (sl->reg_num.family == rn->family && in w1_slave_search_device() 452 sl->reg_num.id == rn->id && in w1_slave_search_device() 453 sl->reg_num.crc == rn->crc) { in w1_slave_search_device() [all …]
|
D | w1_netlink.c | 253 static void w1_send_slave(struct w1_master *dev, u64 rn) in w1_send_slave() argument 269 *data = rn; in w1_send_slave() 275 static void w1_found_send_slave(struct w1_master *dev, u64 rn) in w1_found_send_slave() argument 278 w1_slave_found(dev, rn); in w1_found_send_slave() 280 w1_send_slave(dev, rn); in w1_found_send_slave() 292 u64 rn; in w1_get_slaves() local 295 memcpy(&rn, &sl->reg_num, sizeof(rn)); in w1_get_slaves() 296 w1_send_slave(dev, rn); in w1_get_slaves()
|
D | w1.h | 285 void w1_slave_found(struct w1_master *dev, u64 rn); 289 struct w1_reg_num *rn); 298 int w1_attach_slave_device(struct w1_master *dev, struct w1_reg_num *rn);
|
D | w1_io.c | 410 u64 rn = le64_to_cpu(*((u64*)&sl->reg_num)); in w1_reset_select_slave() local 412 memcpy(&match[1], &rn, 8); in w1_reset_select_slave()
|
/drivers/md/persistent-data/ |
D | dm-btree.c | 430 struct btree_node *ln, *rn, *pn; in btree_split_sibling() local 440 rn = dm_block_data(right); in btree_split_sibling() 447 rn->header.flags = ln->header.flags; in btree_split_sibling() 448 rn->header.nr_entries = cpu_to_le32(nr_right); in btree_split_sibling() 449 rn->header.max_entries = ln->header.max_entries; in btree_split_sibling() 450 rn->header.value_size = ln->header.value_size; in btree_split_sibling() 451 memcpy(rn->keys, ln->keys + nr_left, nr_right * sizeof(rn->keys[0])); in btree_split_sibling() 455 memcpy(value_ptr(rn, 0), value_ptr(ln, nr_left), in btree_split_sibling() 473 le64_to_cpu(rn->keys[0]), &location); in btree_split_sibling() 477 if (key < le64_to_cpu(rn->keys[0])) { in btree_split_sibling() [all …]
|
/drivers/staging/skein/ |
D | skein_block.c | 598 ROT, rn) \ in skein_1024_process_block() argument 601 pF, ROT, rn); \ in skein_1024_process_block() 602 skein_show_r_ptr(BLK_BITS, &ctx->h, rn, X_ptr); \ in skein_1024_process_block() 628 ROT, rn) \ in skein_1024_process_block() argument 631 pF, ROT, rn); \ in skein_1024_process_block() 632 skein_show_r_ptr(BLK_BITS, &ctx->h, 4 * (r - 1) + rn, X_ptr); \ in skein_1024_process_block()
|
/drivers/w1/slaves/ |
D | w1_ds2408.c | 301 u64 rn = le64_to_cpu(*((u64*)&sl->reg_num)); in w1_f29_disable_test_mode() local 303 memcpy(&magic[1], &rn, 8); in w1_f29_disable_test_mode()
|
/drivers/scsi/lpfc/ |
D | lpfc_els.c | 4304 RNID *rn; in lpfc_els_rsp_rnid_acc() local 4337 rn = (RNID *) (pcmd); in lpfc_els_rsp_rnid_acc() 4338 rn->Format = format; in lpfc_els_rsp_rnid_acc() 4339 rn->CommonLen = (2 * sizeof(struct lpfc_name)); in lpfc_els_rsp_rnid_acc() 4340 memcpy(&rn->portName, &vport->fc_portname, sizeof(struct lpfc_name)); in lpfc_els_rsp_rnid_acc() 4341 memcpy(&rn->nodeName, &vport->fc_nodename, sizeof(struct lpfc_name)); in lpfc_els_rsp_rnid_acc() 4344 rn->SpecificLen = 0; in lpfc_els_rsp_rnid_acc() 4347 rn->SpecificLen = sizeof(RNID_TOP_DISC); in lpfc_els_rsp_rnid_acc() 4348 memcpy(&rn->un.topologyDisc.portName, in lpfc_els_rsp_rnid_acc() 4350 rn->un.topologyDisc.unitType = RNID_HBA; in lpfc_els_rsp_rnid_acc() [all …]
|
D | lpfc_sli.h | 238 uint32_t rn; /* Receive buffer notification */ member
|
D | lpfc_mbox.c | 1134 hbqmb->recvNotify = hbq_desc->rn; /* Receive in lpfc_config_hbq()
|
D | lpfc_debugfs.c | 307 hip->hbq_index, hip->profile, hip->rn, in lpfc_debugfs_hbqinfo_data()
|
D | lpfc_sli.c | 1824 .rn = 1, 1836 .rn = 1,
|
/drivers/net/ethernet/ |
D | jme.h | 85 __u8 rn; /* Number of read actions */ member
|
/drivers/net/wireless/iwlegacy/ |
D | 3945.c | 59 #define IL_DECLARE_RATE_INFO(r, ip, in, rp, rn, pp, np) \ argument 65 RATE_##rn##M_IDX, \
|
D | 4965-rs.c | 76 #define IL_DECLARE_RATE_INFO(r, s, ip, in, rp, rn, pp, np) \ argument 84 RATE_##rn##M_IDX, \
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | rs.c | 89 #define IWL_DECLARE_RATE_INFO(r, s, rp, rn) \ argument 96 IWL_RATE_##rn##M_INDEX }
|
/drivers/net/wireless/iwlwifi/dvm/ |
D | rs.c | 76 #define IWL_DECLARE_RATE_INFO(r, s, ip, in, rp, rn, pp, np) \ argument 85 IWL_RATE_##rn##M_INDEX, \
|