HelenOS sources
cap 65 kernel/generic/include/proc/task.h struct cap;
cap 110 kernel/generic/src/cap/cap.c cap_t *cap = hash_table_get_inst(item, cap_t, caps_link);
cap 111 kernel/generic/src/cap/cap.c return hash_mix(cap_handle_raw(cap->handle));
cap 123 kernel/generic/src/cap/cap.c cap_t *cap = hash_table_get_inst(item, cap_t, caps_link);
cap 124 kernel/generic/src/cap/cap.c return *handle == cap->handle;
cap 207 kernel/generic/src/cap/cap.c cap_t *cap = list_get_instance(cur, cap_t, type_link);
cap 208 kernel/generic/src/cap/cap.c done = cb(cap, arg);
cap 223 kernel/generic/src/cap/cap.c static void cap_initialize(cap_t *cap, task_t *task, cap_handle_t handle)
cap 225 kernel/generic/src/cap/cap.c cap->state = CAP_STATE_FREE;
cap 226 kernel/generic/src/cap/cap.c cap->task = task;
cap 227 kernel/generic/src/cap/cap.c cap->handle = handle;
cap 228 kernel/generic/src/cap/cap.c link_initialize(&cap->kobj_link);
cap 229 kernel/generic/src/cap/cap.c link_initialize(&cap->type_link);
cap 251 kernel/generic/src/cap/cap.c cap_t *cap = hash_table_get_inst(link, cap_t, caps_link);
cap 252 kernel/generic/src/cap/cap.c if (cap->state != state)
cap 254 kernel/generic/src/cap/cap.c return cap;
cap 268 kernel/generic/src/cap/cap.c cap_t *cap = slab_alloc(cap_cache, FRAME_ATOMIC);
cap 269 kernel/generic/src/cap/cap.c if (!cap) {
cap 275 kernel/generic/src/cap/cap.c slab_free(cap_cache, cap);
cap 279 kernel/generic/src/cap/cap.c cap_initialize(cap, task, (cap_handle_t) hbase);
cap 280 kernel/generic/src/cap/cap.c hash_table_insert(&task->cap_info->caps, &cap->caps_link);
cap 282 kernel/generic/src/cap/cap.c cap->state = CAP_STATE_ALLOCATED;
cap 283 kernel/generic/src/cap/cap.c *handle = cap->handle;
cap 304 kernel/generic/src/cap/cap.c cap_t *cap = cap_get(task, handle, CAP_STATE_ALLOCATED);
cap 305 kernel/generic/src/cap/cap.c assert(cap);
cap 306 kernel/generic/src/cap/cap.c cap->state = CAP_STATE_PUBLISHED;
cap 308 kernel/generic/src/cap/cap.c cap->kobject = kobj;
cap 309 kernel/generic/src/cap/cap.c list_append(&cap->kobj_link, &kobj->caps_list);
cap 310 kernel/generic/src/cap/cap.c list_append(&cap->type_link, &task->cap_info->type_list[kobj->type]);
cap 315 kernel/generic/src/cap/cap.c static void cap_unpublish_unsafe(cap_t *cap)
cap 317 kernel/generic/src/cap/cap.c cap->kobject = NULL;
cap 318 kernel/generic/src/cap/cap.c list_remove(&cap->kobj_link);
cap 319 kernel/generic/src/cap/cap.c list_remove(&cap->type_link);
cap 320 kernel/generic/src/cap/cap.c cap->state = CAP_STATE_ALLOCATED;
cap 344 kernel/generic/src/cap/cap.c cap_t *cap = cap_get(task, handle, CAP_STATE_PUBLISHED);
cap 345 kernel/generic/src/cap/cap.c if (cap) {
cap 346 kernel/generic/src/cap/cap.c if (cap->kobject->type == type) {
cap 348 kernel/generic/src/cap/cap.c kobj = cap->kobject;
cap 354 kernel/generic/src/cap/cap.c cap_unpublish_unsafe(cap);
cap 379 kernel/generic/src/cap/cap.c cap_t *cap = list_get_instance(cur, cap_t, kobj_link);
cap 380 kernel/generic/src/cap/cap.c mutex_lock(&cap->task->cap_info->lock);
cap 381 kernel/generic/src/cap/cap.c cap_unpublish_unsafe(cap);
cap 384 kernel/generic/src/cap/cap.c mutex_unlock(&cap->task->cap_info->lock);
cap 400 kernel/generic/src/cap/cap.c cap_t *cap = cap_get(task, handle, CAP_STATE_ALLOCATED);
cap 402 kernel/generic/src/cap/cap.c assert(cap);
cap 404 kernel/generic/src/cap/cap.c hash_table_remove_item(&task->cap_info->caps, &cap->caps_link);
cap 406 kernel/generic/src/cap/cap.c slab_free(cap_cache, cap);
cap 453 kernel/generic/src/cap/cap.c cap_t *cap = cap_get(task, handle, CAP_STATE_PUBLISHED);
cap 454 kernel/generic/src/cap/cap.c if (cap) {
cap 455 kernel/generic/src/cap/cap.c if (cap->kobject->type == type) {
cap 456 kernel/generic/src/cap/cap.c kobj = cap->kobject;
cap 777 kernel/generic/src/ipc/ipc.c static bool phone_cap_cleanup_cb(cap_t *cap, void *arg)
cap 779 kernel/generic/src/ipc/ipc.c ipc_phone_hangup(cap->kobject->phone);
cap 780 kernel/generic/src/ipc/ipc.c kobject_t *kobj = cap_unpublish(cap->task, cap->handle,
cap 783 kernel/generic/src/ipc/ipc.c cap_free(cap->task, cap->handle);
cap 812 kernel/generic/src/ipc/ipc.c static bool irq_cap_cleanup_cb(cap_t *cap, void *arg)
cap 814 kernel/generic/src/ipc/ipc.c ipc_irq_unsubscribe(&TASK->answerbox, cap->handle);
cap 818 kernel/generic/src/ipc/ipc.c static bool call_cap_cleanup_cb(cap_t *cap, void *arg)
cap 824 kernel/generic/src/ipc/ipc.c kobject_t *kobj = cap_unpublish(cap->task, cap->handle,
cap 827 kernel/generic/src/ipc/ipc.c cap_free(cap->task, cap->handle);
cap 927 kernel/generic/src/ipc/ipc.c static bool print_task_phone_cb(cap_t *cap, void *arg)
cap 929 kernel/generic/src/ipc/ipc.c phone_t *phone = cap->kobject->phone;
cap 933 kernel/generic/src/ipc/ipc.c printf("%-11d %7" PRIun " ", (int) cap_handle_raw(cap->handle),
cap 60 kernel/generic/src/synch/syswaitq.c static bool waitq_cap_cleanup_cb(cap_t *cap, void *arg)
cap 62 kernel/generic/src/synch/syswaitq.c kobject_t *kobj = cap_unpublish(cap->task, cap->handle,
cap 65 kernel/generic/src/synch/syswaitq.c cap_free(cap->task, cap->handle);
cap 384 kernel/generic/src/sysinfo/stats.c static bool produce_stats_ipcc_cb(cap_t *cap, void *arg)
cap 386 kernel/generic/src/sysinfo/stats.c phone_t *phone = cap->kobject->phone;
cap 618 uspace/app/terminal/terminal.c const char *cap;
cap 623 uspace/app/terminal/terminal.c cap = caption;
cap 625 uspace/app/terminal/terminal.c cap = "Terminal";
cap 627 uspace/app/terminal/terminal.c ui_window_set_caption(term->window, cap);
cap 100 uspace/drv/audio/hdaudio/pcm_iface.c static unsigned hda_query_cap(ddf_fun_t *fun, audio_cap_t cap)
cap 104 uspace/drv/audio/hdaudio/pcm_iface.c ddf_msg(LVL_DEBUG, "hda_query_cap(%d)", cap);
cap 105 uspace/drv/audio/hdaudio/pcm_iface.c switch (cap) {
cap 274 uspace/drv/audio/sb16/dsp.c unsigned sb_dsp_query_cap(sb_dsp_t *dsp, audio_cap_t cap)
cap 276 uspace/drv/audio/sb16/dsp.c ddf_log_verbose("Querying cap %s", audio_pcm_cap_str(cap));
cap 277 uspace/drv/audio/sb16/dsp.c switch (cap) {
cap 81 uspace/drv/audio/sb16/dsp.h unsigned sb_dsp_query_cap(sb_dsp_t *dsp, audio_cap_t cap);
cap 56 uspace/drv/audio/sb16/pcm_iface.c static unsigned sb_query_cap(ddf_fun_t *fun, audio_cap_t cap)
cap 58 uspace/drv/audio/sb16/pcm_iface.c return sb_dsp_query_cap(fun_to_dsp(fun), cap);
cap 522 uspace/drv/block/ahci/ahci_hw.h uint32_t cap;
cap 63 uspace/drv/bus/usb/xhci/debug.c void xhci_dump_cap_regs(const xhci_cap_regs_t *cap)
cap 67 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_LENGTH);
cap 68 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_VERSION);
cap 69 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_MAX_SLOTS);
cap 70 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_MAX_INTRS);
cap 71 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_MAX_PORTS);
cap 72 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_IST);
cap 73 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_ERST_MAX);
cap 74 uspace/drv/bus/usb/xhci/debug.c usb_log_debug(PX "%u", "Max Scratchpad bufs", xhci_get_max_spbuf(cap));
cap 75 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_SPR);
cap 76 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_U1EL);
cap 77 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_U2EL);
cap 78 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_AC64);
cap 79 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_BNC);
cap 80 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_CSZ);
cap 81 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_PPC);
cap 82 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_PIND);
cap 83 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_C);
cap 84 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_LTC);
cap 85 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_NSS);
cap 86 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_PAE);
cap 87 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_SPC);
cap 88 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_SEC);
cap 89 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_CFC);
cap 90 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_MAX_PSA_SIZE);
cap 91 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_XECP);
cap 92 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_DBOFF);
cap 93 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_RTSOFF);
cap 94 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_U3C);
cap 95 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_CMC);
cap 96 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_FSC);
cap 97 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_CTC);
cap 98 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_LEC);
cap 99 uspace/drv/bus/usb/xhci/debug.c DUMP_REG(cap, XHCI_CAP_CIC);
cap 416 uspace/lib/ata/src/ata.c char *cap = NULL;
cap 446 uspace/lib/ata/src/ata.c rc = asprintf(&cap, " %" PRIu64 " MB.", mbytes);
cap 448 uspace/lib/ata/src/ata.c cap = NULL;
cap 454 uspace/lib/ata/src/ata.c d->blocks, cap);
cap 457 uspace/lib/ata/src/ata.c free(cap);
cap 82 uspace/lib/c/generic/irq.c errno_t ipc_irq_unsubscribe(cap_irq_handle_t cap)
cap 85 uspace/lib/c/generic/irq.c cap_handle_raw(cap));
cap 65 uspace/lib/drv/generic/remote_audio_pcm.c const char *audio_pcm_cap_str(audio_cap_t cap)
cap 76 uspace/lib/drv/generic/remote_audio_pcm.c if (cap >= ARRAY_SIZE(caps))
cap 78 uspace/lib/drv/generic/remote_audio_pcm.c return caps[cap];
cap 228 uspace/lib/drv/generic/remote_audio_pcm.c errno_t audio_pcm_query_cap(audio_pcm_sess_t *sess, audio_cap_t cap, sysarg_t *value)
cap 233 uspace/lib/drv/generic/remote_audio_pcm.c cap, value);
cap 673 uspace/lib/drv/generic/remote_audio_pcm.c const audio_cap_t cap = DEV_IPC_GET_ARG1(*call);
cap 675 uspace/lib/drv/generic/remote_audio_pcm.c const unsigned value = pcm_iface->query_cap(fun, cap);
HelenOS homepage, sources at GitHub