Lines Matching refs:newapm
712 static void ap_send_mask_changed_uevent(unsigned long *newapm,
718 if (newapm)
721 newapm[0], newapm[1], newapm[2], newapm[3]);
1370 unsigned long *newapm = (unsigned long *)data;
1380 rc = ap_drv->in_use(newapm, ap_perms.aqm);
1391 static int apmask_commit(unsigned long *newapm)
1400 if (bitmap_andnot(reserved, newapm, ap_perms.apm, AP_DEVICES)) {
1407 memcpy(ap_perms.apm, newapm, APMASKSIZE);
1416 DECLARE_BITMAP(newapm, AP_DEVICES);
1421 rc = ap_parse_bitmap_str(buf, ap_perms.apm, AP_DEVICES, newapm);
1425 changes = memcmp(ap_perms.apm, newapm, APMASKSIZE);
1427 rc = apmask_commit(newapm);
1436 ap_send_mask_changed_uevent(newapm, NULL);