/linux/drivers/xen/ |
H A D | evtchn.c | 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() 484 bind_interdomain.remote_dom = bind.remote_domain; in evtchn_ioctl() 485 bind_interdomain.remote_port = bind.remote_port; in evtchn_ioctl() 498 struct ioctl_evtchn_bind_unbound_port bind; in evtchn_ioctl() local 506 if (copy_from_user(&bind, uarg, sizeof(bind))) in evtchn_ioctl() [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_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_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_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()
|
H A D | act_connmark.c | 106 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_connmark_init() local 130 ret = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_connmark_init() 133 &act_connmark_ops, bind, flags); in tcf_connmark_init() 148 if (bind) { in tcf_connmark_init() 184 tcf_idr_release(*a, bind); in tcf_connmark_init() 191 int bind, int ref) in tcf_connmark_dump() argument 198 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, in tcf_connmark_dump()
|
H A D | act_skbedit.c | 123 bool bind = act_flags & TCA_ACT_FLAGS_BIND; in tcf_skbedit_init() local 207 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbedit_init() 211 if (exists && bind) in tcf_skbedit_init() 216 tcf_idr_release(*a, bind); in tcf_skbedit_init() 224 &act_skbedit_ops, bind, true, act_flags); in tcf_skbedit_init() 235 tcf_idr_release(*a, bind); in tcf_skbedit_init() 280 tcf_idr_release(*a, bind); in tcf_skbedit_init() 285 int bind, int ref) in tcf_skbedit_dump() argument 293 .bindcnt = atomic_read(&d->tcf_bindcnt) - bind, in tcf_skbedit_dump() 369 u32 *index_inc, bool bind, in tcf_skbedit_offload_act_setup() argument [all …]
|
H A D | act_nat.c | 40 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 bind, flags); in tcf_nat_init() 71 if (bind) in tcf_nat_init() 74 tcf_idr_release(*a, bind); in tcf_nat_init() 110 tcf_idr_release(*a, bind); in tcf_nat_init() 268 int bind, int ref) in tcf_nat_dump() argument 275 .bindcnt = atomic_read(&p->tcf_bindcnt) - bind, in tcf_nat_dump()
|
H A D | act_mirred.c | 109 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_mirred_init() local 133 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_mirred_init() 137 if (exists && bind) in tcf_mirred_init() 144 tcf_idr_release(*a, bind); in tcf_mirred_init() 159 tcf_idr_release(*a, bind); in tcf_mirred_init() 174 &act_mirred_ops, bind, flags); in tcf_mirred_init() 181 tcf_idr_release(*a, bind); in tcf_mirred_init() 231 tcf_idr_release(*a, bind); in tcf_mirred_init() 472 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() argument 480 .bindcnt = atomic_read(&m->tcf_bindcnt) - bind, in tcf_mirred_dump() [all …]
|
H A D | act_bpf.c | 139 int bind, int ref) in tcf_bpf_dump() argument 146 .bindcnt = atomic_read(&prog->tcf_bindcnt) - bind, in tcf_bpf_dump() 285 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_bpf_init() local 308 ret = tcf_idr_check_alloc(tn, &index, act, bind); in tcf_bpf_init() 311 &act_bpf_ops, bind, true, flags); in tcf_bpf_init() 320 if (bind) in tcf_bpf_init() 324 tcf_idr_release(*act, bind); in tcf_bpf_init() 382 tcf_idr_release(*act, bind); in tcf_bpf_init()
|
H A D | act_csum.c | 49 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_csum_init() local 70 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_csum_init() 73 &act_csum_ops, bind, flags); in tcf_csum_init() 80 if (bind) /* dont override defaults */ in tcf_csum_init() 83 tcf_idr_release(*a, bind); in tcf_csum_init() 119 tcf_idr_release(*a, bind); in tcf_csum_init() 631 static int tcf_csum_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_csum_dump() argument 640 .bindcnt = atomic_read(&p->tcf_bindcnt) - bind, in tcf_csum_dump() 682 u32 *index_inc, bool bind, in tcf_csum_offload_act_setup() argument 685 if (bind) { in tcf_csum_offload_act_setup()
|
H A D | act_pedit.c | 162 bool bind = flags & TCA_ACT_FLAGS_BIND; in tcf_pedit_init() local 194 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_pedit_init() 197 &act_pedit_ops, bind, flags); in tcf_pedit_init() 204 if (bind) in tcf_pedit_init() 306 tcf_idr_release(*a, bind); in tcf_pedit_init() 500 int bind, int ref) in tcf_pedit_dump() argument 526 opt->bindcnt = atomic_read(&p->tcf_bindcnt) - bind; in tcf_pedit_dump() 556 u32 *index_inc, bool bind, in tcf_pedit_offload_act_setup() argument 559 if (bind) { in tcf_pedit_offload_act_setup()
|
/linux/tools/testing/selftests/media_tests/ |
H A 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/arch/x86/events/intel/ |
H A 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/tools/testing/selftests/drivers/usb/usbip/ |
H A 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/tools/testing/selftests/landlock/ |
H A D | scoped_abstract_unix_test.c | 146 ASSERT_EQ(0, bind(stream_server, &self->stream_address.unix_addr, in TEST_F() 148 ASSERT_EQ(0, bind(dgram_server, &self->dgram_address.unix_addr, in TEST_F() 212 bind(stream_server, &self->stream_address.unix_addr, in TEST_F() 214 ASSERT_EQ(0, bind(dgram_server, &self->dgram_address.unix_addr, in TEST_F() 425 ASSERT_EQ(0, bind(stream_server_child, in TEST_F() 428 ASSERT_EQ(0, bind(dgram_server_child, in TEST_F() 451 ASSERT_EQ(0, bind(stream_server_parent, in TEST_F() 454 ASSERT_EQ(0, bind(dgram_server_parent, in TEST_F() 558 ASSERT_EQ(0, bind(stream_server, in TEST_F() 608 ASSERT_EQ(0, bind(server_socket, &self->address.unix_addr, in TEST_F() [all …]
|
/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/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/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 …]
|
H A D | implementation_guidelines.rst | 9 drm-vm-bind-async 10 drm-vm-bind-locking
|
/linux/Documentation/ABI/testing/ |
H A 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
|
H A D | sysfs-bus-vdpa | 23 What: /sys/bus/vdpa/drivers/.../bind 28 attempt to bind to the device. This is useful for overriding 45 written to driver_override will have an opportunity to bind to 54 not bind to any driver. This also allows devices to opt-out of
|
/linux/tools/lib/bpf/ |
H A D | elf.c | 391 int bind; member 449 int bind = GELF_ST_BIND(sym->sym.st_info); in elf_resolve_syms_offsets() local 465 if (found->bind != STB_WEAK && bind != STB_WEAK) { in elf_resolve_syms_offsets() 471 } else if (bind == STB_WEAK) { in elf_resolve_syms_offsets() 481 found->bind = bind; in elf_resolve_syms_offsets()
|
/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 …]
|