/linux/tools/testing/selftests/media_tests/ |
H A 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/drivers/gpu/drm/xe/ |
H A D | xe_migrate_doc.h | 28 * user bind operations. 32 * Bind jobs 35 * A bind job consist of two batches and runs either on the migrate engine 36 * (kernel binds) or the bind engine passed in (user binds). In both cases the 40 * the bind VM page table BOs which need to be updated. A physical page is 41 * required for this. If it is a user bind, the page is allocated from pool of 42 * pages reserved user bind operations with drm_suballoc managing this pool. If 43 * it is a kernel bind, the page reserved for kernel binds is used. 46 * has VRAM the bind VM page table BOs are in VRAM and the identity mapping can 49 * The second batch is used to program page table updated in the bind VM. Why [all …]
|
H A D | xe_vm_doc.h | 16 * bind engine, and return a handle to the user. 25 * VM bind (create GPU mapping for a BO or userptr) 42 * All bind operations are implemented via a hybrid approach of using the CPU 56 * bind BO0 0x0-0x1000 62 * bind BO1 0x201000-0x202000 66 * bind BO2 0x1ff000-0x201000 74 * bind can be done immediately (all in-fences satisfied, VM dma-resv kernel 97 * In both modes during the bind IOCTL the user input is validated. In sync 118 * XE_VM_BIND_OP_RESTART operation. When VM async bind work is restarted, the 121 * Bind queues / engines [all …]
|
/linux/tools/testing/selftests/net/ |
H A 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 …]
|
H A D | fcnal-test.sh | 597 log_test_addr ${a} $? 0 "ping out, device bind" 601 log_test_addr ${a} $? 0 "ping out, address bind" 645 log_test_addr ${a} $? 0 "ping local, device bind" 647 # loopback addresses not reachable from device bind 655 log_test_addr ${a} $? 1 "ping local, device bind" 672 # a viable rtable if the oif (e.g., bind to device) is set, so this 700 # a viable rtable if the oif (e.g., bind to device) is set, so this 721 # a viable rtable if the oif (e.g., bind to device) is set, so this 740 log_test_addr ${a} $? 0 "ping out, VRF bind" 744 log_test_addr ${a} $? 0 "ping out, device bind" [all …]
|
H A D | sctp_vrf.sh | 135 echo -n "TEST 05: bind veth2 in server, connect from client 1, N " 139 echo -n "TEST 06: bind veth1 in server, connect from client 1, Y " 143 echo -n "TEST 07: bind vrf-1 in server, connect from client 1, Y " 147 echo -n "TEST 08: bind vrf-2 in server, connect from client 1, N " 151 echo -n "TEST 09: bind vrf-2 in server, connect from client 2, Y " 155 echo -n "TEST 10: bind vrf-1 in server, connect from client 2, N " 159 echo -n "TEST 11: bind vrf-1 & 2 in server, connect from client 1 & 2, Y " 163 echo -n "TEST 12: bind vrf-2 & 1 in server, connect from client 1 & 2, N "
|
/linux/include/linux/usb/ |
H A D | composite.h | 116 * @strings: tables of strings, keyed by identifiers assigned during bind() 119 * string identifiers assigned during @bind(). If this pointer is null, 122 * string identifiers assigned during @bind(). If this pointer is null, 125 * string identifiers assigned during @bind(). If this 129 * interface and string identifiers assigned during @bind(). If 138 * @bind: Before the gadget can register, all of its functions bind() to the 141 * @unbind: Reverses @bind; called as a side effect of unregistering the 168 * causes @bind() to be called so resources can be allocated as part of 202 /* REVISIT: bind() functions can be marked __init, which 205 * Related: unbind() may kfree() but bind() won't... [all …]
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_vma_resource.h | 37 * struct i915_vma_bindinfo - Information needed for async bind 38 * only but that can be dropped after the bind has taken place. 76 * @private: Bind backend private info. 77 * @start: Offset into the address space of bind range start. Note that 81 * @vma_size: Bind size. 82 * @guard: The size of guard area preceding and trailing the bind. 83 * @page_sizes_gtt: Resulting page sizes from the bind operation. 113 * @bi: Information needed for async bind only but that can be dropped 114 * after the bind has taken place. 190 * @private: Bind backend private info. [all …]
|
/linux/tools/usb/usbip/doc/ |
H A D | usbipd.8 | 13 .B usbip bind 23 Bind to IPv4. Default is both. 29 Bind to IPv6. Default is both. 35 Run in device mode. Rather than drive an attached device, create a virtual UDC to bind gadgets to. 90 server:# usbip bind --busid=1-2 91 - Bind usbip-host.ko to the device of busid 1-2. 105 - Bind a gadget to usbip-vudc.
|
/linux/Documentation/gpu/ |
H A D | drm-vm-bind-async.rst | 28 signals these when the bind operation is complete. 56 * ``bind context``: A context identifier used for the VM_BIND 57 operation. VM_BIND operations that use the same bind context can be 59 assumptions can be made for VM_BIND operations using separate bind contexts. 95 out-syncobjs and internally in KMD to signal bind completion, any 103 exec functions. For long-running workloads, such pipelining of a bind 138 the kernel mode driver to inject other operations into the bind / 141 the bind completion using the memory out-fence as the signal condition 160 bind operation, due to an error return, no additional action is needed 166 In the case an unexpected error happens during the asynchronous bind [all …]
|
/linux/Documentation/fb/ |
H A 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/net/sched/ |
H A D | act_vlan.c | 123 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_vlan_init() local 150 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_vlan_init() 154 if (exists && bind) in tcf_vlan_init() 164 tcf_idr_release(*a, bind); in tcf_vlan_init() 172 tcf_idr_release(*a, bind); in tcf_vlan_init() 186 tcf_idr_release(*a, bind); in tcf_vlan_init() 204 tcf_idr_release(*a, bind); in tcf_vlan_init() 212 tcf_idr_release(*a, bind); in tcf_vlan_init() 221 &act_vlan_ops, bind, flags); in tcf_vlan_init() 229 tcf_idr_release(*a, bind); in tcf_vlan_init() [all …]
|
H A 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()
|
H A 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() 225 int bind, int ref) in tcf_sample_dump() argument 232 .bindcnt = atomic_read(&s->tcf_bindcnt) - bind, in tcf_sample_dump() 297 u32 *index_inc, bool bind, in tcf_sample_offload_act_setup() argument 300 if (bind) { in tcf_sample_offload_act_setup()
|
H A 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()
|
H A 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 250 opt.bindcnt = atomic_read(&d->tcf_bindcnt) - bind; in tcf_skbmod_dump()
|
/linux/include/linux/ |
H A 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/Documentation/driver-api/ |
H A 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/tools/testing/selftests/landlock/ |
H A D | net_test.c | 193 ret = bind(sock_fd, &srv->ipv4_addr, addrlen); in bind_variant_addrlen() 197 ret = bind(sock_fd, &srv->ipv6_addr, addrlen); in bind_variant_addrlen() 201 ret = bind(sock_fd, &srv->unix_addr, addrlen); in bind_variant_addrlen() 420 /* Starts invalid addrlen tests with bind. */ in test_bind_and_connect() 427 /* Tries to bind with zero as addrlen. */ in test_bind_and_connect() 430 /* Tries to bind with too small addrlen. */ in test_bind_and_connect() 434 /* Tries to bind with minimal addrlen. */ in test_bind_and_connect() 441 TH_LOG("Failed to bind to socket: %s", strerror(errno)); in test_bind_and_connect() 541 TEST_F(protocol, bind) in TEST_F() argument 563 /* Allows connect and bind for the first port. */ in TEST_F() [all …]
|
/linux/tools/testing/selftests/tc-testing/tc-tests/filters/ |
H A D | matchall.json | 18 …n": "^filter parent ffff: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref 1 bind 1", 40 …tern": "^filter parent 1: protocol ip pref 1 matchall.*handle 0x1.*gact action pass.*ref 1 bind 1", 62 …: "^filter parent ffff: protocol ipv6 pref 1 matchall.*handle 0x1.*gact action drop.*ref 1 bind 1", 84 …rn": "^filter parent 1: protocol ipv6 pref 1 matchall.*handle 0x1.*gact action drop.*ref 1 bind 1", 106 …"^filter parent ffff: protocol ip pref 65535 matchall.*handle 0x1.*gact action pass.*ref 1 bind 1", 128 …": "^filter parent 1: protocol ip pref 65535 matchall.*handle 0x1.*gact action pass.*ref 1 bind 1", 150 …^filter parent ffff: protocol ip pref 655355 matchall.*handle 0x1.*gact action pass.*ref 1 bind 1", 172 …: "^filter parent 1: protocol ip pref 655355 matchall.*handle 0x1.*gact action pass.*ref 1 bind 1", 194 … parent ffff: protocol all pref 1 matchall.*handle 0xffffffff.*gact action continue.*ref 1 bind 1", 216 …ter parent 1: protocol all pref 1 matchall.*handle 0xffffffff.*gact action continue.*ref 1 bind 1", [all …]
|
/linux/Documentation/filesystems/ |
H A 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 171 mount --bind /cdrom /cdrom 243 bind, rbind, move, mount, umount and clone-namespace operations. 272 mount --bind /mnt /tmp 323 be bind mounted. 358 5b) Bind semantics [all …]
|
/linux/tools/usb/usbip/src/ |
H A 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/Documentation/scsi/ |
H A 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/drivers/infiniband/sw/rxe/ |
H A D | rxe_mw.c | 56 "attempt to bind a type 1 MW not in the valid state\n"); in rxe_check_bind_mw() 62 rxe_dbg_mw(mw, "attempt to bind a zero based type 1 MW\n"); in rxe_check_bind_mw() 71 "attempt to bind a type 2 MW not in the free state\n"); in rxe_check_bind_mw() 78 "attempt to bind type 2 MW with qp with different PD\n"); in rxe_check_bind_mw() 95 rxe_dbg_mw(mw, "attempt to bind MW to zero based MR\n"); in rxe_check_bind_mw() 102 "attempt to bind an MW to an MR without bind access\n"); in rxe_check_bind_mw() 111 "attempt to bind an Writable MW to an MR without local write access\n"); in rxe_check_bind_mw() 119 "attempt to bind a ZB MW outside of the MR\n"); in rxe_check_bind_mw() 127 "attempt to bind a VA MW outside of the MR\n"); in rxe_check_bind_mw()
|
/linux/Documentation/networking/ |
H A 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 …]
|