Searched defs:eb (Results 1 - 10 of 10) sorted by relevance

/drivers/mtd/tests/
H A Dmtd_stresstest.c66 int eb; local
70 eb = simple_rand();
72 eb = (simple_rand() << 15) | simple_rand();
74 eb %= (ebcnt - 1);
75 if (bbt[eb])
77 return eb;
144 int eb = rand_eb(); local
149 if (bbt[eb + 1]) {
155 addr = eb * mtd->erasesize + offs;
171 int eb local
[all...]
H A Dmtd_torturetest.c37 static int eb = 8; variable
38 module_param(eb, int, S_IRUGO);
39 MODULE_PARM_DESC(eb, "eraseblock number within the selected MTD device");
225 ebcnt, eb, eb + ebcnt - 1, dev);
294 for (i = eb; i < eb + ebcnt; i++) {
305 bad_ebs[i - eb] = 1;
316 for (i = eb; i < eb
[all...]
/drivers/staging/ozwpan/
H A Dozusbsvc1.c32 static int oz_usb_submit_elt(struct oz_elt_buf *eb, struct oz_elt_info *ei, argument
42 spin_lock_bh(&eb->lock);
48 ret = oz_queue_elt_info(eb, isoc, strid, ei);
50 oz_elt_info_free(eb, ei);
51 spin_unlock_bh(&eb->lock);
64 struct oz_elt_buf *eb = &pd->elt_buff; local
87 return oz_usb_submit_elt(eb, ei, usb_ctx, 0, 0);
97 struct oz_elt_buf *eb = &pd->elt_buff; local
108 return oz_usb_submit_elt(eb, ei, usb_ctx, 0, 0);
118 struct oz_elt_buf *eb local
141 struct oz_elt_buf *eb = &pd->elt_buff; local
165 struct oz_elt_buf *eb = &pd->elt_buff; local
241 struct oz_elt_buf *eb; local
[all...]
H A Dozcdev.c150 struct oz_elt_buf *eb; local
163 eb = &pd->elt_buff;
164 ei = oz_elt_info_alloc(eb);
184 spin_lock(&eb->lock);
185 if (oz_queue_elt_info(eb, 0, 0, ei) == 0)
187 spin_unlock(&eb->lock);
193 spin_lock_bh(&eb->lock);
194 oz_elt_info_free(eb, ei);
195 spin_unlock_bh(&eb->lock);
/drivers/scsi/aic94xx/
H A Daic94xx_scb.c386 struct sg_el *eb = &escb->eb[edb_id]; local
390 eb->flags |= ELEMENT_NOT_VALID;
406 escb->eb[i].flags = 0;
H A Daic94xx_hwi.c366 struct sg_el *eb = &escb->eb[k]; local
369 memset(eb, 0, sizeof(*eb));
370 eb->bus_addr = cpu_to_le64(((u64) edb->dma_handle));
371 eb->size = cpu_to_le32(((u32) edb->size));
H A Daic94xx_sas.h480 struct sg_el eb[ASD_EDBS_PER_SCB]; member in struct:empty_scb
/drivers/gpu/drm/i915/
H A Di915_gem_execbuffer.c219 struct eb_objects *eb; local
223 eb = kzalloc(count*sizeof(struct hlist_head) +
226 if (eb == NULL)
227 return eb;
229 eb->and = count - 1;
230 return eb;
234 eb_reset(struct eb_objects *eb) argument
236 memset(eb->buckets, 0, (eb->and+1)*sizeof(struct hlist_head));
240 eb_add_object(struct eb_objects *eb, struc argument
247 eb_get_object(struct eb_objects *eb, unsigned long handle) argument
264 eb_destroy(struct eb_objects *eb) argument
270 i915_gem_execbuffer_relocate_entry(struct drm_i915_gem_object *obj, struct eb_objects *eb, struct drm_i915_gem_relocation_entry *reloc) argument
393 i915_gem_execbuffer_relocate_object(struct drm_i915_gem_object *obj, struct eb_objects *eb) argument
423 i915_gem_execbuffer_relocate_object_slow(struct drm_i915_gem_object *obj, struct eb_objects *eb, struct drm_i915_gem_relocation_entry *relocs) argument
440 i915_gem_execbuffer_relocate(struct drm_device *dev, struct eb_objects *eb, struct list_head *objects) argument
670 i915_gem_execbuffer_relocate_slow(struct drm_device *dev, struct drm_file *file, struct intel_ring_buffer *ring, struct list_head *objects, struct eb_objects *eb, struct drm_i915_gem_exec_object2 *exec, int count) argument
1057 struct eb_objects *eb; local
[all...]
/drivers/isdn/i4l/
H A Disdn_tty.c3730 char eb[2]; local
3740 eb[0] = c;
3741 eb[1] = 0;
3742 isdn_tty_at_cout(eb, info);
3761 eb[0] = c;
3762 eb[1] = 0;
3763 isdn_tty_at_cout(eb, info);
/drivers/mtd/
H A Dmtdswap.c199 static loff_t mtdswap_eb_offset(struct mtdswap_dev *d, struct swap_eb *eb) argument
201 return (loff_t)(eb - d->eb_data) * d->mtd->erasesize;
204 static void mtdswap_eb_detach(struct mtdswap_dev *d, struct swap_eb *eb) argument
209 if (eb->root) {
210 tp = container_of(eb->root, struct mtdswap_tree, root);
214 rb_erase(&eb->rb, eb->root);
218 static void __mtdswap_rb_add(struct rb_root *root, struct swap_eb *eb) argument
227 if (eb->erase_count > cur->erase_count)
233 rb_link_node(&eb
237 mtdswap_rb_add(struct mtdswap_dev *d, struct swap_eb *eb, int idx) argument
266 mtdswap_handle_badblock(struct mtdswap_dev *d, struct swap_eb *eb) argument
294 mtdswap_handle_write_error(struct mtdswap_dev *d, struct swap_eb *eb) argument
336 mtdswap_read_markers(struct mtdswap_dev *d, struct swap_eb *eb) argument
382 mtdswap_write_marker(struct mtdswap_dev *d, struct swap_eb *eb, u16 marker) argument
435 struct swap_eb *eb; local
474 struct swap_eb *eb; local
519 mtdswap_store_eb(struct mtdswap_dev *d, struct swap_eb *eb) argument
548 mtdswap_erase_block(struct mtdswap_dev *d, struct swap_eb *eb) argument
617 struct swap_eb *eb; local
667 struct swap_eb *eb; local
728 struct swap_eb *eb, *oldeb; local
782 mtdswap_gc_eblock(struct mtdswap_dev *d, struct swap_eb *eb) argument
898 struct swap_eb *eb = NULL; local
923 mtdswap_eblk_passes(struct mtdswap_dev *d, struct swap_eb *eb) argument
989 struct swap_eb *eb; local
1074 struct swap_eb *eb; local
1134 struct swap_eb *eb; local
1196 struct swap_eb *eb; local
[all...]

Completed in 1197 milliseconds