Lines Matching refs:aap

135 static int	vold_action(struct action_arg *aap);
136 static void vold_update_mountpoints(struct action_arg *aap);
354 struct action_arg *aap) in vold_postprocess() argument
359 if ((aap->aa_action == INSERT) || (aap->aa_action == REMOUNT)) { in vold_postprocess()
360 rmm_volume_aa_update_mountpoint(hal_ctx, udi, aap); in vold_postprocess()
361 if ((aap->aa_mountpoint == NULL) || in vold_postprocess()
362 (strlen(aap->aa_mountpoint) == 0)) { in vold_postprocess()
368 vold_update_mountpoints(aap); in vold_postprocess()
371 ret = vold_action(aap); in vold_postprocess()
395 vold_update_mountpoints(struct action_arg *aap) in vold_update_mountpoints() argument
404 is_partition = (aap->aa_partname != NULL); in vold_update_mountpoints()
410 "%s", aap->aa_mountpoint); in vold_update_mountpoints()
412 "/%s/%s", aap->aa_media, aap->aa_name); in vold_update_mountpoints()
416 "/%s/%s", aap->aa_media, aap->aa_name); in vold_update_mountpoints()
418 "%s", aap->aa_mountpoint); in vold_update_mountpoints()
420 "/%s/%s/%s", aap->aa_media, aap->aa_name, in vold_update_mountpoints()
421 aap->aa_partname); in vold_update_mountpoints()
426 "./%s", aap->aa_name); in vold_update_mountpoints()
428 "/%s/%s", aap->aa_media, aap->aa_symdev); in vold_update_mountpoints()
433 "%s", aap->aa_mountpoint); in vold_update_mountpoints()
435 "%s/%s/%s", mnt_zoneroot, aap->aa_media, in vold_update_mountpoints()
436 aap->aa_symdev); in vold_update_mountpoints()
440 "%s", aap->aa_mountpoint); in vold_update_mountpoints()
442 "%s/%s/%s", mnt_zoneroot, aap->aa_media, in vold_update_mountpoints()
443 aap->aa_symdev, aap->aa_partname); in vold_update_mountpoints()
448 ".%s/%s", mnt_userdir, aap->aa_name); in vold_update_mountpoints()
450 mnt_zoneroot, aap->aa_media, aap->aa_symdev); in vold_update_mountpoints()
459 if ((aap->aa_action == INSERT) || (aap->aa_action == REMOUNT)) { in vold_update_mountpoints()
460 (void) mkdir(aap->aa_media, 0755); in vold_update_mountpoints()
471 vold_action(struct action_arg *aap) in vold_action() argument
540 aa[0] = aap; in vold_action()