/Linux-v5.15/net/sched/ |
D | act_vlan.c | 121 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_vlan_init() local 148 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_vlan_init() 152 if (exists && bind) in tcf_vlan_init() 162 tcf_idr_release(*a, bind); in tcf_vlan_init() 170 tcf_idr_release(*a, bind); in tcf_vlan_init() 184 tcf_idr_release(*a, bind); in tcf_vlan_init() 202 tcf_idr_release(*a, bind); in tcf_vlan_init() 210 tcf_idr_release(*a, bind); in tcf_vlan_init() 219 &act_vlan_ops, bind, flags); in tcf_vlan_init() 227 tcf_idr_release(*a, bind); in tcf_vlan_init() [all …]
|
D | act_connmark.c | 104 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_connmark_init() local 124 ret = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_connmark_init() 127 &act_connmark_ops, bind, false, 0); in tcf_connmark_init() 145 if (bind) in tcf_connmark_init() 148 tcf_idr_release(*a, bind); in tcf_connmark_init() 167 tcf_idr_release(*a, bind); in tcf_connmark_init() 172 int bind, int ref) in tcf_connmark_dump() argument 179 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, in tcf_connmark_dump()
|
D | act_simple.c | 92 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_simp_init() local 114 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_simp_init() 118 if (exists && bind) in tcf_simp_init() 123 tcf_idr_release(*a, bind); in tcf_simp_init() 131 &act_simp_ops, bind, false, 0); in tcf_simp_init() 165 tcf_idr_release(*a, bind); in tcf_simp_init() 170 int bind, int ref) in tcf_simp_dump() argument 177 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_simp_dump()
|
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() 185 int bind, int ref) in tcf_gact_dump() argument 192 .bindcnt = atomic_read(&gact->tcf_bindcnt) - bind, in tcf_gact_dump()
|
D | act_skbmod.c | 108 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_skbmod_init() local 154 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbmod_init() 158 if (exists && bind) in tcf_skbmod_init() 163 tcf_idr_release(*a, bind); in tcf_skbmod_init() 171 &act_skbmod_ops, bind, true, 0); in tcf_skbmod_init() 179 tcf_idr_release(*a, bind); in tcf_skbmod_init() 223 tcf_idr_release(*a, bind); in tcf_skbmod_init() 238 int bind, int ref) in tcf_skbmod_dump() argument 246 .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() 200 tcf_idr_release(*a, bind); in __tcf_ipt_init() 274 static int tcf_ipt_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_ipt_dump() argument [all …]
|
D | act_nat.c | 41 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 &act_nat_ops, bind, false, 0); in tcf_nat_init() 71 if (bind) in tcf_nat_init() 74 tcf_idr_release(*a, bind); in tcf_nat_init() 98 tcf_idr_release(*a, bind); in tcf_nat_init() 258 int bind, int ref) in tcf_nat_dump() argument 265 .bindcnt = atomic_read(&p->tcf_bindcnt) - bind, in tcf_nat_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, 0); in tcf_sample_init() 80 tcf_idr_release(*a, bind); in tcf_sample_init() 125 tcf_idr_release(*a, bind); in tcf_sample_init() 205 int bind, int ref) in tcf_sample_dump() argument 212 .bindcnt = atomic_read(&s->tcf_bindcnt) - bind, in tcf_sample_dump()
|
D | act_skbedit.c | 103 bool bind = act_flags & TCA_ACT_FLAGS_BIND; in tcf_skbedit_init() local 162 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbedit_init() 166 if (exists && bind) in tcf_skbedit_init() 171 tcf_idr_release(*a, bind); in tcf_skbedit_init() 179 &act_skbedit_ops, bind, true, 0); in tcf_skbedit_init() 190 tcf_idr_release(*a, bind); in tcf_skbedit_init() 233 tcf_idr_release(*a, bind); in tcf_skbedit_init() 238 int bind, int ref) in tcf_skbedit_dump() argument 246 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbedit_dump()
|
D | act_mirred.c | 97 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() 202 tcf_idr_release(*a, bind); in tcf_mirred_init() 333 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() argument 341 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mirred_dump()
|
D | act_ctinfo.c | 161 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_ctinfo_init() local 212 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_ctinfo_init() 215 &act_ctinfo_ops, bind, false, 0); in tcf_ctinfo_init() 222 if (bind) /* don't override defaults */ in tcf_ctinfo_init() 225 tcf_idr_release(*a, bind); in tcf_ctinfo_init() 277 tcf_idr_release(*a, bind); in tcf_ctinfo_init() 282 int bind, int ref) in tcf_ctinfo_dump() argument 288 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, in tcf_ctinfo_dump()
|
D | act_bpf.c | 136 int bind, int ref) in tcf_bpf_dump() argument 143 .bindcnt = atomic_read(&prog->tcf_bindcnt) - bind, in tcf_bpf_dump() 282 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_bpf_init() local 305 ret = tcf_idr_check_alloc(tn, &index, act, bind); in tcf_bpf_init() 308 &act_bpf_ops, bind, true, 0); in tcf_bpf_init() 317 if (bind) in tcf_bpf_init() 321 tcf_idr_release(*act, bind); in tcf_bpf_init() 379 tcf_idr_release(*act, bind); in tcf_bpf_init()
|
D | act_mpls.c | 159 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_mpls_init() local 242 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mpls_init() 246 if (exists && bind) in tcf_mpls_init() 251 &act_mpls_ops, bind, true, 0); in tcf_mpls_init() 259 tcf_idr_release(*a, bind); in tcf_mpls_init() 302 tcf_idr_release(*a, bind); in tcf_mpls_init() 317 int bind, int ref) in tcf_mpls_dump() argument 325 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mpls_dump()
|
D | act_api.c | 141 static int __tcf_action_put(struct tc_action *p, bool bind) in __tcf_action_put() argument 146 if (bind) in __tcf_action_put() 155 if (bind) in __tcf_action_put() 161 static int __tcf_idr_release(struct tc_action *p, bool bind, bool strict) in __tcf_idr_release() argument 178 if (!bind && strict && atomic_read(&p->tcfa_bindcnt) > 0) in __tcf_idr_release() 181 if (__tcf_action_put(p, bind)) in __tcf_idr_release() 188 int tcf_idr_release(struct tc_action *a, bool bind) in tcf_idr_release() argument 193 ret = __tcf_idr_release(a, bind, false); in tcf_idr_release() 470 int bind, bool cpustats, u32 flags) in tcf_idr_create() argument 479 if (bind) in tcf_idr_create() [all …]
|
D | act_police.c | 55 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_police_init() local 84 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_police_init() 88 if (exists && bind) in tcf_police_init() 93 &act_police_ops, bind, true, 0); in tcf_police_init() 101 tcf_idr_release(*a, bind); in tcf_police_init() 238 tcf_idr_release(*a, bind); in tcf_police_init() 335 int bind, int ref) in tcf_police_dump() argument 343 .bindcnt = atomic_read(&police->tcf_bindcnt) - bind, in tcf_police_dump()
|
/Linux-v5.15/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.15/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-v5.15/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.15/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-v5.15/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-v5.15/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
|
/Linux-v5.15/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.15/include/net/ |
D | act_api.h | 172 int bind, bool cpustats, u32 flags); 175 const struct tc_action_ops *ops, int bind, 180 struct tc_action **a, int bind); 181 int tcf_idr_release(struct tc_action *a, bool bind); 186 int tcf_action_destroy(struct tc_action *actions[], int bind); 200 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
|
/Linux-v5.15/Documentation/networking/ |
D | j1939.rst | 184 After the successful creation of the socket, you would normally use the ``bind(2)`` 185 and/or ``connect(2)`` system call to bind the socket to a CAN interface. After 191 In order to send data, a ``bind(2)`` must have been successful. ``bind(2)`` assigns a 196 to ``bind(2)``, ``connect(2)``, ``sendto(2)`` and ``recvfrom(2)``. A ``write(2)`` with size 4 will 230 The ``bind(2)`` system call assigns the local address, i.e. the source address when 231 sending packages. If a PGN during ``bind(2)`` is set, it's used as a RX filter. 244 Both ``write(2)`` and ``send(2)`` will send a packet with local address from ``bind(2)`` and the 258 - ``SO_J1939_PROMISC`` - disable filters set by ``bind(2)`` and ``connect(2)`` 286 | bind() + connect() + | | 346 ``j1939.name`` member and provide it to ``bind(2)``. If the name had claimed an address [all …]
|
/Linux-v5.15/Documentation/fb/ |
D | fbcon.rst | 160 This option causes fbcon to bind immediately to the fbdev device. 207 Echo a value to the bind file that represents the framebuffer console 210 echo 1 > /sys/class/vtconsole/vtcon1/bind - attach framebuffer console to 212 echo 0 > /sys/class/vtconsole/vtcon1/bind - detach framebuffer console from 242 echo 0 > /sys/class/vtconsole/vtcon1/bind 249 echo 1 > /sys/class/vtconsole/vtcon1/bind 254 automatically bind the console, fbcon and the drivers together. Unloading 256 console to bind fbcon. 280 echo 1 > /sys/class/vtconsole/vtcon1/bind 286 echo <ID> > /sys/class/tty/console/bind [all …]
|