/linux-master/net/wireless/ |
H A D | nl80211.c | 8816 struct ieee80211_regdomain *rd; local 8842 rd = kzalloc(struct_size(rd, reg_rules, num_rules), GFP_KERNEL); 8843 if (!rd) { 8848 rd->n_reg_rules = num_rules; 8849 rd->alpha2[0] = alpha2[0]; 8850 rd->alpha2[1] = alpha2[1]; 8857 rd->dfs_region = dfs_region; 8866 r = parse_reg_rule(tb, &rd->reg_rules[rule_idx]); 8878 r = set_regdom(rd, REGD_SOURCE_CRD [all...] |
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_core.c | 259 struct vxlan_rdst *rd, int type) 269 err = vxlan_fdb_info(skb, vxlan, fdb, 0, 0, type, 0, rd); 286 const struct vxlan_rdst *rd, 292 fdb_info->remote_ip = rd->remote_ip; 293 fdb_info->remote_port = rd->remote_port; 294 fdb_info->remote_vni = rd->remote_vni; 295 fdb_info->remote_ifindex = rd->remote_ifindex; 298 fdb_info->offloaded = rd->offloaded; 304 struct vxlan_rdst *rd, 312 if (WARN_ON(!rd)) 258 __vxlan_fdb_notify(struct vxlan_dev *vxlan, struct vxlan_fdb *fdb, struct vxlan_rdst *rd, int type) argument 284 vxlan_fdb_switchdev_notifier_info(const struct vxlan_dev *vxlan, const struct vxlan_fdb *fdb, const struct vxlan_rdst *rd, struct netlink_ext_ack *extack, struct switchdev_notifier_vxlan_fdb_info *fdb_info) argument 302 vxlan_fdb_switchdev_call_notifiers(struct vxlan_dev *vxlan, struct vxlan_fdb *fdb, struct vxlan_rdst *rd, bool adding, struct netlink_ext_ack *extack) argument 323 vxlan_fdb_notify(struct vxlan_dev *vxlan, struct vxlan_fdb *fdb, struct vxlan_rdst *rd, int type, bool swdev_notify, struct netlink_ext_ack *extack) argument 449 struct vxlan_rdst *rd; local 574 struct vxlan_rdst *rd; local 599 struct vxlan_rdst *rd; local 892 struct vxlan_rdst *rd = NULL; local 923 struct vxlan_rdst *rd, *nd; local 950 struct vxlan_rdst *rd; local 972 struct vxlan_rdst *rd = container_of(head, struct vxlan_rdst, rcu); local 988 struct vxlan_rdst *rd = NULL; local 1147 vxlan_fdb_dst_destroy(struct vxlan_dev *vxlan, struct vxlan_fdb *f, struct vxlan_rdst *rd, bool swdev_notify) argument 1292 struct vxlan_rdst *rd = NULL; local 1362 struct vxlan_rdst *rd; local 2970 vxlan_fdb_flush_remote_matches(const struct vxlan_fdb_flush_desc *desc, const struct vxlan_rdst *rd) argument 2992 struct vxlan_rdst *rd, *tmp; local [all...] |
/linux-master/kernel/sched/ |
H A D | sched.h | 912 * CPUs of the rd. Protected by RCU. 919 extern void rq_attach_root(struct rq *rq, struct root_domain *rd); 920 extern void sched_get_rd(struct root_domain *rd); 921 extern void sched_put_rd(struct root_domain *rd); 1066 struct root_domain *rd; member in struct:rq 2523 if (!READ_ONCE(rq->rd->overload)) 2524 WRITE_ONCE(rq->rd->overload, 1);
|
H A D | core.c | 7829 cpumask_t *span = rq->rd->span; 7837 rq->rd->dl_bw.bw == 0) { 8348 if (!cpumask_subset(task_rq(p)->rd->span, mask)) 9582 cpumask_set_cpu(rq->cpu, rq->rd->online); 9603 cpumask_clear_cpu(rq->cpu, rq->rd->online); 9694 if (rq->rd) { 9695 BUG_ON(!cpumask_test_cpu(cpu, rq->rd->span)); 9738 if (rq->rd) { 9739 BUG_ON(!cpumask_test_cpu(cpu, rq->rd->span)); 10027 rq->rd [all...] |
/linux-master/fs/smb/server/ |
H A D | vfs.c | 690 struct renamedata rd; local 777 rd.old_mnt_idmap = mnt_idmap(old_path->mnt), 778 rd.old_dir = d_inode(old_parent), 779 rd.old_dentry = old_child, 780 rd.new_mnt_idmap = mnt_idmap(new_path.mnt), 781 rd.new_dir = new_path.dentry->d_inode, 782 rd.new_dentry = new_dentry, 783 rd.flags = flags, 784 rd.delegated_inode = NULL, 785 err = vfs_rename(&rd); [all...] |
/linux-master/drivers/firmware/arm_scmi/ |
H A D | raw_mode.c | 774 struct scmi_dbg_raw_data *rd = filp->private_data; local 776 if (!rd->rx_size) { 779 ret = scmi_raw_message_receive(rd->raw, rd->rx.buf, rd->rx.len, 780 &rd->rx_size, idx, rd->chan_id, 783 rd->rx_size = 0; 789 } else if (*ppos == rd->rx_size) { 791 rd 807 struct scmi_dbg_raw_data *rd = filp->private_data; local 848 struct scmi_dbg_raw_data *rd = filp->private_data; local 891 struct scmi_dbg_raw_data *rd; local 929 struct scmi_dbg_raw_data *rd = filp->private_data; local 942 struct scmi_dbg_raw_data *rd = filp->private_data; local [all...] |
/linux-master/kernel/trace/ |
H A D | ring_buffer.c | 4014 unsigned int rd; local 4017 rd = atomic_read(&buffer->record_disabled); 4019 new_rd = rd | RB_BUFFER_OFF; 4020 } while (!atomic_try_cmpxchg(&buffer->record_disabled, &rd, new_rd)); 4037 unsigned int rd; local 4040 rd = atomic_read(&buffer->record_disabled); 4042 new_rd = rd & ~RB_BUFFER_OFF; 4043 } while (!atomic_try_cmpxchg(&buffer->record_disabled, &rd, new_rd));
|
/linux-master/drivers/net/ethernet/micrel/ |
H A D | ks8851_common.c | 1023 unsigned rd; local 1025 rd = ks8851_rdreg16(ks, KS_MBIR); 1027 if ((rd & both_done) != both_done) { 1032 if (rd & MBIR_TXMBFA) 1035 if (rd & MBIR_RXMBFA)
|
/linux-master/sound/soc/codecs/ |
H A D | wm_adsp.c | 524 unsigned int out, rd, wr, vol; local 527 rd = SNDRV_CTL_ELEM_ACCESS_TLV_READ; 533 rd = SNDRV_CTL_ELEM_ACCESS_READ; 541 out |= rd; 547 out |= rd | wr | vol;
|
/linux-master/net/9p/ |
H A D | trans_fd.c | 136 * @rd: reference to file to read from 143 struct file *rd; member in struct:p9_trans_fd 236 ret = vfs_poll(ts->rd, pt); 237 if (ts->rd != ts->wr) 262 if (!(ts->rd->f_flags & O_NONBLOCK)) 265 pos = ts->rd->f_pos; 266 ret = kernel_read(ts->rd, v, len, &pos); 833 ts->rd = fget(rfd); 834 if (!ts->rd) 836 if (!(ts->rd [all...] |
/linux-master/drivers/perf/ |
H A D | riscv_pmu.c | 33 struct clock_read_data *rd; local 53 rd = sched_clock_read_begin(&seq); 55 userpg->time_mult = rd->mult; 56 userpg->time_shift = rd->shift; 57 userpg->time_zero = rd->epoch_ns; 58 userpg->time_cycles = rd->epoch_cyc; 59 userpg->time_mask = rd->sched_clock_mask; 66 ns = mul_u64_u32_shr(rd->epoch_cyc, rd->mult, rd [all...] |
/linux-master/drivers/of/ |
H A D | dynamic.c | 240 struct of_reconfig_data rd; local 242 memset(&rd, 0, sizeof(rd)); 243 rd.dn = np; 249 of_reconfig_notify(OF_RECONFIG_ATTACH_NODE, &rd); 294 struct of_reconfig_data rd; local 296 memset(&rd, 0, sizeof(rd)); 297 rd.dn = np; 303 of_reconfig_notify(OF_RECONFIG_DETACH_NODE, &rd); 570 struct of_reconfig_data rd; local [all...] |
/linux-master/fs/ |
H A D | namei.c | 4715 * @rd: pointer to &struct renamedata info 4759 int vfs_rename(struct renamedata *rd) argument 4762 struct inode *old_dir = rd->old_dir, *new_dir = rd->new_dir; 4763 struct dentry *old_dentry = rd->old_dentry; 4764 struct dentry *new_dentry = rd->new_dentry; 4765 struct inode **delegated_inode = rd->delegated_inode; 4766 unsigned int flags = rd->flags; 4778 error = may_delete(rd->old_mnt_idmap, old_dir, old_dentry, is_dir); 4783 error = may_create(rd 4922 struct renamedata rd; local [all...] |
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_mbx.c | 3845 qla2x00_disable_fce_trace(scsi_qla_host_t *vha, uint64_t *wr, uint64_t *rd) argument 3882 if (rd) 3883 *rd = (uint64_t) mcp->mb[9] << 48 |
|
/linux-master/include/net/ |
H A D | cfg80211.h | 6951 * should be in. If @rd is set this should be NULL. Note that if you 6952 * set this to NULL you should still set rd->alpha2 to some accepted 6976 * @rd: the regulatory domain information to use for this wiphy 6985 struct ieee80211_regdomain *rd); 6990 * @rd: the regulatory domain information to use for this wiphy 6999 struct ieee80211_regdomain *rd);
|
/linux-master/fs/nfsd/ |
H A D | vfs.c | 1889 struct renamedata rd = { local 1900 host_err = vfs_rename(&rd);
|
/linux-master/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 145 /* Modify rd pointer to alternate reg to avoid corrupting original reg */ 146 static void emit_sextw_alt(u8 *rd, u8 ra, struct rv_jit_context *ctx) argument 148 emit_sextw(ra, *rd, ctx); 149 *rd = ra; 152 static void emit_zextw_alt(u8 *rd, u8 ra, struct rv_jit_context *ctx) argument 154 emit_zextw(ra, *rd, ctx); 155 *rd = ra; 159 static int emit_addr(u8 rd, u64 addr, bool extra_pass, struct rv_jit_context *ctx) argument 175 emit(rv_auipc(rd, upper), ctx); 176 emit(rv_addi(rd, r 181 emit_imm(u8 rd, s64 val, struct rv_jit_context *ctx) argument 268 emit_bcc(u8 cond, u8 rd, u8 rs, int rvoff, struct rv_jit_context *ctx) argument 304 emit_branch(u8 cond, u8 rd, u8 rs, int rvoff, struct rv_jit_context *ctx) argument 395 init_regs(u8 *rd, u8 *rs, const struct bpf_insn *insn, struct rv_jit_context *ctx) argument 416 emit_jump_and_link(u8 rd, s64 rvoff, bool fixed_addr, struct rv_jit_context *ctx) argument 465 emit_atomic(u8 rd, u8 rs, s16 off, s32 imm, bool is64, struct rv_jit_context *ctx) argument 1066 u8 rd = -1, rs = -1, code = insn->code; local 1386 emit_branch(BPF_OP(code), rd, rs, rvoff, ctx); local 1430 emit_branch(BPF_OP(code), rd, rs, rvoff, ctx); local [all...] |
/linux-master/tools/objtool/arch/loongarch/ |
H A D | decode.c | 124 if ((inst.reg2i12_format.rd == CFI_SP) || (inst.reg2i12_format.rj == CFI_SP)) { 132 op->dest.reg = inst.reg2i12_format.rd; 138 /* ld.d rd,sp,si12 */ 145 op->dest.reg = inst.reg2i12_format.rd; 151 /* st.d rd,sp,si12 */ 155 op->src.reg = inst.reg2i12_format.rd; 163 if (inst.reg2i12_format.rd == 0 && 184 /* ldptr.d rd,sp,si14 */ 191 op->dest.reg = inst.reg2i14_format.rd; 198 if (inst.reg2i14_format.rd [all...] |
/linux-master/tools/arch/loongarch/include/asm/ |
H A D | inst.h | 73 unsigned int rd : 5; member in struct:reg2_format 79 unsigned int rd : 5; member in struct:reg2i12_format 86 unsigned int rd : 5; member in struct:reg2i14_format 93 unsigned int rd : 5; member in struct:reg2i16_format 150 enum loongarch_gpr rd, \ 156 insn->reg2i16_format.rd = rd; \
|
/linux-master/include/linux/ |
H A D | netdevice.h | 2968 netdev_offload_xstats_report_delta(struct netdev_notifier_offload_xstats_rd *rd,
|
H A D | of.h | 1591 extern int of_reconfig_notify(unsigned long, struct of_reconfig_data *rd);
|
/linux-master/fs/ubifs/ |
H A D | ubifs.h | 1972 int ubifs_lpt_init(struct ubifs_info *c, int rd, int wr);
|
/linux-master/drivers/staging/fbtft/ |
H A D | fbtft-core.c | 101 ret = fbtft_request_one_gpio(par, "rd", 0, &par->gpio.rd);
|
/linux-master/drivers/spi/ |
H A D | spi.c | 4749 struct of_reconfig_data *rd = arg; local 4755 ctlr = of_find_spi_controller_by_node(rd->dn->parent); 4759 if (of_node_test_and_set_flag(rd->dn, OF_POPULATED)) { 4768 rd->dn->fwnode.flags &= ~FWNODE_FLAG_NOT_DEVICE; 4769 spi = of_register_spi_device(ctlr, rd->dn); 4774 __func__, rd->dn); 4775 of_node_clear_flag(rd->dn, OF_POPULATED); 4782 if (!of_node_check_flag(rd->dn, OF_POPULATED)) 4786 spi = of_find_spi_device_by_node(rd->dn);
|
/linux-master/arch/loongarch/kernel/ |
H A D | traps.c | 634 if (insn.reg3_format.rd != 0) 641 if (insn.reg3_format.rd != 0)
|