Home
last modified time | relevance | path

Searched refs:owned (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/
H A Dintel.c37 * disables CMCI on all banks owned by the cpu and clears this bitfield. At
40 * owned by the offlined cpu.
157 unsigned long flags, *owned; in cmci_toggle_interrupt_mode() local
162 owned = this_cpu_ptr(mce_banks_owned); in cmci_toggle_interrupt_mode()
163 for_each_set_bit(bank, owned, MAX_NR_BANKS) { in cmci_toggle_interrupt_mode()
269 unsigned long *owned = (void *)this_cpu_ptr(&mce_banks_owned); in cmci_discover() local
279 if (test_bit(i, owned)) in cmci_discover()
288 /* Already owned by someone else? */ in cmci_discover()
290 clear_bit(i, owned); in cmci_discover()
314 set_bit(i, owned); in cmci_discover()
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/mce/
H A Dintel.c37 * disables CMCI on all banks owned by the cpu and clears this bitfield. At
40 * owned by the offlined cpu.
164 unsigned long flags, *owned; in cmci_toggle_interrupt_mode() local
169 owned = this_cpu_ptr(mce_banks_owned); in cmci_toggle_interrupt_mode()
170 for_each_set_bit(bank, owned, MAX_NR_BANKS) { in cmci_toggle_interrupt_mode()
276 unsigned long *owned = (void *)this_cpu_ptr(&mce_banks_owned); in cmci_discover() local
286 if (test_bit(i, owned)) in cmci_discover()
295 /* Already owned by someone else? */ in cmci_discover()
297 clear_bit(i, owned); in cmci_discover()
321 set_bit(i, owned); in cmci_discover()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_sd7220.c556 int owned = 0; in epb_access() local
585 owned = !!(accval & EPB_ACC_GNT); in epb_access()
601 owned = -1; in epb_access()
613 owned = -1; in epb_access()
615 return owned; in epb_access()
661 int owned; in qib_sd7220_reg_mod() local
685 owned = epb_access(dd, sdnum, 1); in qib_sd7220_reg_mod()
686 if (owned < 0) { in qib_sd7220_reg_mod()
752 int owned; in qib_sd7220_ram_xfer() local
779 owned in qib_sd7220_ram_xfer()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A Dqib_sd7220.c556 int owned = 0; in epb_access() local
585 owned = !!(accval & EPB_ACC_GNT); in epb_access()
601 owned = -1; in epb_access()
613 owned = -1; in epb_access()
615 return owned; in epb_access()
661 int owned; in qib_sd7220_reg_mod() local
685 owned = epb_access(dd, sdnum, 1); in qib_sd7220_reg_mod()
686 if (owned < 0) { in qib_sd7220_reg_mod()
751 int owned; in qib_sd7220_ram_xfer() local
778 owned in qib_sd7220_ram_xfer()
[all...]
/kernel/linux/linux-5.10/drivers/char/tpm/
H A Dtpm-sysfs.c173 sizeof(cap.owned))) in owned_show()
176 rc = sprintf(buf, "%d\n", cap.owned); in owned_show()
181 static DEVICE_ATTR_RO(owned);
H A Dtpm.h126 __u8 owned; member
/kernel/linux/linux-6.6/drivers/char/tpm/
H A Dtpm-sysfs.c173 sizeof(cap.owned))) in owned_show()
176 rc = sprintf(buf, "%d\n", cap.owned); in owned_show()
181 static DEVICE_ATTR_RO(owned);
H A Dtpm.h127 __u8 owned; member
/kernel/linux/linux-5.10/fs/erofs/
H A Dzdata.c104 * The current collection has been linked with the owned chain, and
317 * by the original owned chain. in try_to_claim_pcluster()
945 z_erofs_next_pcluster_t owned = io->head; in z_erofs_decompress_queue() local
947 while (owned != Z_EROFS_PCLUSTER_TAIL_CLOSED) { in z_erofs_decompress_queue()
950 /* no possible that 'owned' equals Z_EROFS_WORK_TPTR_TAIL */ in z_erofs_decompress_queue()
951 DBG_BUGON(owned == Z_EROFS_PCLUSTER_TAIL); in z_erofs_decompress_queue()
953 /* no possible that 'owned' equals NULL */ in z_erofs_decompress_queue()
954 DBG_BUGON(owned == Z_EROFS_PCLUSTER_NIL); in z_erofs_decompress_queue()
956 pcl = container_of(owned, struct z_erofs_pcluster, next); in z_erofs_decompress_queue()
957 owned in z_erofs_decompress_queue()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
H A Dcrc.c361 * controlling wndw channel programmed to a wndw that's owned by our in nv50_crc_atomic_check_head()
365 !(BIT(asyh->crc.wndw) & asyh->wndw.owned)) { in nv50_crc_atomic_check_head()
366 if (!asyh->wndw.owned) { in nv50_crc_atomic_check_head()
370 * currently not-visible and owned by another head, in nv50_crc_atomic_check_head()
379 asyh->crc.wndw = ffs(asyh->wndw.owned) - 1; in nv50_crc_atomic_check_head()
H A Datom.h24 u32 owned; member
H A Dheadc37d.c280 asyh->wndw.owned |= BIT(i); in headc37d_static_wndw_map()
/kernel/linux/linux-5.10/include/net/
H A Dsock.h100 int owned; member
548 * managed/owned by a BPF reuseport array. This bit should be set
1602 if (sk->sk_lock.owned) { in sock_release_ownership()
1603 sk->sk_lock.owned = 0; in sock_release_ownership()
1619 sk->sk_lock.owned = 0; \
1702 return sk->sk_lock.owned; in sock_owned_by_user()
1707 return sk->sk_lock.owned; in sock_owned_by_user_nocheck()
1715 return !sk->sk_lock.owned && !spin_is_locked(&sk->sk_lock.slock); in sock_allow_reclassification()
/kernel/linux/linux-5.10/net/llc/
H A Dllc_proc.c198 !!sk->sk_backlog.tail, !!sk->sk_lock.owned); in llc_seq_core_show()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/
H A Datom.h24 u32 owned; member
H A Dheadc37d.c280 asyh->wndw.owned |= BIT(i); in headc37d_static_wndw_map()
/kernel/linux/linux-6.6/fs/erofs/
H A Dzdata.c1363 z_erofs_next_pcluster_t owned = io->head; in z_erofs_decompress_queue() local
1365 while (owned != Z_EROFS_PCLUSTER_TAIL) { in z_erofs_decompress_queue()
1366 DBG_BUGON(owned == Z_EROFS_PCLUSTER_NIL); in z_erofs_decompress_queue()
1368 be.pcl = container_of(owned, struct z_erofs_pcluster, next); in z_erofs_decompress_queue()
1369 owned = READ_ONCE(be.pcl->next); in z_erofs_decompress_queue()
/kernel/linux/linux-6.6/drivers/vfio/pci/
H A Dvfio_pci_core.c823 /* If devid is VFIO_PCI_DEVID_NOT_OWNED, clear owned flag. */ in vfio_pci_fill_devs()
2496 bool owned; in vfio_pci_dev_set_hot_reset() local
2512 * considered owned by the input iommufd_ctx as the device in vfio_pci_dev_set_hot_reset()
2513 * cannot be owned by another iommufd_ctx when its iommu_group in vfio_pci_dev_set_hot_reset()
2514 * is owned. in vfio_pci_dev_set_hot_reset()
2522 owned = (devid > 0 || devid == -ENOENT); in vfio_pci_dev_set_hot_reset()
2524 owned = vfio_dev_in_groups(&cur_vma->vdev, groups); in vfio_pci_dev_set_hot_reset()
2527 if (!owned) { in vfio_pci_dev_set_hot_reset()
/kernel/linux/linux-6.6/include/net/
H A Dsock.h98 int owned; member
564 * managed/owned by a BPF reuseport array. This bit should be set
1700 sk->sk_lock.owned = 0; \
1743 * sk_lock.slock locked, owned = 0, BH disabled
1747 * sk_lock.slock unlocked, owned = 1, BH enabled
1814 return sk->sk_lock.owned; in sock_owned_by_user()
1819 return sk->sk_lock.owned; in sock_owned_by_user_nocheck()
1825 sk->sk_lock.owned = 0; in sock_release_ownership()
/kernel/linux/linux-5.10/net/core/
H A Dsock.c3082 if (sk->sk_lock.owned) in lock_sock_nested()
3084 sk->sk_lock.owned = 1; in lock_sock_nested()
3120 * sk_lock.slock locked, owned = 0, BH disabled
3124 * sk_lock.slock unlocked, owned = 1, BH enabled
3131 if (!sk->sk_lock.owned) in lock_sock_fast()
3138 sk->sk_lock.owned = 1; in lock_sock_fast()
/kernel/linux/linux-5.10/net/mptcp/
H A Dprotocol.c590 * owned, we need to defer to the work queue to avoid ABBA deadlock.
597 if (READ_ONCE(sk->sk_lock.owned)) in move_skbs_to_msk()
604 if (!READ_ONCE(sk->sk_lock.owned)) { in move_skbs_to_msk()
645 /* mptcp socket is owned, release_cb should retry */ in mptcp_data_ready()
/kernel/linux/linux-6.6/net/core/
H A Dsock.c3520 sk->sk_lock.owned = 1; in lock_sock_nested()
3569 sk->sk_lock.owned = 1;

Completed in 40 milliseconds