| /kernel/linux/build/test/kernel_ltp/syscalls/bind/ |
| D | BUILD.gn | 19 sources = [ "//third_party/ltp/testcases/kernel/syscalls/bind/bind01.c" ] 24 sources = [ "//third_party/ltp/testcases/kernel/syscalls/bind/bind02.c" ] 29 sources = [ "//third_party/ltp/testcases/kernel/syscalls/bind/bind03.c" ] 34 sources = [ "//third_party/ltp/testcases/kernel/syscalls/bind/bind04.c" ] 39 sources = [ "//third_party/ltp/testcases/kernel/syscalls/bind/bind05.c" ] 44 sources = [ "//third_party/ltp/testcases/kernel/syscalls/bind/bind06.c" ]
|
| /kernel/linux/linux-5.10/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() 199 tcf_idr_release(*a, bind); in __tcf_ipt_init() 205 int bind, bool rtnl_held, struct tcf_proto *tp, in tcf_ipt_init() argument [all …]
|
| D | act_vlan.c | 117 int ovr, int bind, bool rtnl_held, in tcf_vlan_init() argument 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_simple.c | 88 int ovr, int bind, bool rtnl_held, in tcf_simp_init() argument 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_connmark.c | 99 int ovr, int bind, bool rtnl_held, in tcf_connmark_init() argument 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_skbmod.c | 85 int ovr, int bind, bool rtnl_held, in tcf_skbmod_init() argument 133 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbmod_init() 137 if (exists && bind) in tcf_skbmod_init() 142 tcf_idr_release(*a, bind); in tcf_skbmod_init() 150 &act_skbmod_ops, bind, true, 0); in tcf_skbmod_init() 158 tcf_idr_release(*a, bind); in tcf_skbmod_init() 202 tcf_idr_release(*a, bind); in tcf_skbmod_init() 217 int bind, int ref) in tcf_skbmod_dump() argument 225 .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 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_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, 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 | 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, 0); in tcf_sample_init() 79 tcf_idr_release(*a, bind); in tcf_sample_init() 124 tcf_idr_release(*a, bind); in tcf_sample_init() 198 int bind, int ref) in tcf_sample_dump() argument 205 .bindcnt = atomic_read(&s->tcf_bindcnt) - bind, in tcf_sample_dump()
|
| D | act_skbedit.c | 99 int ovr, int bind, bool rtnl_held, in tcf_skbedit_init() argument 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_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 static 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() 172 int tcf_idr_release(struct tc_action *a, bool bind) in tcf_idr_release() argument 177 ret = __tcf_idr_release(a, bind, false); in tcf_idr_release() 428 int bind, bool cpustats, u32 flags) in tcf_idr_create() argument 437 if (bind) in tcf_idr_create() [all …]
|
| D | act_mirred.c | 95 int ovr, int bind, bool rtnl_held, in tcf_mirred_init() argument 124 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mirred_init() 128 if (exists && bind) in tcf_mirred_init() 139 tcf_idr_release(*a, bind); in tcf_mirred_init() 153 &act_mirred_ops, bind, flags); in tcf_mirred_init() 160 tcf_idr_release(*a, bind); in tcf_mirred_init() 205 tcf_idr_release(*a, bind); in tcf_mirred_init() 331 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() argument 339 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mirred_dump()
|
| D | act_ctinfo.c | 157 int ovr, int bind, bool rtnl_held, in tcf_ctinfo_init() argument 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_mpls.c | 161 int ovr, int bind, bool rtnl_held, in tcf_mpls_init() argument 248 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mpls_init() 252 if (exists && bind) in tcf_mpls_init() 257 &act_mpls_ops, bind, true, 0); in tcf_mpls_init() 265 tcf_idr_release(*a, bind); in tcf_mpls_init() 308 tcf_idr_release(*a, bind); in tcf_mpls_init() 323 int bind, int ref) in tcf_mpls_dump() argument 331 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mpls_dump()
|
| D | act_bpf.c | 138 int bind, int ref) in tcf_bpf_dump() argument 145 .bindcnt = atomic_read(&prog->tcf_bindcnt) - bind, in tcf_bpf_dump() 280 int replace, int bind, bool rtnl_held, in tcf_bpf_init() argument 307 ret = tcf_idr_check_alloc(tn, &index, act, bind); in tcf_bpf_init() 310 &act_bpf_ops, bind, true, 0); in tcf_bpf_init() 319 if (bind) in tcf_bpf_init() 323 tcf_idr_release(*act, bind); in tcf_bpf_init() 381 tcf_idr_release(*act, bind); in tcf_bpf_init()
|
| 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, 0); in tcf_police_init() 98 tcf_idr_release(*a, bind); in tcf_police_init() 212 tcf_idr_release(*a, bind); in tcf_police_init() 314 int bind, int ref) in tcf_police_dump() argument 322 .bindcnt = atomic_read(&police->tcf_bindcnt) - bind, in tcf_police_dump()
|
| /kernel/linux/linux-5.10/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;
|
| /kernel/linux/linux-5.10/include/net/ |
| D | act_api.h | 103 int bind, bool rtnl_held, struct tcf_proto *tp, 164 int bind, bool cpustats, u32 flags); 167 const struct tc_action_ops *ops, int bind, 172 struct tc_action **a, int bind); 173 int tcf_idr_release(struct tc_action *a, bool bind); 178 int tcf_action_destroy(struct tc_action *actions[], int bind); 182 struct nlattr *est, char *name, int ovr, int bind, 190 char *name, int ovr, int bind, 194 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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;
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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"
|
| /kernel/linux/linux-5.10/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
|
| /kernel/linux/linux-5.10/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.
|
| /kernel/linux/linux-5.10/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 the 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 …]
|