Symbol: helper
lib/libcbor/src/cbor/internal/loaders.c
73
union _cbor_float_helper helper = {.as_uint = _cbor_load_uint32(source)};
lib/libcbor/src/cbor/internal/loaders.c
74
return helper.as_float;
lib/libcbor/src/cbor/internal/loaders.c
78
union _cbor_double_helper helper = {.as_uint = _cbor_load_uint64(source)};
lib/libcbor/src/cbor/internal/loaders.c
79
return helper.as_double;
sys/dev/fdt/rkdrm.c
287
struct drm_fb_helper *helper = &sc->helper;
sys/dev/fdt/rkdrm.c
288
struct rkdrm_framebuffer *sfb = to_rkdrm_framebuffer(helper->fb);
sys/dev/fdt/rkdrm.c
341
drm_fb_helper_restore_fbdev_mode_unlocked(&sc->helper);
sys/dev/fdt/rkdrm.c
352
struct drm_fb_helper *fb_helper = &sc->helper;
sys/dev/fdt/rkdrm.c
366
struct drm_fb_helper *helper = &sc->helper;
sys/dev/fdt/rkdrm.c
413
drm_fb_helper_prepare(&sc->sc_ddev, &sc->helper, 32,
sys/dev/fdt/rkdrm.c
415
if (drm_fb_helper_init(&sc->sc_ddev, &sc->helper)) {
sys/dev/fdt/rkdrm.c
422
sc->helper.fb = malloc(sizeof(struct rkdrm_framebuffer),
sys/dev/fdt/rkdrm.c
425
drm_fb_helper_initial_config(&sc->helper);
sys/dev/fdt/rkdrm.c
429
drm_fb_helper_restore_fbdev_mode_unlocked(&sc->helper);
sys/dev/fdt/rkdrm.c
431
sfb = to_rkdrm_framebuffer(helper->fb);
sys/dev/fdt/rkdrm.c
434
ri->ri_depth = helper->fb->format->depth;
sys/dev/fdt/rkdrm.c
435
ri->ri_width = helper->fb->width;
sys/dev/fdt/rkdrm.c
436
ri->ri_height = helper->fb->height;
sys/dev/fdt/rkdrm.c
476
rkdrm_fb_probe(struct drm_fb_helper *helper, struct drm_fb_helper_surface_size *sizes)
sys/dev/fdt/rkdrm.c
478
struct drm_device *ddev = helper->dev;
sys/dev/fdt/rkdrm.c
479
struct rkdrm_framebuffer *sfb = to_rkdrm_framebuffer(helper->fb);
sys/dev/fdt/rkdrm.c
481
struct drm_framebuffer *fb = helper->fb;
sys/dev/fdt/rkdrm.c
515
info = drm_fb_helper_alloc_info(helper);
sys/dev/fdt/rkdrm.c
520
info->par = helper;
sys/dev/fdt/rkdrm.h
79
struct drm_fb_helper helper;
sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c
4064
struct drm_fb_helper *helper = adev_to_drm(adev)->fb_helper;
sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c
4066
drm_fb_helper_blank(adev->burner_fblank, helper->info);
sys/dev/pci/drm/drm_fb_helper.c
140
struct drm_fb_helper *helper = info->par;
sys/dev/pci/drm/drm_fb_helper.c
144
list_for_each_entry(helper, &kernel_fb_helper_list, kernel_fb_list) {
sys/dev/pci/drm/drm_fb_helper.c
145
mutex_lock(&helper->client.modeset_mutex);
sys/dev/pci/drm/drm_fb_helper.c
146
drm_client_for_each_modeset(mode_set, &helper->client) {
sys/dev/pci/drm/drm_fb_helper.c
163
mutex_unlock(&helper->client.modeset_mutex);
sys/dev/pci/drm/drm_fb_helper.c
176
struct drm_fb_helper *helper = info->par;
sys/dev/pci/drm/drm_fb_helper.c
177
struct drm_client_dev *client = &helper->client;
sys/dev/pci/drm/drm_fb_helper.c
179
struct drm_device *dev = helper->dev;
sys/dev/pci/drm/drm_fb_helper.c
280
struct drm_fb_helper *helper;
sys/dev/pci/drm/drm_fb_helper.c
283
list_for_each_entry(helper, &kernel_fb_helper_list, kernel_fb_list) {
sys/dev/pci/drm/drm_fb_helper.c
284
struct drm_device *dev = helper->dev;
sys/dev/pci/drm/drm_fb_helper.c
289
mutex_lock(&helper->lock);
sys/dev/pci/drm/drm_fb_helper.c
290
drm_client_modeset_commit_locked(&helper->client);
sys/dev/pci/drm/drm_fb_helper.c
291
mutex_unlock(&helper->lock);
sys/dev/pci/drm/drm_fb_helper.c
360
struct drm_fb_helper *helper = container_of(work, struct drm_fb_helper,
sys/dev/pci/drm/drm_fb_helper.c
364
fb_set_suspend(helper->info, 0);
sys/dev/pci/drm/drm_fb_helper.c
369
static void drm_fb_helper_fb_dirty(struct drm_fb_helper *helper)
sys/dev/pci/drm/drm_fb_helper.c
371
struct drm_device *dev = helper->dev;
sys/dev/pci/drm/drm_fb_helper.c
372
struct drm_clip_rect *clip = &helper->damage_clip;
sys/dev/pci/drm/drm_fb_helper.c
377
if (drm_WARN_ON_ONCE(dev, !helper->funcs->fb_dirty))
sys/dev/pci/drm/drm_fb_helper.c
380
spin_lock_irqsave(&helper->damage_lock, flags);
sys/dev/pci/drm/drm_fb_helper.c
384
spin_unlock_irqrestore(&helper->damage_lock, flags);
sys/dev/pci/drm/drm_fb_helper.c
386
ret = helper->funcs->fb_dirty(helper, &clip_copy);
sys/dev/pci/drm/drm_fb_helper.c
397
spin_lock_irqsave(&helper->damage_lock, flags);
sys/dev/pci/drm/drm_fb_helper.c
402
spin_unlock_irqrestore(&helper->damage_lock, flags);
sys/dev/pci/drm/drm_fb_helper.c
407
struct drm_fb_helper *helper = container_of(work, struct drm_fb_helper, damage_work);
sys/dev/pci/drm/drm_fb_helper.c
409
drm_fb_helper_fb_dirty(helper);
sys/dev/pci/drm/drm_fb_helper.c
422
void drm_fb_helper_prepare(struct drm_device *dev, struct drm_fb_helper *helper,
sys/dev/pci/drm/drm_fb_helper.c
440
INIT_LIST_HEAD(&helper->kernel_fb_list);
sys/dev/pci/drm/drm_fb_helper.c
441
mtx_init(&helper->damage_lock, IPL_TTY);
sys/dev/pci/drm/drm_fb_helper.c
442
INIT_WORK(&helper->resume_work, drm_fb_helper_resume_worker);
sys/dev/pci/drm/drm_fb_helper.c
443
INIT_WORK(&helper->damage_work, drm_fb_helper_damage_work);
sys/dev/pci/drm/drm_fb_helper.c
444
helper->damage_clip.x1 = helper->damage_clip.y1 = ~0;
sys/dev/pci/drm/drm_fb_helper.c
445
rw_init(&helper->lock, "fbhlk");
sys/dev/pci/drm/drm_fb_helper.c
446
helper->funcs = funcs;
sys/dev/pci/drm/drm_fb_helper.c
447
helper->dev = dev;
sys/dev/pci/drm/drm_fb_helper.c
448
helper->preferred_bpp = preferred_bpp;
sys/dev/pci/drm/drm_fb_helper.c
623
static void drm_fb_helper_add_damage_clip(struct drm_fb_helper *helper, u32 x, u32 y,
sys/dev/pci/drm/drm_fb_helper.c
626
struct drm_clip_rect *clip = &helper->damage_clip;
sys/dev/pci/drm/drm_fb_helper.c
629
spin_lock_irqsave(&helper->damage_lock, flags);
sys/dev/pci/drm/drm_fb_helper.c
634
spin_unlock_irqrestore(&helper->damage_lock, flags);
sys/dev/pci/drm/drm_fb_helper.c
637
static void drm_fb_helper_damage(struct drm_fb_helper *helper, u32 x, u32 y,
sys/dev/pci/drm/drm_fb_helper.c
651
drm_fb_helper_add_damage_clip(helper, x, y, width, height);
sys/dev/pci/drm/drm_fb_helper.c
653
schedule_work(&helper->damage_work);
sys/dev/pci/drm/drm_fb_helper.c
726
struct drm_fb_helper *helper = info->par;
sys/dev/pci/drm/drm_fb_helper.c
753
drm_fb_helper_damage(helper, damage_area.x1, damage_area.y1,
sys/dev/pci/drm/drm_fbdev_dma.c
185
static int drm_fbdev_dma_helper_fb_dirty(struct drm_fb_helper *helper,
sys/dev/pci/drm/drm_fbdev_dma.c
188
struct drm_device *dev = helper->dev;
sys/dev/pci/drm/drm_fbdev_dma.c
195
if (helper->fb->funcs->dirty) {
sys/dev/pci/drm/drm_fbdev_dma.c
196
ret = drm_fbdev_dma_damage_blit(helper, clip);
sys/dev/pci/drm/drm_fbdev_dma.c
200
ret = helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1);
sys/dev/pci/drm/drm_fbdev_shmem.c
107
static int drm_fbdev_shmem_helper_fb_dirty(struct drm_fb_helper *helper,
sys/dev/pci/drm/drm_fbdev_shmem.c
110
struct drm_device *dev = helper->dev;
sys/dev/pci/drm/drm_fbdev_shmem.c
117
if (helper->fb->funcs->dirty) {
sys/dev/pci/drm/drm_fbdev_shmem.c
118
ret = helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1);
sys/dev/pci/drm/drm_fbdev_ttm.c
149
static int drm_fbdev_ttm_helper_fb_dirty(struct drm_fb_helper *helper,
sys/dev/pci/drm/drm_fbdev_ttm.c
152
struct drm_device *dev = helper->dev;
sys/dev/pci/drm/drm_fbdev_ttm.c
159
ret = drm_fbdev_ttm_damage_blit(helper, clip);
sys/dev/pci/drm/drm_fbdev_ttm.c
163
if (helper->fb->funcs->dirty) {
sys/dev/pci/drm/drm_fbdev_ttm.c
164
ret = helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1);
sys/dev/pci/drm/i915/display/intel_fbdev.c
178
static int intelfb_dirty(struct drm_fb_helper *helper, struct drm_clip_rect *clip)
sys/dev/pci/drm/i915/display/intel_fbdev.c
183
if (helper->fb->funcs->dirty)
sys/dev/pci/drm/i915/display/intel_fbdev.c
184
return helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1);
sys/dev/pci/drm/i915/display/intel_fbdev.c
247
int intel_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
sys/dev/pci/drm/i915/display/intel_fbdev.c
250
struct intel_display *display = to_intel_display(helper->dev);
sys/dev/pci/drm/i915/display/intel_fbdev.c
251
struct intel_fbdev *ifbdev = to_intel_fbdev(helper);
sys/dev/pci/drm/i915/display/intel_fbdev.c
309
info = drm_fb_helper_alloc_info(helper);
sys/dev/pci/drm/i915/display/intel_fbdev.c
316
helper->funcs = &intel_fb_helper_funcs;
sys/dev/pci/drm/i915/display/intel_fbdev.c
317
helper->fb = &fb->base;
sys/dev/pci/drm/i915/display/intel_fbdev.c
347
struct drm_framebuffer *fb = helper->fb;
sys/dev/pci/drm/i915/display/intel_fbdev.h
19
int intel_fbdev_driver_fbdev_probe(struct drm_fb_helper *helper,
sys/dev/pci/drm/i915/i915_driver.c
2156
struct drm_fb_helper *helper = dev->fb_helper;
sys/dev/pci/drm/i915/i915_driver.c
2158
drm_fb_helper_blank(dev_priv->burner_fblank, helper->info);
sys/dev/pci/drm/include/drm/drm_fb_helper.h
111
void (*fb_set_suspend)(struct drm_fb_helper *helper, bool suspend);
sys/dev/pci/drm/include/drm/drm_fb_helper.h
249
void drm_fb_helper_prepare(struct drm_device *dev, struct drm_fb_helper *helper,
sys/dev/pci/drm/include/drm/drm_fb_helper.h
253
int drm_fb_helper_init(struct drm_device *dev, struct drm_fb_helper *helper);
sys/dev/pci/drm/include/drm/drm_fb_helper.h
254
void drm_fb_helper_fini(struct drm_fb_helper *helper);
sys/dev/pci/drm/include/drm/drm_fb_helper.h
294
struct drm_fb_helper *helper,
sys/dev/pci/drm/include/drm/drm_fb_helper.h
305
struct drm_fb_helper *helper)
sys/dev/pci/drm/include/drm/drm_fb_helper.h
308
helper->dev = dev;
sys/dev/pci/drm/include/drm/drm_fb_helper.h
309
dev->fb_helper = helper;
sys/dev/pci/drm/include/drm/drm_fb_helper.h
314
static inline void drm_fb_helper_fini(struct drm_fb_helper *helper)
sys/dev/pci/drm/include/drm/drm_fb_helper.h
316
if (helper && helper->dev)
sys/dev/pci/drm/include/drm/drm_fb_helper.h
317
helper->dev->fb_helper = NULL;
sys/dev/pci/drm/include/drm/drm_fb_helper.h
84
int (*fb_dirty)(struct drm_fb_helper *helper, struct drm_clip_rect *clip);
sys/dev/pci/drm/include/drm/drm_fb_helper.h
97
void (*fb_restore)(struct drm_fb_helper *helper);
sys/dev/pci/drm/radeon/radeon_fbdev.c
370
struct drm_fb_helper *helper = rdev_to_drm(rdev)->fb_helper;
sys/dev/pci/drm/radeon/radeon_fbdev.c
372
drm_fb_helper_blank(rdev->burner_fblank, helper->info);
sys/dev/pv/viogpu.c
662
viogpu_fb_probe(struct drm_fb_helper *helper,
sys/dev/pv/viogpu.c
665
struct viogpu_softc *sc = helper->dev->dev_private;
sys/dev/pv/viogpu.c
666
struct drm_device *ddev = helper->dev;
sys/dev/pv/viogpu.c
667
struct viogpu_framebuffer *sfb = to_viogpu_framebuffer(helper->fb);
sys/dev/pv/viogpu.c
669
struct drm_framebuffer *fb = helper->fb;
sys/dev/pv/viogpu.c
706
info = drm_fb_helper_alloc_fbi(helper);
sys/dev/pv/viogpu.c
711
info->par = helper;
usr.bin/ssh/ssh-pkcs11-client.c
101
helper_add_key(struct helper *helper, struct sshkey *key)
usr.bin/ssh/ssh-pkcs11-client.c
105
helper->keyblobs = xrecallocarray(helper->keyblobs, helper->nkeyblobs,
usr.bin/ssh/ssh-pkcs11-client.c
106
helper->nkeyblobs + 1, sizeof(*helper->keyblobs));
usr.bin/ssh/ssh-pkcs11-client.c
107
if ((helper->keyblobs[helper->nkeyblobs] = sshbuf_new()) == NULL)
usr.bin/ssh/ssh-pkcs11-client.c
109
if ((r = sshkey_putb(key, helper->keyblobs[helper->nkeyblobs])) != 0)
usr.bin/ssh/ssh-pkcs11-client.c
111
helper->nkeyblobs++;
usr.bin/ssh/ssh-pkcs11-client.c
113
sshkey_type(key), helper->path, helper->nkeyblobs);
usr.bin/ssh/ssh-pkcs11-client.c
117
helper_terminate(struct helper *helper)
usr.bin/ssh/ssh-pkcs11-client.c
122
if (helper == NULL)
usr.bin/ssh/ssh-pkcs11-client.c
124
if (helper->path == NULL)
usr.bin/ssh/ssh-pkcs11-client.c
128
helper->path, helper->nkeyblobs);
usr.bin/ssh/ssh-pkcs11-client.c
130
close(helper->fd);
usr.bin/ssh/ssh-pkcs11-client.c
132
helper->fd = -1;
usr.bin/ssh/ssh-pkcs11-client.c
133
helper->pid = -1;
usr.bin/ssh/ssh-pkcs11-client.c
137
if (helpers[i] == helper) {
usr.bin/ssh/ssh-pkcs11-client.c
149
for (i = 0; i < helper->nkeyblobs; i++)
usr.bin/ssh/ssh-pkcs11-client.c
150
sshbuf_free(helper->keyblobs[i]);
usr.bin/ssh/ssh-pkcs11-client.c
151
free(helper->path);
usr.bin/ssh/ssh-pkcs11-client.c
152
free(helper);
usr.bin/ssh/ssh-pkcs11-client.c
232
struct helper *helper;
usr.bin/ssh/ssh-pkcs11-client.c
243
if ((helper = helper_by_key(key)) == NULL || helper->fd == -1)
usr.bin/ssh/ssh-pkcs11-client.c
254
send_msg(helper->fd, msg);
usr.bin/ssh/ssh-pkcs11-client.c
257
if ((status = recv_msg(helper->fd, msg)) != SSH2_AGENT_SIGN_RESPONSE) {
usr.bin/ssh/ssh-pkcs11-client.c
290
struct helper *helper = NULL;
usr.bin/ssh/ssh-pkcs11-client.c
294
if ((helper = helper_by_key(priv)) == NULL || helper->fd == -1)
usr.bin/ssh/ssh-pkcs11-client.c
298
sshkey_type(priv), sshkey_type(certpub), helper->path);
usr.bin/ssh/ssh-pkcs11-client.c
316
helper_add_key(helper, ret);
usr.bin/ssh/ssh-pkcs11-client.c
319
helper->path, helper->nkeyblobs);
usr.bin/ssh/ssh-pkcs11-client.c
326
static struct helper *
usr.bin/ssh/ssh-pkcs11-client.c
331
struct helper *helper;
usr.bin/ssh/ssh-pkcs11-client.c
341
helper = xcalloc(1, sizeof(*helper));
usr.bin/ssh/ssh-pkcs11-client.c
346
free(helper);
usr.bin/ssh/ssh-pkcs11-client.c
369
helper->fd = pair[0];
usr.bin/ssh/ssh-pkcs11-client.c
370
helper->path = xstrdup(path);
usr.bin/ssh/ssh-pkcs11-client.c
371
helper->pid = pid;
usr.bin/ssh/ssh-pkcs11-client.c
373
helper->path, helper->fd, (long)helper->pid);
usr.bin/ssh/ssh-pkcs11-client.c
376
helpers[nhelpers++] = helper;
usr.bin/ssh/ssh-pkcs11-client.c
377
return helper;
usr.bin/ssh/ssh-pkcs11-client.c
389
struct helper *helper;
usr.bin/ssh/ssh-pkcs11-client.c
391
if ((helper = helper_by_provider(name)) == NULL &&
usr.bin/ssh/ssh-pkcs11-client.c
392
(helper = pkcs11_start_helper(name)) == NULL)
usr.bin/ssh/ssh-pkcs11-client.c
395
debug3_f("add %s", helper->path);
usr.bin/ssh/ssh-pkcs11-client.c
403
send_msg(helper->fd, msg);
usr.bin/ssh/ssh-pkcs11-client.c
406
type = recv_msg(helper->fd, msg);
usr.bin/ssh/ssh-pkcs11-client.c
421
helper_add_key(helper, k);
usr.bin/ssh/ssh-pkcs11-client.c
436
helper_terminate(helper);
usr.bin/ssh/ssh-pkcs11-client.c
445
struct helper *helper;
usr.bin/ssh/ssh-pkcs11-client.c
452
if ((helper = helper_by_provider(name)) != NULL)
usr.bin/ssh/ssh-pkcs11-client.c
453
helper_terminate(helper);
usr.bin/ssh/ssh-pkcs11-client.c
460
struct helper *helper;
usr.bin/ssh/ssh-pkcs11-client.c
467
if ((helper = helper_by_key(key)) == NULL || helper->fd == -1)
usr.bin/ssh/ssh-pkcs11-client.c
475
for (i = 0; i < helper->nkeyblobs; i++) {
usr.bin/ssh/ssh-pkcs11-client.c
476
if (sshbuf_equals(keyblob, helper->keyblobs[i]) == 0) {
usr.bin/ssh/ssh-pkcs11-client.c
481
helper->keyblobs[i - 1] = helper->keyblobs[i];
usr.bin/ssh/ssh-pkcs11-client.c
484
helper->keyblobs = xrecallocarray(helper->keyblobs,
usr.bin/ssh/ssh-pkcs11-client.c
485
helper->nkeyblobs, helper->nkeyblobs - 1,
usr.bin/ssh/ssh-pkcs11-client.c
486
sizeof(*helper->keyblobs));
usr.bin/ssh/ssh-pkcs11-client.c
487
helper->nkeyblobs--;
usr.bin/ssh/ssh-pkcs11-client.c
489
if (helper->nkeyblobs == 0)
usr.bin/ssh/ssh-pkcs11-client.c
490
helper_terminate(helper);
usr.bin/ssh/ssh-pkcs11-client.c
54
static struct helper **helpers;
usr.bin/ssh/ssh-pkcs11-client.c
57
static struct helper *
usr.bin/ssh/ssh-pkcs11-client.c
72
static struct helper *
usr.bin/ssh/ssh-sk-client.c
100
debug_f("starting %s %s", helper,
usr.bin/ssh/ssh-sk-client.c
102
execlp(helper, helper, verbosity, (char *)NULL);
usr.bin/ssh/ssh-sk-client.c
50
char execbuf[100], *helper, *verbosity = NULL;
usr.bin/ssh/ssh-sk-client.c
56
helper = getenv("SSH_SK_HELPER");
usr.bin/ssh/ssh-sk-client.c
57
if (helper == NULL || strlen(helper) == 0)
usr.bin/ssh/ssh-sk-client.c
58
helper = _PATH_SSH_SK_HELPER;