Home
last modified time | relevance | path

Searched full:bind (Results 1 – 25 of 2364) sorted by relevance

12345678910>>...95

/kernel/linux/linux-5.10/tools/testing/selftests/media_tests/
Dmedia_dev_allocator.sh6 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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/media_tests/
Dmedia_dev_allocator.sh6 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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dreuseaddr_ports_exhausted.c5 * 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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
Dreuseaddr_ports_exhausted.c5 * 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 …]
Dfcnal-test.sh587 log_test_addr ${a} $? 0 "ping out, device bind"
591 log_test_addr ${a} $? 0 "ping out, address bind"
635 log_test_addr ${a} $? 0 "ping local, device bind"
637 # loopback addresses not reachable from device bind
645 log_test_addr ${a} $? 1 "ping local, device bind"
662 # a viable rtable if the oif (e.g., bind to device) is set, so this
690 # a viable rtable if the oif (e.g., bind to device) is set, so this
711 # a viable rtable if the oif (e.g., bind to device) is set, so this
730 log_test_addr ${a} $? 0 "ping out, VRF bind"
734 log_test_addr ${a} $? 0 "ping out, device bind"
[all …]
/kernel/linux/linux-6.6/tools/usb/usbip/doc/
Dusbipd.813 .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.
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
Di915_vma_resource.h37 * 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 …]
/kernel/linux/linux-6.6/include/linux/usb/
Dcomposite.h108 * @strings: tables of strings, keyed by identifiers assigned during bind()
111 * string identifiers assigned during @bind(). If this pointer is null,
114 * string identifiers assigned during @bind(). If this pointer is null,
117 * string identifiers assigned during @bind(). If this
121 * interface and string identifiers assigned during @bind(). If
130 * @bind: Before the gadget can register, all of its functions bind() to the
133 * @unbind: Reverses @bind; called as a side effect of unregistering the
160 * causes @bind() to be called so resources can be allocated as part of
194 /* REVISIT: bind() functions can be marked __init, which
197 * Related: unbind() may kfree() but bind() won't...
[all …]
/kernel/linux/linux-5.10/include/linux/usb/
Dcomposite.h121 * @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 …]
/kernel/linux/build/test/kernel_ltp/syscalls/bind/
DBUILD.gn19 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/include/linux/
Dcomponent.h18 * @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
/kernel/linux/linux-6.6/include/linux/
Dcomponent.h18 * @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
/kernel/linux/linux-6.6/drivers/xen/
Devtchn.c62 struct mutex bind_mutex; /* serialize bind/unbind operations */
386 * serialized bind operations.) in evtchn_bind_to_user()
414 /* bind failed, should close the port now */ in evtchn_bind_to_user()
442 /* Prevent bind from racing with unbind */ in evtchn_ioctl()
447 struct ioctl_evtchn_bind_virq bind; in evtchn_ioctl() local
455 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
458 bind_virq.virq = bind.virq; in evtchn_ioctl()
472 struct ioctl_evtchn_bind_interdomain bind; in evtchn_ioctl() local
476 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl()
481 u->restrict_domid != bind.remote_domain) in evtchn_ioctl()
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/
Dconsole.rst25 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-6.6/Documentation/driver-api/
Dconsole.rst25 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-6.6/net/sched/
Dact_vlan.c122 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_vlan_init() local
149 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_vlan_init()
153 if (exists && bind) in tcf_vlan_init()
163 tcf_idr_release(*a, bind); in tcf_vlan_init()
171 tcf_idr_release(*a, bind); in tcf_vlan_init()
185 tcf_idr_release(*a, bind); in tcf_vlan_init()
203 tcf_idr_release(*a, bind); in tcf_vlan_init()
211 tcf_idr_release(*a, bind); in tcf_vlan_init()
220 &act_vlan_ops, bind, flags); in tcf_vlan_init()
228 tcf_idr_release(*a, bind); in tcf_vlan_init()
[all …]
/kernel/linux/linux-5.10/net/sched/
Dact_ipt.c97 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 …]
Dact_vlan.c117 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 …]
/kernel/linux/linux-5.10/Documentation/fb/
Dfbcon.rst160 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 …]
/kernel/linux/linux-6.6/Documentation/fb/
Dfbcon.rst160 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 …]
/kernel/linux/linux-5.10/tools/usb/usbip/doc/
Dusbipd.813 .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.
/kernel/linux/linux-5.10/Documentation/networking/
Dj1939.rst146 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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/filters/
Dmatchall.json16 …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 …]
/kernel/linux/linux-6.6/tools/lib/bpf/
Delf.c218 /* Only accept one non-weak bind. */ in elf_find_func_offset()
224 /* already have a non-weak bind, and in elf_find_func_offset()
225 * this is a weak bind, so ignore. in elf_find_func_offset()
273 int bind; member
330 int bind = GELF_ST_BIND(sym->sym.st_info); in elf_resolve_syms_offsets() local
346 if (found->bind != STB_WEAK && bind != STB_WEAK) { in elf_resolve_syms_offsets()
347 /* Only accept one non-weak bind. */ in elf_resolve_syms_offsets()
352 } else if (bind == STB_WEAK) { in elf_resolve_syms_offsets()
353 /* already have a non-weak bind, and in elf_resolve_syms_offsets()
354 * this is a weak bind, so ignore. in elf_resolve_syms_offsets()
[all …]
/kernel/linux/linux-5.10/tools/usb/usbip/src/
Dusbip_bind.c28 "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()

12345678910>>...95