/drivers/staging/lustre/include/linux/libcfs/ |
H A D | libcfs_workitem.h | 90 cfs_wi_init(cfs_workitem_t *wi, void *data, cfs_wi_action_t action) argument 92 INIT_LIST_HEAD(&wi->wi_list); 94 wi->wi_running = 0; 95 wi->wi_scheduled = 0; 96 wi->wi_data = data; 97 wi->wi_action = action; 100 void cfs_wi_schedule(struct cfs_wi_sched *sched, cfs_workitem_t *wi); 101 int cfs_wi_deschedule(struct cfs_wi_sched *sched, cfs_workitem_t *wi); 102 void cfs_wi_exit(struct cfs_wi_sched *sched, cfs_workitem_t *wi);
|
/drivers/staging/lustre/lustre/libcfs/ |
H A D | workitem.c | 120 * 0. it only works when called from wi->wi_action. 124 cfs_wi_exit(struct cfs_wi_sched *sched, cfs_workitem_t *wi) argument 131 LASSERT(wi->wi_running); 132 if (wi->wi_scheduled) { /* cancel pending schedules */ 133 LASSERT(!list_empty(&wi->wi_list)); 134 list_del_init(&wi->wi_list); 140 LASSERT(list_empty(&wi->wi_list)); 142 wi->wi_scheduled = 1; /* LBUG future schedule attempts */ 150 * cancel schedule request of workitem \a wi 153 cfs_wi_deschedule(struct cfs_wi_sched *sched, cfs_workitem_t *wi) argument 194 cfs_wi_schedule(struct cfs_wi_sched *sched, cfs_workitem_t *wi) argument 245 cfs_workitem_t *wi; local [all...] |
H A D | hash.c | 961 static int cfs_hash_rehash_worker(cfs_workitem_t *wi); 964 static int cfs_hash_dep_print(cfs_workitem_t *wi) argument 966 struct cfs_hash *hs = container_of(wi, struct cfs_hash, hs_dep_wi); 1868 cfs_hash_rehash_worker(cfs_workitem_t *wi) argument 1870 struct cfs_hash *hs = container_of(wi, struct cfs_hash, hs_rehash_wi); 1955 cfs_wi_exit(cfs_sched_rehash, wi);
|
/drivers/md/persistent-data/ |
H A D | dm-array.c | 777 struct walk_info *wi = context; local 787 r = get_ablock(wi->info, le64_to_cpu(block_le), &block, &ab); 794 r = wi->fn(wi->context, keys[0] * max_entries + i, 795 element_at(wi->info, ab, i)); 801 unlock_ablock(wi->info, block); 809 struct walk_info wi; local 811 wi.info = info; 812 wi.fn = fn; 813 wi [all...] |
/drivers/staging/lustre/lnet/selftest/ |
H A D | rpc.c | 74 int srpc_handle_rpc (swi_workitem_t *wi); 246 int srpc_add_buffer(struct swi_workitem *wi); 518 srpc_add_buffer(struct swi_workitem *wi) argument 520 struct srpc_service_cd *scd = wi->swi_workitem.wi_data; 682 "wi %s scheduled %d running %d, " 958 srpc_handle_rpc(swi_workitem_t *wi) argument 960 struct srpc_server_rpc *rpc = wi->swi_workitem.wi_data; 966 LASSERT(wi == &rpc->srpc_wi); 986 switch (wi->swi_state) { 1019 wi 1135 swi_workitem_t *wi = &rpc->crpc_wi; local 1171 srpc_send_rpc(swi_workitem_t *wi) argument [all...] |
H A D | framework.c | 948 sfw_run_test (swi_workitem_t *wi) argument 950 sfw_test_unit_t *tsu = wi->swi_workitem.wi_data; 954 LASSERT (wi == &tsu->tsu_worker); 992 swi_exit_workitem(wi); 1000 swi_workitem_t *wi; local 1022 wi = &tsu->tsu_worker; 1023 swi_init_workitem(wi, tsu, sfw_run_test, 1026 swi_schedule_workitem(wi);
|
H A D | selftest.h | 438 int srpc_send_rpc(swi_workitem_t *wi); 460 swi_wi_action(cfs_workitem_t *wi) argument 462 swi_workitem_t *swi = container_of(wi, swi_workitem_t, swi_workitem); 478 swi_schedule_workitem(swi_workitem_t *wi) argument 480 cfs_wi_schedule(wi->swi_sched, &wi->swi_workitem);
|
/drivers/acpi/ |
H A D | ec.c | 115 u8 wi; member in struct:transaction 216 if (t->wlen > t->wi) { 218 acpi_ec_write_data(ec, t->wdata[t->wi++]); 233 } else if (t->wlen == t->wi && 270 ec->curr->irq_count = ec->curr->wi = ec->curr->ri = 0;
|
/drivers/net/ethernet/brocade/bna/ |
H A D | bna_hw_defs.h | 380 } wi; member in union:bna_txq_entry::__anon2873
|
H A D | bfi_enet.h | 109 } wi; member in struct:bfi_enet_txq_entry 113 #define wi_hdr wi.base 114 #define wi_ext_hdr wi.ext
|
/drivers/video/fbdev/ |
H A D | leo.c | 451 struct fb_wid_item *wi; local 460 for (i = 0, wi = wl->wl_list; i < wl->wl_count; i++, wi++) { 461 switch (wi->wi_type) { 463 j = (wi->wi_index & 0xf) + 0x40; 467 j = wi->wi_index & 0x3f; 474 sbus_writel(wi->wi_values[0], &lx_krn->krn_value); 487 struct fb_wid_item wi; local 491 wl.wl_list = &wi; 492 wi [all...] |
/drivers/video/fbdev/omap2/dss/ |
H A D | dispc.c | 2596 int dispc_wb_setup(const struct omap_dss_writeback_info *wi, argument 2612 "rot %d, mir %d\n", wi->paddr, wi->p_uv_addr, in_width, 2613 in_height, wi->width, wi->height, wi->color_mode, wi->rotation, 2614 wi->mirror); 2616 r = dispc_ovl_setup_common(plane, caps, wi->paddr, wi [all...] |