Searched refs:u_size (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/misc/genwqe/
H A Dcard_dev.c874 u32 u_size = 0; ddcb_cmd_fixups() local
888 u_size = be32_to_cpu(*((__be32 *)&cmd-> ddcb_cmd_fixups()
896 if (u_size == 0x0) { ddcb_cmd_fixups()
902 m = __genwqe_search_mapping(cfile, u_addr, u_size, ddcb_cmd_fixups()
920 u_size = be32_to_cpu(*((__be32 *) ddcb_cmd_fixups()
928 if (u_size == 0x0) { ddcb_cmd_fixups()
934 m = genwqe_search_pin(cfile, u_addr, u_size, NULL); ddcb_cmd_fixups()
946 u_size, req); ddcb_cmd_fixups()
957 u_size); ddcb_cmd_fixups()
/linux-4.4.14/drivers/block/drbd/
H A Ddrbd_protocol.h240 u64 u_size; /* user requested size */ member in struct:p_sizes
H A Ddrbd_nl.c875 sector_t la_size_sect, u_size; __must_hold() local
923 u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; __must_hold()
925 size = drbd_new_dev_size(device, device->ldev, u_size, flags & DDSF_FORCED); __must_hold()
928 if (rs && u_size == 0) { __must_hold()
936 if (u_size > size) __must_hold()
1027 sector_t u_size, int assume_peer_has_space) drbd_new_dev_size()
1061 if (u_size) { drbd_new_dev_size()
1062 if (u_size > size) drbd_new_dev_size()
1064 (unsigned long)u_size>>1, (unsigned long)size>>1); drbd_new_dev_size()
1066 size = u_size; drbd_new_dev_size()
2499 sector_t u_size; drbd_adm_resize() local
2544 u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; drbd_adm_resize()
2546 if (u_size != (sector_t)rs.resize_size) { drbd_adm_resize()
1026 drbd_new_dev_size(struct drbd_device *device, struct drbd_backing_dev *bdev, sector_t u_size, int assume_peer_has_space) drbd_new_dev_size() argument
H A Ddrbd_main.c927 sector_t d_size, u_size; drbd_send_sizes() local
935 u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; drbd_send_sizes()
943 u_size = 0; drbd_send_sizes()
959 p->u_size = cpu_to_be64(u_size); drbd_send_sizes()
H A Ddrbd_receiver.c3742 p_usize = be64_to_cpu(p->u_size); receive_sizes()
3796 drbd_info(device, "Peer sets u_size to %lu sectors\n", receive_sizes()

Completed in 324 milliseconds