/Linux-v5.4/include/net/ |
D | act_api.h | 96 int bind, bool rtnl_held, struct tcf_proto *tp, 157 int bind, bool cpustats); 162 struct tc_action **a, int bind); 163 int __tcf_idr_release(struct tc_action *a, bool bind, bool strict); 165 static inline int tcf_idr_release(struct tc_action *a, bool bind) in tcf_idr_release() argument 167 return __tcf_idr_release(a, bind, false); in tcf_idr_release() 173 int tcf_action_destroy(struct tc_action *actions[], int bind); 177 struct nlattr *est, char *name, int ovr, int bind, 182 char *name, int ovr, int bind, 185 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
|
/Linux-v5.4/net/sched/ |
D | act_ipt.c | 97 const struct tc_action_ops *ops, int ovr, int bind, in __tcf_ipt_init() argument 121 err = tcf_idr_check_alloc(tn, &index, a, bind); in __tcf_ipt_init() 125 if (exists && bind) in __tcf_ipt_init() 130 tcf_idr_release(*a, bind); in __tcf_ipt_init() 139 tcf_idr_release(*a, bind); in __tcf_ipt_init() 146 ret = tcf_idr_create(tn, index, est, a, ops, bind, in __tcf_ipt_init() 154 if (bind)/* dont override defaults */ in __tcf_ipt_init() 158 tcf_idr_release(*a, bind); in __tcf_ipt_init() 201 tcf_idr_release(*a, bind); in __tcf_ipt_init() 207 int bind, bool rtnl_held, struct tcf_proto *tp, in tcf_ipt_init() argument [all …]
|
D | act_vlan.c | 104 int ovr, int bind, bool rtnl_held, in tcf_vlan_init() argument 133 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_vlan_init() 137 if (exists && bind) in tcf_vlan_init() 147 tcf_idr_release(*a, bind); in tcf_vlan_init() 155 tcf_idr_release(*a, bind); in tcf_vlan_init() 169 tcf_idr_release(*a, bind); in tcf_vlan_init() 183 tcf_idr_release(*a, bind); in tcf_vlan_init() 192 &act_vlan_ops, bind, true); in tcf_vlan_init() 200 tcf_idr_release(*a, bind); in tcf_vlan_init() 238 tcf_idr_release(*a, bind); in tcf_vlan_init() [all …]
|
D | act_simple.c | 88 int ovr, int bind, bool rtnl_held, in tcf_simp_init() argument 113 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_simp_init() 117 if (exists && bind) in tcf_simp_init() 122 tcf_idr_release(*a, bind); in tcf_simp_init() 130 &act_simp_ops, bind, false); in tcf_simp_init() 166 tcf_idr_release(*a, bind); in tcf_simp_init() 171 int bind, int ref) in tcf_simp_dump() argument 178 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_simp_dump()
|
D | act_connmark.c | 96 int ovr, int bind, bool rtnl_held, in tcf_connmark_init() argument 121 ret = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_connmark_init() 124 &act_connmark_ops, bind, false); in tcf_connmark_init() 143 if (bind) in tcf_connmark_init() 146 tcf_idr_release(*a, bind); in tcf_connmark_init() 165 tcf_idr_release(*a, bind); in tcf_connmark_init() 170 int bind, int ref) in tcf_connmark_dump() argument 177 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, in tcf_connmark_dump()
|
D | act_skbmod.c | 81 int ovr, int bind, bool rtnl_held, in tcf_skbmod_init() argument 129 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbmod_init() 133 if (exists && bind) in tcf_skbmod_init() 138 tcf_idr_release(*a, bind); in tcf_skbmod_init() 146 &act_skbmod_ops, bind, true); in tcf_skbmod_init() 154 tcf_idr_release(*a, bind); in tcf_skbmod_init() 200 tcf_idr_release(*a, bind); in tcf_skbmod_init() 215 int bind, int ref) in tcf_skbmod_dump() argument 223 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbmod_dump()
|
D | act_gact.c | 55 int ovr, int bind, bool rtnl_held, in tcf_gact_init() argument 99 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_gact_init() 102 &act_gact_ops, bind, true); in tcf_gact_init() 109 if (bind)/* dont override defaults */ in tcf_gact_init() 112 tcf_idr_release(*a, bind); in tcf_gact_init() 146 tcf_idr_release(*a, bind); in tcf_gact_init() 193 int bind, int ref) in tcf_gact_dump() argument 200 .bindcnt = atomic_read(&gact->tcf_bindcnt) - bind, in tcf_gact_dump()
|
D | act_sample.c | 38 int bind, bool rtnl_held, struct tcf_proto *tp, in tcf_sample_init() argument 63 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_sample_init() 67 if (exists && bind) in tcf_sample_init() 72 &act_sample_ops, bind, true); in tcf_sample_init() 79 tcf_idr_release(*a, bind); in tcf_sample_init() 126 tcf_idr_release(*a, bind); in tcf_sample_init() 200 int bind, int ref) in tcf_sample_dump() argument 207 .bindcnt = atomic_read(&s->tcf_bindcnt) - bind, in tcf_sample_dump()
|
D | act_api.c | 125 static int __tcf_action_put(struct tc_action *p, bool bind) in __tcf_action_put() argument 130 if (bind) in __tcf_action_put() 139 if (bind) in __tcf_action_put() 145 int __tcf_idr_release(struct tc_action *p, bool bind, bool strict) in __tcf_idr_release() argument 162 if (!bind && strict && atomic_read(&p->tcfa_bindcnt) > 0) in __tcf_idr_release() 165 if (__tcf_action_put(p, bind)) in __tcf_idr_release() 402 int bind, bool cpustats) in tcf_idr_create() argument 411 if (bind) in tcf_idr_create() 485 struct tc_action **a, int bind) in tcf_idr_check_alloc() argument 505 if (bind) in tcf_idr_check_alloc() [all …]
|
D | act_skbedit.c | 88 int ovr, int bind, bool rtnl_held, in tcf_skbedit_init() argument 151 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbedit_init() 155 if (exists && bind) in tcf_skbedit_init() 160 tcf_idr_release(*a, bind); in tcf_skbedit_init() 168 &act_skbedit_ops, bind, true); in tcf_skbedit_init() 179 tcf_idr_release(*a, bind); in tcf_skbedit_init() 224 tcf_idr_release(*a, bind); in tcf_skbedit_init() 229 int bind, int ref) in tcf_skbedit_dump() argument 237 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbedit_dump()
|
D | act_nat.c | 37 struct tc_action **a, int ovr, int bind, in tcf_nat_init() argument 61 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_nat_init() 64 &act_nat_ops, bind, false); in tcf_nat_init() 71 if (bind) in tcf_nat_init() 74 tcf_idr_release(*a, bind); in tcf_nat_init() 101 tcf_idr_release(*a, bind); in tcf_nat_init() 263 int bind, int ref) in tcf_nat_dump() argument 270 .bindcnt = atomic_read(&p->tcf_bindcnt) - bind, in tcf_nat_dump()
|
D | act_mirred.c | 94 int ovr, int bind, bool rtnl_held, in tcf_mirred_init() argument 123 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mirred_init() 127 if (exists && bind) in tcf_mirred_init() 138 tcf_idr_release(*a, bind); in tcf_mirred_init() 152 &act_mirred_ops, bind, true); in tcf_mirred_init() 159 tcf_idr_release(*a, bind); in tcf_mirred_init() 206 tcf_idr_release(*a, bind); in tcf_mirred_init() 328 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() argument 336 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mirred_dump()
|
D | act_bpf.c | 135 int bind, int ref) in tcf_bpf_dump() argument 142 .bindcnt = atomic_read(&prog->tcf_bindcnt) - bind, in tcf_bpf_dump() 277 int replace, int bind, bool rtnl_held, in tcf_bpf_init() argument 303 ret = tcf_idr_check_alloc(tn, &index, act, bind); in tcf_bpf_init() 306 &act_bpf_ops, bind, true); in tcf_bpf_init() 315 if (bind) in tcf_bpf_init() 319 tcf_idr_release(*act, bind); in tcf_bpf_init() 379 tcf_idr_release(*act, bind); in tcf_bpf_init()
|
D | act_ctinfo.c | 155 int ovr, int bind, bool rtnl_held, in tcf_ctinfo_init() argument 210 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_ctinfo_init() 213 &act_ctinfo_ops, bind, false); in tcf_ctinfo_init() 220 if (bind) /* don't override defaults */ in tcf_ctinfo_init() 223 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_mpls.c | 133 int ovr, int bind, bool rtnl_held, in tcf_mpls_init() argument 218 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mpls_init() 222 if (exists && bind) in tcf_mpls_init() 227 &act_mpls_ops, bind, true); in tcf_mpls_init() 235 tcf_idr_release(*a, bind); in tcf_mpls_init() 280 tcf_idr_release(*a, bind); in tcf_mpls_init() 295 int bind, int ref) in tcf_mpls_dump() argument 303 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mpls_dump()
|
D | act_police.c | 49 int ovr, int bind, bool rtnl_held, in tcf_police_init() argument 81 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_police_init() 85 if (exists && bind) in tcf_police_init() 90 &act_police_ops, bind, true); in tcf_police_init() 98 tcf_idr_release(*a, bind); in tcf_police_init() 214 tcf_idr_release(*a, bind); in tcf_police_init() 305 int bind, int ref) in tcf_police_dump() argument 313 .bindcnt = atomic_read(&police->tcf_bindcnt) - bind, in tcf_police_dump()
|
/Linux-v5.4/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-v5.4/drivers/xen/ |
D | evtchn.c | 466 struct ioctl_evtchn_bind_virq bind; in evtchn_ioctl() local 474 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl() 477 bind_virq.virq = bind.virq; in evtchn_ioctl() 491 struct ioctl_evtchn_bind_interdomain bind; in evtchn_ioctl() local 495 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl() 500 u->restrict_domid != bind.remote_domain) in evtchn_ioctl() 503 bind_interdomain.remote_dom = bind.remote_domain; in evtchn_ioctl() 504 bind_interdomain.remote_port = bind.remote_port; in evtchn_ioctl() 519 struct ioctl_evtchn_bind_unbound_port bind; in evtchn_ioctl() local 527 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl() [all …]
|
/Linux-v5.4/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-v5.4/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() 823 struct p4_event_bind *bind; in p4_hw_config() local 840 bind = p4_config_get_bind(event->attr.config); in p4_hw_config() 841 if (!bind) { in p4_hw_config() 845 esel = P4_OPCODE_ESEL(bind->opcode); in p4_hw_config() [all …]
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_span.c | 763 bool bind) in mlxsw_sp_span_entry_bound_port_find() argument 770 bind == p->bound) in mlxsw_sp_span_entry_bound_port_find() 779 bool bind) in mlxsw_sp_span_inspected_port_bind() argument 787 (enum mlxsw_reg_mpar_i_e)type, bind, pa_id); in mlxsw_sp_span_inspected_port_bind() 795 bool bind) in mlxsw_sp_span_inspected_port_add() argument 806 if (bind) in mlxsw_sp_span_inspected_port_add() 812 port, bind)) in mlxsw_sp_span_inspected_port_add() 829 if (bind) { in mlxsw_sp_span_inspected_port_add() 843 inspected_port->bound = bind; in mlxsw_sp_span_inspected_port_add() 849 if (bind) in mlxsw_sp_span_inspected_port_add() [all …]
|
/Linux-v5.4/Documentation/scsi/ |
D | NinjaSCSI.txt | 72 bind "nsp_cs" 76 bind "nsp_cs" 81 bind "nsp_cs" 86 bind "nsp_cs" 89 bind "nsp_cs" 92 bind "nsp_cs" 95 bind "nsp_cs"
|
/Linux-v5.4/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 10 # echo dpni.2 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/bind
|
/Linux-v5.4/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-v5.4/Documentation/networking/ |
D | j1939.rst | 146 After the successful creation of the socket, you would normally use the bind(2) 147 and/or connect(2) system call to bind the socket to a CAN interface. After 153 In order to send data, a bind(2) must have been successful. bind(2) assigns a 158 to bind(2), connect(2), sendto(2) and recvfrom(2). A write(2) with size 4 will 192 The bind(2) system call assigns the local address, i.e. the source address when 193 sending packages. If a PGN during bind(2) is set, it's used as a RX filter. 206 Both write(2) and send(2) will send a packet with local address from bind(2) and 220 - SO_J1939_PROMISC - disable filters set by bind(2) and connect(2) 248 | bind() + connect() + | | 308 j1939.name member and provide it to bind(2). If the name had claimed an address [all …]
|