Searched refs:unc_len (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/kernel/power/ |
D | swap.c | 440 size_t off, unc_len, cmp_len; in save_image_lzo() local 501 unc_len = off; in save_image_lzo() 502 ret = lzo1x_1_compress(unc, unc_len, in save_image_lzo() 510 cmp_len > lzo1x_worst_compress(unc_len))) { in save_image_lzo() 761 size_t i, off, unc_len, cmp_len; in load_image_lzo() local 840 unc_len = LZO_UNC_SIZE; in load_image_lzo() 842 unc, &unc_len); in load_image_lzo() 848 if (unlikely(!unc_len || in load_image_lzo() 849 unc_len > LZO_UNC_SIZE || in load_image_lzo() 850 unc_len & (PAGE_SIZE - 1))) { in load_image_lzo() [all …]
|
/linux-2.6.39/fs/cifs/ |
D | connect.c | 2711 int unc_len = strnlen(volume_info->UNC, MAX_TREE_SIZE + 1); in build_unc_path_to_root() local 2712 full_path = kmalloc(unc_len + cifs_sb->prepathlen + 1, GFP_KERNEL); in build_unc_path_to_root() 2716 strncpy(full_path, volume_info->UNC, unc_len); in build_unc_path_to_root() 2719 for (i = 0; i < unc_len; i++) { in build_unc_path_to_root() 2726 strncpy(full_path + unc_len, cifs_sb->prepath, in build_unc_path_to_root() 2729 full_path[unc_len + cifs_sb->prepathlen] = 0; /* add trailing null */ in build_unc_path_to_root()
|