/linux-5.10/tools/testing/selftests/media_tests/ ! |
D | media_dev_allocator.sh | 6 echo "Media Device Allocator testing: unbind and bind" 37 echo "Test bind both devices - start" 38 echo "Running bind of $MDEV from $MDRIVER" 39 echo $MDEV > $MDRIVER/bind; 44 echo "Running bind of $ADEV from $ADRIVER" 45 echo $ADEV > $ADRIVER/bind; 50 echo "Test bind both devices - end" 54 echo "Test unbind $MDEV - bind $MDEV - unbind $ADEV - bind $ADEV start" 64 echo "Running bind of $MDEV from $MDRIVER" 65 echo $MDEV > $MDRIVER/bind; [all …]
|
/linux-5.10/tools/testing/selftests/net/ ! |
D | reuseaddr_ports_exhausted.c | 5 * Rules to bind sockets to the same port when all ephemeral ports are 8 * 1. if there are TCP_LISTEN sockets on the port, fail to bind. 9 * 2. if there are sockets without SO_REUSEADDR, fail to bind. 10 * 3. if SO_REUSEADDR is disabled, fail to bind. 12 * succeed to bind. 15 * succeed to bind. 16 * 6. fail to bind. 73 if (bind(fd, (struct sockaddr *)&local_addr, len) == -1) { in bind_port() 92 ASSERT_NE(-1, fd[0]) TH_LOG("failed to bind."); in TEST() 93 EXPECT_EQ(-1, fd[1]) TH_LOG("should fail to bind."); in TEST() [all …]
|
D | fcnal-test.sh | 544 log_test_addr ${a} $? 0 "ping out, device bind" 548 log_test_addr ${a} $? 0 "ping out, address bind" 578 log_test_addr ${a} $? 0 "ping local, device bind" 580 # loopback addresses not reachable from device bind 588 log_test_addr ${a} $? 1 "ping local, device bind" 605 # a viable rtable if the oif (e.g., bind to device) is set, so this 633 # a viable rtable if the oif (e.g., bind to device) is set, so this 654 # a viable rtable if the oif (e.g., bind to device) is set, so this 673 log_test_addr ${a} $? 0 "ping out, VRF bind" 677 log_test_addr ${a} $? 0 "ping out, device bind" [all …]
|
/linux-5.10/include/linux/usb/ ! |
D | composite.h | 121 * @strings: tables of strings, keyed by identifiers assigned during bind() 124 * string identifiers assigned during @bind(). If this pointer is null, 127 * string identifiers assigned during @bind(). If this pointer is null, 130 * string identifiers assigned during @bind(). If this 134 * interface and string identifiers assigned during @bind(). If 143 * @bind: Before the gadget can register, all of its functions bind() to the 146 * @unbind: Reverses @bind; called as a side effect of unregistering the 170 * causes @bind() to be called so resources can be allocated as part of 204 /* REVISIT: bind() functions can be marked __init, which 207 * Related: unbind() may kfree() but bind() won't... [all …]
|
/linux-5.10/include/linux/ ! |
D | component.h | 18 * @bind: 21 * ready to bind the overall driver. 23 int (*bind)(struct device *comp, struct device *master, member 29 * ready to bind the overall driver, or when component_bind_all() fails 54 * @bind: 58 * ready. Usually there are 3 steps to bind an aggregate driver: 62 * 2. Bind all components to the aggregate driver by calling 74 int (*bind)(struct device *master); member
|
/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.
|
/linux-5.10/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 …]
|
/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 147 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_vlan_init() 151 if (exists && bind) in tcf_vlan_init() 161 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() 200 tcf_idr_release(*a, bind); in tcf_vlan_init() 208 tcf_idr_release(*a, bind); in tcf_vlan_init() 217 &act_vlan_ops, bind, flags); in tcf_vlan_init() 225 tcf_idr_release(*a, bind); in tcf_vlan_init() [all …]
|
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, 0); in tcf_skbmod_init() 154 tcf_idr_release(*a, bind); in tcf_skbmod_init() 198 tcf_idr_release(*a, bind); in tcf_skbmod_init() 213 int bind, int ref) in tcf_skbmod_dump() argument 221 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbmod_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_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_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 149 /* Release with strict==1 and bind==0 is only called through act API in __tcf_idr_release() 150 * interface (classifiers always bind). Only case when action with in __tcf_idr_release() 151 * positive reference count and zero bind count can exist is when it was in __tcf_idr_release() 153 * action if it was created by classifier). So only case when bind count in __tcf_idr_release() 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() [all …]
|
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_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_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()
|
/linux-5.10/tools/usb/usbip/doc/ ! |
D | usbipd.8 | 13 .B usbip bind 23 Bind to IPv4. Default is both. 29 Bind to IPv6. Default is both. 84 server:# usbip bind --busid=1-2 85 - Bind usbip-host.ko to the device of busid 1-2.
|
/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, 171 struct tc_action **a, int bind); 172 int __tcf_idr_release(struct tc_action *a, bool bind, bool strict); 174 static inline int tcf_idr_release(struct tc_action *a, bool bind) in tcf_idr_release() argument 176 return __tcf_idr_release(a, bind, false); in tcf_idr_release() 182 int tcf_action_destroy(struct tc_action *actions[], int bind); 186 struct nlattr *est, char *name, int ovr, int bind, 191 char *name, int ovr, int bind, [all …]
|
/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 …]
|
D | af_xdp.rst | 53 The socket is then finally bound with a bind() call to a device and a 54 specific queue id on that device, and it is not until bind is 59 corresponding two rings, sets the XDP_SHARED_UMEM flag in the bind 112 system call. A UMEM is bound to a netdev and queue id, via the bind() 246 XDP_COPY and XDP_ZERO_COPY bind flags 249 When you bind to a socket, the kernel will first try to use zero-copy 253 pass the XDP_COPY flag to the bind call, the kernel will force the 254 socket into copy mode. If it cannot use copy mode, the bind call will 258 XDP_SHARED_UMEM bind flag 261 This flag enables you to bind multiple sockets to the same UMEM. It [all …]
|
/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/filters/ ! |
D | matchall.json | 16 …n": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref 1 bind 1", 37 …tern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref 1 bind 1", 58 …: "^filter parent ffff: protocol ipv6 pref 1 matchall.*handle 0x1.*gact action drop.*ref 1 bind 1", 79 …rn": "^filter parent 1: protocol ipv6 pref 1 matchall.*handle 0x1.*gact action drop.*ref 1 bind 1", 100 …"^filter parent ffff: protocol ip pref 65535 matchall.*handle 0x1.*gact action pass.*ref 1 bind 1", 121 …": "^filter parent 1: protocol ip pref 65535 matchall.*handle 0x1.*gact action pass.*ref 1 bind 1", 142 …^filter parent ffff: protocol ip pref 655355 matchall.*handle 0x1.*gact action pass.*ref 1 bind 1", 163 …: "^filter parent 1: protocol ip pref 655355 matchall.*handle 0x1.*gact action pass.*ref 1 bind 1", 184 … parent ffff: protocol all pref 1 matchall.*handle 0xffffffff.*gact action continue.*ref 1 bind 1", 205 …ter parent 1: protocol all pref 1 matchall.*handle 0xffffffff.*gact action continue.*ref 1 bind 1", [all …]
|
/linux-5.10/tools/usb/usbip/src/ ! |
D | usbip_bind.c | 28 "usbip bind <args>\n" 29 " -b, --busid=<busid> Bind " USBIP_HOST_DRV_NAME ".ko to device " 40 char attr_name[] = "bind"; in bind_usbip() 149 err("bind loop detected: device: %s is attached to %s\n", in bind_device() 166 err("unable to bind device on %s", busid); in bind_device() 172 err("could not bind device to %s", USBIP_HOST_DRV_NAME); in bind_device() 177 info("bind device on busid %s: complete", busid); in bind_device()
|
/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"
|
/linux-5.10/drivers/xen/ ! |
D | evtchn.c | 62 struct mutex bind_mutex; /* serialize bind/unbind operations */ 376 * serialized bind operations.) in evtchn_bind_to_user() 404 /* bind failed, should close the port now */ in evtchn_bind_to_user() 461 /* Prevent bind from racing with unbind */ in evtchn_ioctl() 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() [all …]
|
/linux-5.10/Documentation/filesystems/ ! |
D | sharedsubtree.rst | 57 # mount --bind /mnt /tmp 96 Let's bind mount /mnt to /tmp 97 # mount --bind /mnt /tmp 140 Let's try to bind mount this mount somewhere else:: 142 # mount --bind /mnt /tmp 170 mount --bind /cdrom /cdrom 242 bind, rbind, move, mount, umount and clone-namespace operations. 271 mount --bind /mnt /tmp 322 be bind mounted. 357 5b) Bind semantics [all …]
|