Use ctx to get current list/library info. For Name or Title, It is
ctx.ListTitle
PS: No callback needed
Following information can be retrieved from ctx about current list/library in SharePoint 2010.
[ "listBaseType", "listTemplate", "listName", "view", "listUrlDir",
"HttpPath", "HttpRoot", "serverUrl", "imagesPath", "PortalUrl",
"RecycleBinEnabled", "isWebEditorPreview", "rootFolderForDisplay",
"isPortalTemplate", "isModerated", "recursiveView", "displayFormUrl",
"editFormUrl", "newFormUrl", "ctxId", "CurrentUserId", "isForceCheckout",
"EnableMinorVersions", "ModerationStatus", "verEnabled", "isVersions",
"WorkflowsAssociated", "ExternalDataList", "HasRelatedCascadeLists",
"CascadeDeleteWarningMessage", "ContentTypesEnabled", "SendToLocationName",
"SendToLocationUrl", "StateInitDone", "TotalListItems", "CurrentSelectedItems",
"LastSelectableRowIdx", "SelectAllCbx", "TableCbxFocusHandler", "TableMouseoverHandler",
"existingServerFilterHash", "NavigateForFormsPages", "OfficialFileName", "OfficialFileNames",
"WriteSecurity", "SiteTitle", "ListTitle", "isXslView", "clvp"
]
To find above info, paste the following line in browser's console.
console.dir(Object.keys(ctx))
Unfortunately, It is not documented by MSDN. The all we have for exploring it is: Browser's console.