Home
last modified time | relevance | path

Searched refs:other (Results 1 - 25 of 383) sorted by relevance

12345678910>>...16

/kernel/linux/linux-6.6/tools/perf/pmu-events/
H A Dmetric.py25 def Equals(self, other) -> bool:
35 def __or__(self, other: Union[int, float, 'Expression']) -> 'Operator':
36 return Operator('|', self, other)
38 def __ror__(self, other: Union[int, float, 'Expression']) -> 'Operator':
39 return Operator('|', other, self)
41 def __xor__(self, other: Union[int, float, 'Expression']) -> 'Operator':
42 return Operator('^', self, other)
44 def __and__(self, other: Union[int, float, 'Expression']) -> 'Operator':
45 return Operator('&', self, other)
47 def __rand__(self, other
[all...]
/kernel/linux/linux-5.10/net/unix/
H A Daf_unix.c52 * other the moment one end closes.
378 static int unix_dgram_peer_wake_connect(struct sock *sk, struct sock *other) in unix_dgram_peer_wake_connect() argument
384 u_other = unix_sk(other); in unix_dgram_peer_wake_connect()
389 u->peer_wake.private = other; in unix_dgram_peer_wake_connect()
400 struct sock *other) in unix_dgram_peer_wake_disconnect()
405 u_other = unix_sk(other); in unix_dgram_peer_wake_disconnect()
408 if (u->peer_wake.private == other) { in unix_dgram_peer_wake_disconnect()
417 struct sock *other) in unix_dgram_peer_wake_disconnect_wakeup()
419 unix_dgram_peer_wake_disconnect(sk, other); in unix_dgram_peer_wake_disconnect_wakeup()
427 * - unix_peer(sk) == other
399 unix_dgram_peer_wake_disconnect(struct sock *sk, struct sock *other) unix_dgram_peer_wake_disconnect() argument
416 unix_dgram_peer_wake_disconnect_wakeup(struct sock *sk, struct sock *other) unix_dgram_peer_wake_disconnect_wakeup() argument
430 unix_dgram_peer_wake_me(struct sock *sk, struct sock *other) unix_dgram_peer_wake_me() argument
475 unix_dgram_disconnected(struct sock *sk, struct sock *other) unix_dgram_disconnected() argument
1152 struct sock *other; unix_dgram_connect() local
1256 struct sock *other = NULL; unix_stream_connect() local
1607 unix_passcred_enabled(const struct socket *sock, const struct sock *other) unix_passcred_enabled() argument
1620 maybe_add_creds(struct sk_buff *skb, const struct socket *sock, const struct sock *other) maybe_add_creds() argument
1631 maybe_init_creds(struct scm_cookie *scm, struct socket *socket, const struct sock *other) maybe_init_creds() argument
1689 struct sock *other = NULL; unix_dgram_sendmsg() local
1894 struct sock *other = NULL; unix_stream_sendmsg() local
1997 struct sock *other, *sk = socket->sk; unix_stream_sendpage() local
2569 struct sock *other; unix_shutdown() local
2753 struct sock *sk = sock->sk, *other; unix_dgram_poll() local
[all...]
/kernel/linux/linux-6.6/net/unix/
H A Daf_unix.c52 * other the moment one end closes.
462 static int unix_dgram_peer_wake_connect(struct sock *sk, struct sock *other) in unix_dgram_peer_wake_connect() argument
468 u_other = unix_sk(other); in unix_dgram_peer_wake_connect()
473 u->peer_wake.private = other; in unix_dgram_peer_wake_connect()
484 struct sock *other) in unix_dgram_peer_wake_disconnect()
489 u_other = unix_sk(other); in unix_dgram_peer_wake_disconnect()
492 if (u->peer_wake.private == other) { in unix_dgram_peer_wake_disconnect()
501 struct sock *other) in unix_dgram_peer_wake_disconnect_wakeup()
503 unix_dgram_peer_wake_disconnect(sk, other); in unix_dgram_peer_wake_disconnect_wakeup()
511 * - unix_peer(sk) == other
483 unix_dgram_peer_wake_disconnect(struct sock *sk, struct sock *other) unix_dgram_peer_wake_disconnect() argument
500 unix_dgram_peer_wake_disconnect_wakeup(struct sock *sk, struct sock *other) unix_dgram_peer_wake_disconnect_wakeup() argument
514 unix_dgram_peer_wake_me(struct sock *sk, struct sock *other) unix_dgram_peer_wake_me() argument
559 unix_dgram_disconnected(struct sock *sk, struct sock *other) unix_dgram_disconnected() argument
1368 struct sock *other; unix_dgram_connect() local
1477 struct sock *sk = sock->sk, *newsk = NULL, *other = NULL; unix_stream_connect() local
1838 unix_passcred_enabled(const struct socket *sock, const struct sock *other) unix_passcred_enabled() argument
1853 maybe_add_creds(struct sk_buff *skb, const struct socket *sock, const struct sock *other) maybe_add_creds() argument
1899 struct sock *sk = sock->sk, *other = NULL; unix_dgram_sendmsg() local
2113 queue_oob(struct socket *sock, struct msghdr *msg, struct sock *other, struct scm_cookie *scm, bool fds_sent) queue_oob() argument
2169 struct sock *other = NULL; unix_stream_sendmsg() local
2904 struct sock *other; unix_shutdown() local
3110 struct sock *sk = sock->sk, *other; unix_dgram_poll() local
[all...]
/kernel/linux/linux-6.6/drivers/pinctrl/aspeed/
H A Dpinmux-aspeed.h10 * The ASPEED SoCs provide typically more than 200 pins for GPIO and other
130 * interest will stomp on the state of other UART signals when disabling the
141 * should be treated like any other signal type with full function expression
666 * @other: Macro name for "other" functionality (subjected to stringification)
675 #define PIN_DECL_1(pin, other, sig) \
676 SIG_EXPR_LIST_DECL_SESG(pin, other, other); \
678 SIG_EXPR_LIST_PTR(pin, other))
684 * @other
[all...]
/kernel/linux/linux-5.10/drivers/pinctrl/aspeed/
H A Dpinmux-aspeed.h11 * The ASPEED SoCs provide typically more than 200 pins for GPIO and other
131 * interest will stomp on the state of other UART signals when disabling the
142 * should be treated like any other signal type with full function expression
667 * @other: Macro name for "other" functionality (subjected to stringification)
676 #define PIN_DECL_1(pin, other, sig) \
677 SIG_EXPR_LIST_DECL_SESG(pin, other, other); \
679 SIG_EXPR_LIST_PTR(pin, other))
685 * @other
[all...]
/kernel/linux/linux-6.6/tools/testing/kunit/
H A Dkunit_config.py37 def __eq__(self, other: Any) -> bool:
38 if not isinstance(other, self.__class__):
40 return self._entries == other._entries
52 def is_subset_of(self, other: 'Kconfig') -> bool:
54 b = other._entries.get(name)
63 def conflicting_options(self, other: 'Kconfig') -> List[Tuple[KconfigEntry, KconfigEntry]]:
66 b = other._entries.get(name)
72 def merge_in_entries(self, other: 'Kconfig') -> None:
73 for name, value in other._entries.items():
/kernel/linux/linux-5.10/tools/lib/perf/
H A Dcpumap.c295 * other has its reference count increased.
299 struct perf_cpu_map *other) in perf_cpu_map__merge()
306 if (!orig && !other) in perf_cpu_map__merge()
309 perf_cpu_map__get(other); in perf_cpu_map__merge()
310 return other; in perf_cpu_map__merge()
312 if (!other) in perf_cpu_map__merge()
314 if (orig->nr == other->nr && in perf_cpu_map__merge()
315 !memcmp(orig->map, other->map, orig->nr * sizeof(int))) in perf_cpu_map__merge()
318 tmp_len = orig->nr + other->nr; in perf_cpu_map__merge()
325 while (i < orig->nr && j < other in perf_cpu_map__merge()
298 perf_cpu_map__merge(struct perf_cpu_map *orig, struct perf_cpu_map *other) perf_cpu_map__merge() argument
[all...]
/kernel/linux/linux-6.6/tools/lib/perf/
H A Dcpumap.c401 * other has its reference count increased.
405 struct perf_cpu_map *other) in perf_cpu_map__merge()
412 if (perf_cpu_map__is_subset(orig, other)) in perf_cpu_map__merge()
414 if (perf_cpu_map__is_subset(other, orig)) { in perf_cpu_map__merge()
416 return perf_cpu_map__get(other); in perf_cpu_map__merge()
419 tmp_len = __perf_cpu_map__nr(orig) + __perf_cpu_map__nr(other); in perf_cpu_map__merge()
426 while (i < __perf_cpu_map__nr(orig) && j < __perf_cpu_map__nr(other)) { in perf_cpu_map__merge()
427 if (__perf_cpu_map__cpu(orig, i).cpu <= __perf_cpu_map__cpu(other, j).cpu) { in perf_cpu_map__merge()
428 if (__perf_cpu_map__cpu(orig, i).cpu == __perf_cpu_map__cpu(other, j).cpu) in perf_cpu_map__merge()
432 tmp_cpus[k++] = __perf_cpu_map__cpu(other, in perf_cpu_map__merge()
404 perf_cpu_map__merge(struct perf_cpu_map *orig, struct perf_cpu_map *other) perf_cpu_map__merge() argument
448 perf_cpu_map__intersect(struct perf_cpu_map *orig, struct perf_cpu_map *other) perf_cpu_map__intersect() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dthread-maps-share.c17 /* other process */ in test__thread_maps_share()
18 struct thread *other, *other_leader; in test__thread_maps_share() local
27 * other group (pid: 4, tids: 4, 5) in test__thread_maps_share()
40 other = machine__findnew_thread(machine, 4, 5); in test__thread_maps_share()
43 leader && t1 && t2 && t3 && other); in test__thread_maps_share()
54 * Verify the other leader was created by previous call. in test__thread_maps_share()
59 TEST_ASSERT_VAL("failed to find other leader", other_leader); in test__thread_maps_share()
70 machine__remove_thread(machine, other); in test__thread_maps_share()
73 other_maps = other->maps; in test__thread_maps_share()
90 /* release other grou in test__thread_maps_share()
[all...]
H A Dattr.py105 def equal(self, other):
107 log.debug(" [%s] %s %s" % (t, self[t], other[t]));
108 if t not in self or t not in other:
110 if not data_equal(self[t], other[t]):
119 def diff(self, other):
121 if t not in self or t not in other:
123 if not data_equal(self[t], other[t]):
124 log.warning("expected %s=%s, got %s" % (t, self[t], other[t]))
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dthread-maps-share.c17 /* other process */ in test__thread_maps_share()
18 struct thread *other, *other_leader; in test__thread_maps_share() local
27 * other group (pid: 4, tids: 4, 5) in test__thread_maps_share()
40 other = machine__findnew_thread(machine, 4, 5); in test__thread_maps_share()
43 leader && t1 && t2 && t3 && other); in test__thread_maps_share()
54 * Verify the other leader was created by previous call. in test__thread_maps_share()
59 TEST_ASSERT_VAL("failed to find other leader", other_leader); in test__thread_maps_share()
70 machine__remove_thread(machine, other); in test__thread_maps_share()
73 other_maps = thread__maps(other); in test__thread_maps_share()
91 /* release other grou in test__thread_maps_share()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/openat2/
H A Dhelpers.c73 char *fdpath, *dfdpath, *other; in fdequal() local
80 E_asprintf(&other, "%s", dfdpath); in fdequal()
82 E_asprintf(&other, "%s", path); in fdequal()
84 E_asprintf(&other, "%s/%s", dfdpath, path); in fdequal()
86 cmp = !strcmp(fdpath, other); in fdequal()
90 free(other); in fdequal()
/kernel/linux/linux-6.6/tools/testing/selftests/openat2/
H A Dhelpers.c73 char *fdpath, *dfdpath, *other; in fdequal() local
80 E_asprintf(&other, "%s", dfdpath); in fdequal()
82 E_asprintf(&other, "%s", path); in fdequal()
84 E_asprintf(&other, "%s/%s", dfdpath, path); in fdequal()
86 cmp = !strcmp(fdpath, other); in fdequal()
90 free(other); in fdequal()
/kernel/linux/linux-5.10/drivers/leds/
H A Dleds-acer-a500.c20 struct a500_led *other; member
52 * RESET_LEDS turns off both LEDs, thus restore other LED if in a500_ec_led_brightness_set()
55 if (led->other->cdev.brightness) in a500_ec_led_brightness_set()
59 control_seq[1] = led->other->enable_seq[0]; in a500_ec_led_brightness_set()
100 white_led->other = orange_led; in a500_ec_leds_probe()
101 orange_led->other = white_led; in a500_ec_leds_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_sync.c65 struct radeon_fence *other; in radeon_sync_fence() local
70 other = sync->sync_to[fence->ring]; in radeon_sync_fence()
71 sync->sync_to[fence->ring] = radeon_fence_later(fence, other); in radeon_sync_fence()
74 other = sync->last_vm_update; in radeon_sync_fence()
75 sync->last_vm_update = radeon_fence_later(fence, other); in radeon_sync_fence()
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_sync.c65 struct radeon_fence *other; in radeon_sync_fence() local
70 other = sync->sync_to[fence->ring]; in radeon_sync_fence()
71 sync->sync_to[fence->ring] = radeon_fence_later(fence, other); in radeon_sync_fence()
74 other = sync->last_vm_update; in radeon_sync_fence()
75 sync->last_vm_update = radeon_fence_later(fence, other); in radeon_sync_fence()
/kernel/linux/linux-6.6/drivers/leds/
H A Dleds-acer-a500.c20 struct a500_led *other; member
52 * RESET_LEDS turns off both LEDs, thus restore other LED if in a500_ec_led_brightness_set()
55 if (led->other->cdev.brightness) in a500_ec_led_brightness_set()
59 control_seq[1] = led->other->enable_seq[0]; in a500_ec_led_brightness_set()
100 white_led->other = orange_led; in a500_ec_leds_probe()
101 orange_led->other = white_led; in a500_ec_leds_probe()
/kernel/linux/linux-6.6/rust/alloc/
H A Dboxed.rs1342 fn eq(&self, other: &Self) -> bool { in eq()
1343 PartialEq::eq(&**self, &**other) in eq()
1346 fn ne(&self, other: &Self) -> bool { in ne()
1347 PartialEq::ne(&**self, &**other) in ne()
1353 fn partial_cmp(&self, other: &Self) -> Option<Ordering> { in partial_cmp()
1354 PartialOrd::partial_cmp(&**self, &**other) in partial_cmp()
1357 fn lt(&self, other: &Self) -> bool { in lt()
1358 PartialOrd::lt(&**self, &**other) in lt()
1361 fn le(&self, other: &Self) -> bool { in le()
1362 PartialOrd::le(&**self, &**other) in le()
[all...]
/kernel/linux/linux-6.6/rust/alloc/vec/
H A Dpartial_eq.rs18 fn eq(&self, other: &$rhs) -> bool { self[..] == other[..] } in eq()
20 fn ne(&self, other: &$rhs) -> bool { self[..] != other[..] } in ne()
/kernel/linux/linux-5.10/net/vmw_vsock/
H A Dvsock_addr.c51 const struct sockaddr_vm *other) in vsock_addr_equals_addr()
53 return addr->svm_cid == other->svm_cid && in vsock_addr_equals_addr()
54 addr->svm_port == other->svm_port; in vsock_addr_equals_addr()
50 vsock_addr_equals_addr(const struct sockaddr_vm *addr, const struct sockaddr_vm *other) vsock_addr_equals_addr() argument
/kernel/linux/linux-6.6/net/vmw_vsock/
H A Dvsock_addr.c53 const struct sockaddr_vm *other) in vsock_addr_equals_addr()
55 return addr->svm_cid == other->svm_cid && in vsock_addr_equals_addr()
56 addr->svm_port == other->svm_port; in vsock_addr_equals_addr()
52 vsock_addr_equals_addr(const struct sockaddr_vm *addr, const struct sockaddr_vm *other) vsock_addr_equals_addr() argument
/kernel/linux/linux-5.10/drivers/char/ipmi/
H A Dipmi_si_hardcode.c54 module_param_hw_array(regspacings, int, other, &num_regspacings, 0);
60 module_param_hw_array(regsizes, int, other, &num_regsizes, 0);
66 module_param_hw_array(regshifts, int, other, &num_regshifts, 0);
71 module_param_hw_array(slave_addrs, int, other, &num_slave_addrs, 0);
/kernel/linux/linux-6.6/drivers/char/ipmi/
H A Dipmi_si_hardcode.c46 module_param_hw_array(regspacings, int, other, &num_regspacings, 0);
49 module_param_hw_array(regsizes, int, other, &num_regsizes, 0);
52 module_param_hw_array(regshifts, int, other, &num_regshifts, 0);
55 module_param_hw_array(slave_addrs, int, other, &num_slave_addrs, 0);
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Defx.c197 struct efx_nic *other, *next; in efx_associate() local
205 list_for_each_entry_safe(other, next, &efx_unassociated_list, in efx_associate()
207 if (efx_same_controller(efx, other)) { in efx_associate()
208 list_del(&other->node); in efx_associate()
209 netif_dbg(other, probe, other->net_dev, in efx_associate()
213 list_add_tail(&other->node, in efx_associate()
215 other->primary = efx; in efx_associate()
221 list_for_each_entry(other, &efx_primary_list, node) { in efx_associate()
222 if (efx_same_controller(efx, other)) { in efx_associate()
242 struct efx_nic *other, *next; efx_dissociate() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Defx.c198 struct efx_nic *other, *next; in efx_associate() local
206 list_for_each_entry_safe(other, next, &efx_unassociated_list, in efx_associate()
208 if (efx_same_controller(efx, other)) { in efx_associate()
209 list_del(&other->node); in efx_associate()
210 netif_dbg(other, probe, other->net_dev, in efx_associate()
214 list_add_tail(&other->node, in efx_associate()
216 other->primary = efx; in efx_associate()
222 list_for_each_entry(other, &efx_primary_list, node) { in efx_associate()
223 if (efx_same_controller(efx, other)) { in efx_associate()
243 struct efx_nic *other, *next; efx_dissociate() local
[all...]

Completed in 23 milliseconds

12345678910>>...16