/linux-6.6.21/net/sched/ |
D | act_vlan.c | 122 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_vlan_init() local 149 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_vlan_init() 153 if (exists && bind) in tcf_vlan_init() 163 tcf_idr_release(*a, bind); in tcf_vlan_init() 171 tcf_idr_release(*a, bind); in tcf_vlan_init() 185 tcf_idr_release(*a, bind); in tcf_vlan_init() 203 tcf_idr_release(*a, bind); in tcf_vlan_init() 211 tcf_idr_release(*a, bind); in tcf_vlan_init() 220 &act_vlan_ops, bind, flags); in tcf_vlan_init() 228 tcf_idr_release(*a, bind); in tcf_vlan_init() [all …]
|
D | act_gact.c | 59 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_gact_init() local 100 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_gact_init() 103 &act_gact_ops, bind, flags); in tcf_gact_init() 110 if (bind)/* dont override defaults */ in tcf_gact_init() 113 tcf_idr_release(*a, bind); in tcf_gact_init() 145 tcf_idr_release(*a, bind); in tcf_gact_init() 186 int bind, int ref) in tcf_gact_dump() argument 193 .bindcnt = atomic_read(&gact->tcf_bindcnt) - bind, in tcf_gact_dump() 240 u32 *index_inc, bool bind, in tcf_gact_offload_act_setup() argument 243 if (bind) { in tcf_gact_offload_act_setup()
|
D | act_simple.c | 94 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_simp_init() local 116 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_simp_init() 120 if (exists && bind) in tcf_simp_init() 125 tcf_idr_release(*a, bind); in tcf_simp_init() 133 &act_simp_ops, bind, false, flags); in tcf_simp_init() 167 tcf_idr_release(*a, bind); in tcf_simp_init() 172 int bind, int ref) in tcf_simp_dump() argument 179 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_simp_dump()
|
D | act_sample.c | 42 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_sample_init() local 64 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_sample_init() 68 if (exists && bind) in tcf_sample_init() 73 &act_sample_ops, bind, true, flags); in tcf_sample_init() 80 tcf_idr_release(*a, bind); in tcf_sample_init() 132 tcf_idr_release(*a, bind); in tcf_sample_init() 213 int bind, int ref) in tcf_sample_dump() argument 220 .bindcnt = atomic_read(&s->tcf_bindcnt) - bind, in tcf_sample_dump() 285 u32 *index_inc, bool bind, in tcf_sample_offload_act_setup() argument 288 if (bind) { in tcf_sample_offload_act_setup()
|
D | act_skbmod.c | 109 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_skbmod_init() local 155 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbmod_init() 159 if (exists && bind) in tcf_skbmod_init() 164 tcf_idr_release(*a, bind); in tcf_skbmod_init() 172 &act_skbmod_ops, bind, true, flags); in tcf_skbmod_init() 180 tcf_idr_release(*a, bind); in tcf_skbmod_init() 224 tcf_idr_release(*a, bind); in tcf_skbmod_init() 239 int bind, int ref) in tcf_skbmod_dump() argument 247 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbmod_dump()
|
D | act_ipt.c | 101 bool bind = flags & TCA_ACT_FLAGS_BIND; in __tcf_ipt_init() local 122 err = tcf_idr_check_alloc(tn, &index, a, bind); in __tcf_ipt_init() 126 if (exists && bind) in __tcf_ipt_init() 131 tcf_idr_release(*a, bind); in __tcf_ipt_init() 140 tcf_idr_release(*a, bind); in __tcf_ipt_init() 147 ret = tcf_idr_create(tn, index, est, a, ops, bind, in __tcf_ipt_init() 155 if (bind)/* dont override defaults */ in __tcf_ipt_init() 159 tcf_idr_release(*a, bind); in __tcf_ipt_init() 212 tcf_idr_release(*a, bind); in __tcf_ipt_init() 329 static int tcf_ipt_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_ipt_dump() argument [all …]
|
D | act_connmark.c | 106 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_connmark_init() local 130 ret = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_connmark_init() 133 &act_connmark_ops, bind, flags); in tcf_connmark_init() 148 if (bind) { in tcf_connmark_init() 184 tcf_idr_release(*a, bind); in tcf_connmark_init() 191 int bind, int ref) in tcf_connmark_dump() argument 198 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, in tcf_connmark_dump()
|
D | act_mirred.c | 98 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_mirred_init() local 122 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mirred_init() 126 if (exists && bind) in tcf_mirred_init() 137 tcf_idr_release(*a, bind); in tcf_mirred_init() 151 &act_mirred_ops, bind, flags); in tcf_mirred_init() 158 tcf_idr_release(*a, bind); in tcf_mirred_init() 205 tcf_idr_release(*a, bind); in tcf_mirred_init() 356 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() argument 364 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mirred_dump() 462 u32 *index_inc, bool bind, in tcf_mirred_offload_act_setup() argument [all …]
|
D | act_skbedit.c | 123 bool bind = act_flags & TCA_ACT_FLAGS_BIND; in tcf_skbedit_init() local 207 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbedit_init() 211 if (exists && bind) in tcf_skbedit_init() 216 tcf_idr_release(*a, bind); in tcf_skbedit_init() 224 &act_skbedit_ops, bind, true, act_flags); in tcf_skbedit_init() 235 tcf_idr_release(*a, bind); in tcf_skbedit_init() 280 tcf_idr_release(*a, bind); in tcf_skbedit_init() 285 int bind, int ref) in tcf_skbedit_dump() argument 293 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbedit_dump() 369 u32 *index_inc, bool bind, in tcf_skbedit_offload_act_setup() argument [all …]
|
D | act_nat.c | 40 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_nat_init() local 61 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_nat_init() 64 bind, flags); in tcf_nat_init() 71 if (bind) in tcf_nat_init() 74 tcf_idr_release(*a, bind); in tcf_nat_init() 110 tcf_idr_release(*a, bind); in tcf_nat_init() 268 int bind, int ref) in tcf_nat_dump() argument 275 .bindcnt = atomic_read(&p->tcf_bindcnt) - bind, in tcf_nat_dump()
|
D | act_mpls.c | 166 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_mpls_init() local 193 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mpls_init() 197 if (exists && bind) in tcf_mpls_init() 201 ret = tcf_idr_create(tn, index, est, a, &act_mpls_ops, bind, in tcf_mpls_init() 210 tcf_idr_release(*a, bind); in tcf_mpls_init() 317 tcf_idr_release(*a, bind); in tcf_mpls_init() 332 int bind, int ref) in tcf_mpls_dump() argument 340 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mpls_dump() 386 u32 *index_inc, bool bind, in tcf_mpls_offload_act_setup() argument 389 if (bind) { in tcf_mpls_offload_act_setup()
|
D | act_bpf.c | 139 int bind, int ref) in tcf_bpf_dump() argument 146 .bindcnt = atomic_read(&prog->tcf_bindcnt) - bind, in tcf_bpf_dump() 285 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_bpf_init() local 308 ret = tcf_idr_check_alloc(tn, &index, act, bind); in tcf_bpf_init() 311 &act_bpf_ops, bind, true, flags); in tcf_bpf_init() 320 if (bind) in tcf_bpf_init() 324 tcf_idr_release(*act, bind); in tcf_bpf_init() 382 tcf_idr_release(*act, bind); in tcf_bpf_init()
|
D | act_ctinfo.c | 162 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_ctinfo_init() local 213 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_ctinfo_init() 216 &act_ctinfo_ops, bind, flags); in tcf_ctinfo_init() 223 if (bind) /* don't override defaults */ in tcf_ctinfo_init() 226 tcf_idr_release(*a, bind); in tcf_ctinfo_init() 278 tcf_idr_release(*a, bind); in tcf_ctinfo_init() 283 int bind, int ref) in tcf_ctinfo_dump() argument 289 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, in tcf_ctinfo_dump()
|
D | act_csum.c | 49 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_csum_init() local 70 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_csum_init() 73 &act_csum_ops, bind, flags); in tcf_csum_init() 80 if (bind)/* dont override defaults */ in tcf_csum_init() 83 tcf_idr_release(*a, bind); in tcf_csum_init() 119 tcf_idr_release(*a, bind); in tcf_csum_init() 631 static int tcf_csum_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_csum_dump() argument 640 .bindcnt = atomic_read(&p->tcf_bindcnt) - bind, in tcf_csum_dump() 682 u32 *index_inc, bool bind, in tcf_csum_offload_act_setup() argument 685 if (bind) { in tcf_csum_offload_act_setup()
|
D | act_police.c | 46 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_police_init() local 75 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_police_init() 79 if (exists && bind) in tcf_police_init() 84 &act_police_ops, bind, true, flags); in tcf_police_init() 92 tcf_idr_release(*a, bind); in tcf_police_init() 229 tcf_idr_release(*a, bind); in tcf_police_init() 341 int bind, int ref) in tcf_police_dump() argument 349 .bindcnt = atomic_read(&police->tcf_bindcnt) - bind, in tcf_police_dump() 439 u32 *index_inc, bool bind, in tcf_police_offload_act_setup() argument 442 if (bind) { in tcf_police_offload_act_setup()
|
/linux-6.6.21/drivers/xen/ |
D | evtchn.c | 441 struct ioctl_evtchn_bind_virq bind; in evtchn_ioctl() local 449 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl() 452 bind_virq.virq = bind.virq; in evtchn_ioctl() 466 struct ioctl_evtchn_bind_interdomain bind; in evtchn_ioctl() local 470 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl() 475 u->restrict_domid != bind.remote_domain) in evtchn_ioctl() 478 bind_interdomain.remote_dom = bind.remote_domain; in evtchn_ioctl() 479 bind_interdomain.remote_port = bind.remote_port; in evtchn_ioctl() 492 struct ioctl_evtchn_bind_unbound_port bind; in evtchn_ioctl() local 500 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl() [all …]
|
/linux-6.6.21/tools/testing/selftests/media_tests/ |
D | media_dev_allocator.sh | 39 echo $MDEV > $MDRIVER/bind; 45 echo $ADEV > $ADRIVER/bind; 65 echo $MDEV > $MDRIVER/bind; 79 echo $ADEV > $ADRIVER/bind;
|
/linux-6.6.21/drivers/vfio/ |
D | device_cdev.c | 60 struct vfio_device_bind_iommufd bind; in vfio_df_ioctl_bind_iommufd() local 68 if (copy_from_user(&bind, arg, minsz)) in vfio_df_ioctl_bind_iommufd() 71 if (bind.argsz < minsz || bind.flags || bind.iommufd < 0) in vfio_df_ioctl_bind_iommufd() 89 df->iommufd = iommufd_ctx_from_fd(bind.iommufd); in vfio_df_ioctl_bind_iommufd()
|
/linux-6.6.21/tools/testing/selftests/drivers/usb/usbip/ |
D | usbip_test.sh | 89 src/usbip bind -b $busid; 97 src/usbip bind -b $busid; 129 src/usbip bind -b $busid; 186 src/usbip bind -b $busid;
|
/linux-6.6.21/arch/x86/events/intel/ |
D | p4.c | 708 struct p4_event_bind *bind = NULL; in p4_config_get_bind() local 711 bind = &p4_event_bind_map[evnt]; in p4_config_get_bind() 713 return bind; in p4_config_get_bind() 718 struct p4_event_bind *bind; in p4_pmu_event_map() local 723 bind = p4_config_get_bind(config); in p4_pmu_event_map() 724 esel = P4_OPCODE_ESEL(bind->opcode); in p4_pmu_event_map() 824 struct p4_event_bind *bind; in p4_hw_config() local 841 bind = p4_config_get_bind(event->attr.config); in p4_hw_config() 842 if (!bind) { in p4_hw_config() 846 esel = P4_OPCODE_ESEL(bind->opcode); in p4_hw_config() [all …]
|
/linux-6.6.21/Documentation/scsi/ |
D | NinjaSCSI.rst | 94 bind "nsp_cs" 98 bind "nsp_cs" 103 bind "nsp_cs" 108 bind "nsp_cs" 111 bind "nsp_cs" 114 bind "nsp_cs" 117 bind "nsp_cs"
|
/linux-6.6.21/tools/lib/bpf/ |
D | elf.c | 273 int bind; member 330 int bind = GELF_ST_BIND(sym->sym.st_info); in elf_resolve_syms_offsets() local 346 if (found->bind != STB_WEAK && bind != STB_WEAK) { in elf_resolve_syms_offsets() 352 } else if (bind == STB_WEAK) { in elf_resolve_syms_offsets() 362 found->bind = bind; in elf_resolve_syms_offsets()
|
/linux-6.6.21/include/net/ |
D | act_api.h | 134 u32 *index_inc, bool bind, 189 int bind, bool cpustats, u32 flags); 192 const struct tc_action_ops *ops, int bind, 197 struct tc_action **a, int bind); 198 int tcf_idr_release(struct tc_action *a, bool bind); 203 int tcf_action_destroy(struct tc_action *actions[], int bind); 217 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
|
/linux-6.6.21/Documentation/driver-api/ |
D | console.rst | 25 do_take_over_console() - load and bind driver to console layer 45 . .. bind name uevent 49 1. bind - this is a read/write file. It shows the status of the driver if 50 read, or acts to bind or unbind the driver to the virtual consoles 59 bind 67 commanded to bind or unbind 75 directly commanded to bind or unbind. 81 hand, will bind the driver to the consoles that are currently occupied by a 126 bind to) the console.
|
/linux-6.6.21/Documentation/ABI/testing/ |
D | sysfs-bus-fsl-mc | 1 What: /sys/bus/fsl-mc/drivers/.../bind 6 the driver to attempt to bind to the device found at 12 # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/bind
|