/Linux-v5.10/drivers/ntb/test/ |
D | ntb_tool.c | 231 int midx; member 1286 data = ntb_msg_read(msg->tc->ntb, &pidx, msg->midx); in tool_inmsg_read() 1309 ret = ntb_peer_msg_write(msg->tc->ntb, msg->pidx, msg->midx, val); in tool_outmsg_write() 1402 int midx, pidx; in tool_init_msgs() local 1411 for (midx = 0; midx < tc->inmsg_cnt; midx++) { in tool_init_msgs() 1412 tc->inmsgs[midx].midx = midx; in tool_init_msgs() 1413 tc->inmsgs[midx].pidx = -1; in tool_init_msgs() 1414 tc->inmsgs[midx].tc = tc; in tool_init_msgs() 1426 for (midx = 0; midx < tc->peers[pidx].outmsg_cnt; midx++) { in tool_init_msgs() 1427 tc->peers[pidx].outmsgs[midx].midx = midx; in tool_init_msgs() [all …]
|
/Linux-v5.10/fs/nfs/ |
D | pagelist.c | 1271 u32 midx; in nfs_pageio_error_cleanup() local 1277 for (midx = 0; midx < desc->pg_mirror_count; midx++) { in nfs_pageio_error_cleanup() 1278 mirror = nfs_pgio_get_mirror(desc, midx); in nfs_pageio_error_cleanup() 1287 u32 midx; in nfs_pageio_add_request() local 1300 for (midx = 1; midx < desc->pg_mirror_count; midx++) { in nfs_pageio_add_request() 1312 nfs_pgio_set_current_mirror(desc, midx); in nfs_pageio_add_request() 1396 u32 midx; in nfs_pageio_complete() local 1398 for (midx = 0; midx < desc->pg_mirror_count; midx++) in nfs_pageio_complete() 1399 nfs_pageio_complete_mirror(desc, midx); in nfs_pageio_complete() 1423 u32 midx; in nfs_pageio_cond_complete() local [all …]
|
/Linux-v5.10/drivers/hwtracing/stm/ |
D | core.c | 253 unsigned int midx; in stm_find_master_chan() local 256 for (midx = *mstart; midx <= mend; midx++) { in stm_find_master_chan() 257 if (!stm_master(stm, midx)) { in stm_find_master_chan() 258 err = stp_master_alloc(stm, midx); in stm_find_master_chan() 263 master = stm_master(stm, midx); in stm_find_master_chan() 273 *mstart = midx; in stm_find_master_chan() 285 unsigned int midx, cidx, mend, cend; in stm_output_assign() local 299 stp_policy_node_get_ranges(policy_node, &midx, &mend, &cidx, &cend); in stm_output_assign() 307 ret = stm_find_master_chan(stm, width, &midx, mend, &cidx, cend); in stm_output_assign() 311 output->master = midx; in stm_output_assign() [all …]
|
/Linux-v5.10/drivers/ntb/hw/idt/ |
D | ntb_hw_idt.c | 1590 unsigned char midx; in idt_init_msg() local 1593 for (midx = 0; midx < IDT_MSG_CNT; midx++) in idt_init_msg() 1594 spin_lock_init(&ndev->msg_locks[midx]); in idt_init_msg() 1751 static u32 idt_ntb_msg_read(struct ntb_dev *ntb, int *pidx, int midx) in idt_ntb_msg_read() argument 1755 if (midx < 0 || IDT_MSG_CNT <= midx) in idt_ntb_msg_read() 1762 srcpart = idt_nt_read(ndev, ntdata_tbl.msgs[midx].src); in idt_ntb_msg_read() 1771 return idt_nt_read(ndev, ntdata_tbl.msgs[midx].in); in idt_ntb_msg_read() 1787 static int idt_ntb_peer_msg_write(struct ntb_dev *ntb, int pidx, int midx, in idt_ntb_peer_msg_write() argument 1794 if (midx < 0 || IDT_MSG_CNT <= midx) in idt_ntb_peer_msg_write() 1801 swpmsgctl = SET_FIELD(SWPxMSGCTL_REG, 0, midx) | in idt_ntb_peer_msg_write() [all …]
|
/Linux-v5.10/include/linux/ |
D | ntb.h | 330 u32 (*msg_read)(struct ntb_dev *ntb, int *pidx, int midx); 331 int (*peer_msg_write)(struct ntb_dev *ntb, int pidx, int midx, u32 msg); 1536 static inline u32 ntb_msg_read(struct ntb_dev *ntb, int *pidx, int midx) in ntb_msg_read() argument 1541 return ntb->ops->msg_read(ntb, pidx, midx); in ntb_msg_read() 1557 static inline int ntb_peer_msg_write(struct ntb_dev *ntb, int pidx, int midx, in ntb_peer_msg_write() argument 1563 return ntb->ops->peer_msg_write(ntb, pidx, midx, msg); in ntb_peer_msg_write()
|
/Linux-v5.10/drivers/infiniband/hw/qib/ |
D | qib_sd7220.c | 1044 int idx, midx; in qib_sd_setvals() local 1073 for (midx = 0; midx < DDS_ROWS; ++midx) { in qib_sd_setvals() 1074 u64 __iomem *daddr = taddr + ((midx << 4) + idx); in qib_sd_setvals() 1076 data = dds_init_vals[midx].reg_vals[idx]; in qib_sd_setvals()
|
/Linux-v5.10/net/ipv4/ |
D | ip_sockglue.c | 1106 int midx; in do_ip_setsockopt() local 1123 midx = l3mdev_master_ifindex(dev); in do_ip_setsockopt() 1127 if (sk->sk_bound_dev_if && midx != sk->sk_bound_dev_if) in do_ip_setsockopt() 1138 int midx; in do_ip_setsockopt() local 1184 midx = l3mdev_master_ifindex(dev); in do_ip_setsockopt() 1191 midx != sk->sk_bound_dev_if) in do_ip_setsockopt()
|
/Linux-v5.10/net/ipv6/ |
D | ipv6_sockglue.c | 800 int midx; in do_ipv6_setsockopt() local 810 midx = l3mdev_master_ifindex_rcu(dev); in do_ipv6_setsockopt() 816 (!midx || midx != sk->sk_bound_dev_if)) in do_ipv6_setsockopt()
|
/Linux-v5.10/Documentation/driver-api/ |
D | ntb.rst | 100 2) ntb_get_align(pidx, midx) - retrieve parameters restricting the 105 4) ntb_mw_set_trans(pidx, midx) - try to set translation address of 113 1) ntb_peer_mw_set_trans(pidx, midx) - try to set received from other
|