Searched defs:new_id (Results 1 - 11 of 11) sorted by relevance
/drivers/gpu/drm/ |
H A D | drm_context.c | 77 int new_id; local 87 DRM_RESERVED_CONTEXTS, &new_id); 93 return new_id;
|
H A D | drm_stub.c | 104 int new_id; local 123 base, &new_id); 131 if (new_id >= limit) { 132 idr_remove(&drm_minors_idr, new_id); 135 return new_id;
|
H A D | drm_modes.c | 732 int new_id; local 738 new_id = nmode->base.id; 740 nmode->base.id = new_id;
|
H A D | drm_crtc.c | 229 int new_id = 0; local 239 ret = idr_get_new_above(&dev->mode_config.crtc_idr, obj, 1, &new_id); 244 obj->id = new_id;
|
/drivers/block/ |
H A D | osdblk.c | 504 int irc, new_id = 0; local 529 if (osdev->id > new_id) 530 new_id = osdev->id + 1; 533 osdev->id = new_id;
|
H A D | rbd.c | 2164 int irc, new_id = 0; local 2199 if (rbd_dev->id >= new_id) 2200 new_id = rbd_dev->id + 1; 2203 rbd_dev->id = new_id;
|
/drivers/macintosh/ |
H A D | adb.c | 536 /* Try to change handler to new_id. Will return 1 if successful. */ 537 static int try_handler_change(int address, int new_id) argument 541 if (adb_handler[address].handler_id == new_id) 544 ADB_WRITEREG(address, 3), address | 0x20, new_id); 549 if (req.reply[2] != new_id) 557 adb_try_handler_change(int address, int new_id) argument 562 ret = try_handler_change(address, new_id);
|
/drivers/isdn/mISDN/ |
H A D | tei.c | 324 new_id(struct manager *mgr) function 407 mISDN_HEAD_ID(skb) = new_id(mgr); 456 skb = _alloc_mISDN_skb(PH_DATA_REQ, new_id(mgr), 8, bp, GFP_ATOMIC);
|
/drivers/md/ |
H A D | dm-thin-metadata.c | 1043 uint64_t new_id) 1052 pmd->trans_id = new_id; 1041 dm_pool_set_metadata_transaction_id(struct dm_pool_metadata *pmd, uint64_t current_id, uint64_t new_id) argument
|
H A D | dm-thin.c | 1996 dm_thin_id old_id, new_id; local 2008 if (kstrtoull(argv[2], 10, (unsigned long long *)&new_id)) { 2013 r = dm_pool_set_metadata_transaction_id(pool->pmd, old_id, new_id);
|
/drivers/ata/ |
H A D | libata-core.c | 3844 * @new_id: IDENTIFY page of the new device 3846 * Compare @new_class and @new_id against @dev and determine 3848 * @new_id. 3854 * 1 if @dev matches @new_class and @new_id, 0 otherwise. 3857 const u16 *new_id) 3870 ata_id_c_string(new_id, model[1], ATA_ID_PROD, sizeof(model[1])); 3872 ata_id_c_string(new_id, serial[1], ATA_ID_SERNO, sizeof(serial[1])); 3856 ata_dev_same_device(struct ata_device *dev, unsigned int new_class, const u16 *new_id) argument
|
Completed in 476 milliseconds