Searched refs:in_core (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_main.c3130 struct drbd_md *in_core) check_activity_log_stripe_size()
3162 in_core->al_stripe_size_4k = al_stripe_size_4k; check_activity_log_stripe_size()
3163 in_core->al_stripes = al_stripes; check_activity_log_stripe_size()
3164 in_core->al_size_4k = al_size_4k; check_activity_log_stripe_size()
3176 struct drbd_md *in_core = &bdev->md; check_offsets_and_sizes() local
3188 if (in_core->al_offset < 0) { check_offsets_and_sizes()
3189 if (in_core->bm_offset > in_core->al_offset) check_offsets_and_sizes()
3191 on_disk_al_sect = -in_core->al_offset; check_offsets_and_sizes()
3192 on_disk_bm_sect = in_core->al_offset - in_core->bm_offset; check_offsets_and_sizes()
3194 if (in_core->al_offset != MD_4kB_SECT) check_offsets_and_sizes()
3196 if (in_core->bm_offset < in_core->al_offset + in_core->al_size_4k * MD_4kB_SECT) check_offsets_and_sizes()
3199 on_disk_al_sect = in_core->bm_offset - MD_4kB_SECT; check_offsets_and_sizes()
3200 on_disk_bm_sect = in_core->md_size_sect - in_core->bm_offset; check_offsets_and_sizes()
3204 if (in_core->meta_dev_idx >= 0) { check_offsets_and_sizes()
3205 if (in_core->md_size_sect != MD_128MB_SECT check_offsets_and_sizes()
3206 || in_core->al_offset != MD_4kB_SECT check_offsets_and_sizes()
3207 || in_core->bm_offset != MD_4kB_SECT + MD_32kB_SECT check_offsets_and_sizes()
3208 || in_core->al_stripes != 1 check_offsets_and_sizes()
3209 || in_core->al_stripe_size_4k != MD_32kB_SECT/8) check_offsets_and_sizes()
3213 if (capacity < in_core->md_size_sect) check_offsets_and_sizes()
3215 if (capacity - in_core->md_size_sect < drbd_md_first_sector(bdev)) check_offsets_and_sizes()
3224 if (on_disk_al_sect != in_core->al_size_4k * MD_4kB_SECT) check_offsets_and_sizes()
3228 if (in_core->bm_offset & 7) check_offsets_and_sizes()
3234 if (on_disk_bm_sect < (in_core->la_size_sect+7)/MD_4kB_SECT/8/512) check_offsets_and_sizes()
3243 in_core->meta_dev_idx, check_offsets_and_sizes()
3244 in_core->al_stripes, in_core->al_stripe_size_4k, check_offsets_and_sizes()
3245 in_core->al_offset, in_core->bm_offset, in_core->md_size_sect, check_offsets_and_sizes()
3246 (unsigned long long)in_core->la_size_sect, check_offsets_and_sizes()
3316 /* convert to in_core endian */ drbd_md_read()
3128 check_activity_log_stripe_size(struct drbd_device *device, struct meta_data_on_disk *on_disk, struct drbd_md *in_core) check_activity_log_stripe_size() argument
/linux-4.1.27/arch/ia64/kernel/
H A Dmodule.c501 in_core (const struct module *mod, uint64_t addr) in_core() function
509 return in_init(mod, value) || in_core(mod, value); is_internal()
650 if ((in_init(mod, val) && in_core(mod, (uint64_t)location)) || do_reloc()
651 (in_core(mod, val) && in_init(mod, (uint64_t)location))) { do_reloc()
/linux-4.1.27/arch/parisc/kernel/
H A Dmodule.c107 static inline int in_core(struct module *me, void *loc) in_core() function
115 return in_init(me, loc) || in_core(me, loc); in_local()

Completed in 129 milliseconds