| /OK3568_Linux_fs/kernel/net/ceph/ |
| H A D | cls_lock_client.c | 235 void ceph_free_lockers(struct ceph_locker *lockers, u32 num_lockers) in ceph_free_lockers() argument 240 kfree(lockers[i].id.cookie); in ceph_free_lockers() 241 kfree(lockers); in ceph_free_lockers() 283 struct ceph_locker **lockers, u32 *num_lockers) in decode_lockers() argument 297 *lockers = kcalloc(*num_lockers, sizeof(**lockers), GFP_NOIO); in decode_lockers() 298 if (!*lockers) in decode_lockers() 302 ret = decode_locker(p, end, *lockers + i); in decode_lockers() 318 ceph_free_lockers(*lockers, *num_lockers); in decode_lockers() 332 struct ceph_locker **lockers, u32 *num_lockers) in ceph_cls_lock_info() argument 374 ret = decode_lockers(&p, end, type, tag, lockers, num_lockers); in ceph_cls_lock_info()
|
| /OK3568_Linux_fs/kernel/include/linux/ceph/ |
| H A D | cls_lock_client.h | 47 void ceph_free_lockers(struct ceph_locker *lockers, u32 num_lockers); 53 struct ceph_locker **lockers, u32 *num_lockers);
|
| /OK3568_Linux_fs/kernel/Documentation/locking/ |
| H A D | lockdep-design.rst | 404 There are three types of lockers: writers (i.e. exclusive lockers, like 405 spin_lock() or write_lock()), non-recursive readers (i.e. shared lockers, like 406 down_read()) and recursive readers (recursive shared lockers, like rcu_read_lock()). 407 And we use the following notations of those lockers in the rest of the document: 409 W or E: stands for writers (exclusive lockers). 412 S: stands for all readers (non-recursive + recursive), as both are shared lockers. 417 Recursive readers, as their name indicates, are the lockers allowed to acquire 515 because there are 3 types for lockers, there are, in theory, 9 types of lock
|
| /OK3568_Linux_fs/kernel/drivers/block/ |
| H A D | rbd.c | 1774 struct ceph_locker *lockers; in rbd_object_map_lock() local 1794 &lockers, &num_lockers); in rbd_object_map_lock() 1808 ENTITY_NAME(lockers[0].id.name)); in rbd_object_map_lock() 1811 RBD_LOCK_NAME, lockers[0].id.cookie, in rbd_object_map_lock() 1812 &lockers[0].id.name); in rbd_object_map_lock() 1813 ceph_free_lockers(lockers, num_lockers); in rbd_object_map_lock() 3896 struct ceph_locker **lockers, u32 *num_lockers) in get_lock_owner_info() argument 3907 &lock_type, &lock_tag, lockers, num_lockers); in get_lock_owner_info() 3929 if (strncmp((*lockers)[0].id.cookie, RBD_LOCK_COOKIE_PREFIX, in get_lock_owner_info() 3932 (*lockers)[0].id.cookie); in get_lock_owner_info() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_msgbuf.c | 1295 dhd_pktid_item_t lockers[0]; /* metadata storage */ member 1530 map->lockers[nkey].state = LOCKER_IS_FREE; in dhd_pktid_map_init() 1531 map->lockers[nkey].pkt = NULL; /* bzero: redundant */ in dhd_pktid_map_init() 1532 map->lockers[nkey].len = 0; in dhd_pktid_map_init() 1536 map->lockers[DHD_PKTID_INVALID].state = LOCKER_IS_BUSY; /* tag locker #0 as inuse */ in dhd_pktid_map_init() 1537 map->lockers[DHD_PKTID_INVALID].pkt = NULL; /* bzero: redundant */ in dhd_pktid_map_init() 1538 map->lockers[DHD_PKTID_INVALID].len = 0; in dhd_pktid_map_init() 1589 if (map->lockers[nkey].state == LOCKER_IS_BUSY) { in dhd_pktid_map_reset() 1590 locker = &map->lockers[nkey]; in dhd_pktid_map_reset() 1622 memset(&map->lockers[1], 0, sizeof(dhd_pktid_item_t) * map_items); in dhd_pktid_map_reset() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_msgbuf.c | 1834 dhd_pktid_item_t lockers[0]; /* metadata storage */ member 2119 map->lockers[nkey].state = LOCKER_IS_FREE; in dhd_pktid_map_init() 2120 map->lockers[nkey].pkt = NULL; /* bzero: redundant */ in dhd_pktid_map_init() 2121 map->lockers[nkey].len = 0; in dhd_pktid_map_init() 2125 map->lockers[DHD_PKTID_INVALID].state = LOCKER_IS_BUSY; /* tag locker #0 as inuse */ in dhd_pktid_map_init() 2126 map->lockers[DHD_PKTID_INVALID].pkt = NULL; /* bzero: redundant */ in dhd_pktid_map_init() 2127 map->lockers[DHD_PKTID_INVALID].len = 0; in dhd_pktid_map_init() 2184 if (map->lockers[nkey].state == LOCKER_IS_BUSY) { in dhd_pktid_map_reset() 2185 locker = &map->lockers[nkey]; in dhd_pktid_map_reset() 2222 memset(&map->lockers[1], 0, sizeof(dhd_pktid_item_t) * map_items); in dhd_pktid_map_reset() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_msgbuf.c | 1834 dhd_pktid_item_t lockers[0]; /* metadata storage */ member 2119 map->lockers[nkey].state = LOCKER_IS_FREE; in dhd_pktid_map_init() 2120 map->lockers[nkey].pkt = NULL; /* bzero: redundant */ in dhd_pktid_map_init() 2121 map->lockers[nkey].len = 0; in dhd_pktid_map_init() 2125 map->lockers[DHD_PKTID_INVALID].state = LOCKER_IS_BUSY; /* tag locker #0 as inuse */ in dhd_pktid_map_init() 2126 map->lockers[DHD_PKTID_INVALID].pkt = NULL; /* bzero: redundant */ in dhd_pktid_map_init() 2127 map->lockers[DHD_PKTID_INVALID].len = 0; in dhd_pktid_map_init() 2184 if (map->lockers[nkey].state == LOCKER_IS_BUSY) { in dhd_pktid_map_reset() 2185 locker = &map->lockers[nkey]; in dhd_pktid_map_reset() 2222 memset(&map->lockers[1], 0, sizeof(dhd_pktid_item_t) * map_items); in dhd_pktid_map_reset() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_msgbuf.c | 1834 dhd_pktid_item_t lockers[0]; /* metadata storage */ member 2119 map->lockers[nkey].state = LOCKER_IS_FREE; in dhd_pktid_map_init() 2120 map->lockers[nkey].pkt = NULL; /* bzero: redundant */ in dhd_pktid_map_init() 2121 map->lockers[nkey].len = 0; in dhd_pktid_map_init() 2125 map->lockers[DHD_PKTID_INVALID].state = LOCKER_IS_BUSY; /* tag locker #0 as inuse */ in dhd_pktid_map_init() 2126 map->lockers[DHD_PKTID_INVALID].pkt = NULL; /* bzero: redundant */ in dhd_pktid_map_init() 2127 map->lockers[DHD_PKTID_INVALID].len = 0; in dhd_pktid_map_init() 2184 if (map->lockers[nkey].state == LOCKER_IS_BUSY) { in dhd_pktid_map_reset() 2185 locker = &map->lockers[nkey]; in dhd_pktid_map_reset() 2222 memset(&map->lockers[1], 0, sizeof(dhd_pktid_item_t) * map_items); in dhd_pktid_map_reset() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_msgbuf.c | 2161 dhd_pktid_item_t lockers[0]; /* metadata storage */ member 2461 map->lockers[nkey].state = LOCKER_IS_FREE; in dhd_pktid_map_init() 2462 map->lockers[nkey].pkt = NULL; /* bzero: redundant */ in dhd_pktid_map_init() 2463 map->lockers[nkey].len = 0; in dhd_pktid_map_init() 2467 map->lockers[DHD_PKTID_INVALID].state = LOCKER_IS_BUSY; /* tag locker #0 as inuse */ in dhd_pktid_map_init() 2468 map->lockers[DHD_PKTID_INVALID].pkt = NULL; /* bzero: redundant */ in dhd_pktid_map_init() 2469 map->lockers[DHD_PKTID_INVALID].len = 0; in dhd_pktid_map_init() 2526 if (map->lockers[nkey].state == LOCKER_IS_BUSY) { in dhd_pktid_map_reset() 2527 locker = &map->lockers[nkey]; in dhd_pktid_map_reset() 2556 memset(&map->lockers[1], 0, sizeof(dhd_pktid_item_t) * map_items); in dhd_pktid_map_reset() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_msgbuf.c | 2165 dhd_pktid_item_t lockers[0]; /* metadata storage */ member 2465 map->lockers[nkey].state = LOCKER_IS_FREE; in dhd_pktid_map_init() 2466 map->lockers[nkey].pkt = NULL; /* bzero: redundant */ in dhd_pktid_map_init() 2467 map->lockers[nkey].len = 0; in dhd_pktid_map_init() 2471 map->lockers[DHD_PKTID_INVALID].state = LOCKER_IS_BUSY; /* tag locker #0 as inuse */ in dhd_pktid_map_init() 2472 map->lockers[DHD_PKTID_INVALID].pkt = NULL; /* bzero: redundant */ in dhd_pktid_map_init() 2473 map->lockers[DHD_PKTID_INVALID].len = 0; in dhd_pktid_map_init() 2530 if (map->lockers[nkey].state == LOCKER_IS_BUSY) { in dhd_pktid_map_reset() 2531 locker = &map->lockers[nkey]; in dhd_pktid_map_reset() 2560 memset(&map->lockers[1], 0, sizeof(dhd_pktid_item_t) * map_items); in dhd_pktid_map_reset() [all …]
|