Searched refs:new (Results 1 - 25 of 255) sorted by relevance

1234567891011

/drivers/video/fbdev/omap2/
H A DMakefile4 obj-y += displays-new/
/drivers/staging/lustre/lustre/obdclass/
H A Dacl.c96 /* if "new_count == 0", then "new = {a_version, NULL}", NOT NULL. */
102 posix_acl_xattr_header *new; local
107 OBD_ALLOC(new, new_size);
108 if (unlikely(new == NULL))
111 memcpy(new, *header, new_size);
113 *header = new;
117 /* if "new_count == 0", then "new = {0, NULL}", NOT NULL. */
124 ext_acl_xattr_header *new; local
129 OBD_ALLOC(new, ext_size);
130 if (unlikely(new
146 ext_acl_xattr_header *new; local
179 posix_acl_xattr_header *new; local
303 posix_acl_xattr_header *new; local
422 ext_acl_xattr_header *new; local
[all...]
/drivers/mtd/devices/
H A Dphram.c99 struct phram_mtd_list *new; local
102 new = kzalloc(sizeof(*new), GFP_KERNEL);
103 if (!new)
107 new->mtd.priv = ioremap(start, len);
108 if (!new->mtd.priv) {
114 new->mtd.name = name;
115 new->mtd.size = len;
116 new->mtd.flags = MTD_CAP_RAM;
117 new
[all...]
/drivers/block/drbd/
H A Ddrbd_interval.c44 * drbd_insert_interval - insert a new interval into a tree
49 struct rb_node **new = &root->rb_node, *parent = NULL; local
54 while (*new) {
56 rb_entry(*new, struct drbd_interval, rb);
58 parent = *new;
62 new = &(*new)->rb_left;
64 new = &(*new)->rb_right;
66 new
[all...]
/drivers/mtd/
H A Dmtd_blkdevs.c321 int add_mtd_blktrans_dev(struct mtd_blktrans_dev *new) argument
323 struct mtd_blktrans_ops *tr = new->tr;
336 if (new->devnum == -1) {
340 new->devnum = last_devnum+1;
341 list_add_tail(&new->list, &d->list);
344 } else if (d->devnum == new->devnum) {
348 } else if (d->devnum > new->devnum) {
350 list_add_tail(&new->list, &d->list);
357 if (new->devnum == -1)
358 new
[all...]
/drivers/scsi/sym53c8xx_2/
H A Dsym_misc.h65 static inline void __sym_que_add(struct sym_quehead * new, argument
69 flink->blink = new;
70 new->flink = flink;
71 new->blink = blink;
72 blink->flink = new;
126 #define sym_insque(new, pos) __sym_que_add(new, pos, (pos)->flink)
130 #define sym_insque_head(new, head) __sym_que_add(new, head, (head)->flink)
143 #define sym_insque_tail(new, hea
[all...]
/drivers/net/irda/
H A Dsir_dongle.c32 int irda_register_dongle(struct dongle_driver *new) argument
38 __func__, new->driver_name, new->type);
43 if (new->type == drv->type) {
48 list_add(&new->dongle_list, &dongle_list);
/drivers/pci/pcie/aer/
H A Daerdrv.h84 enum pci_ers_result new)
86 if (new == PCI_ERS_RESULT_NO_AER_DRIVER)
89 if (new == PCI_ERS_RESULT_NONE)
95 orig = new;
98 if (new == PCI_ERS_RESULT_NEED_RESET)
83 merge_result(enum pci_ers_result orig, enum pci_ers_result new) argument
/drivers/gpu/drm/
H A Ddrm_lock.c183 unsigned int old, new, prev; local
190 new = old | _DRM_LOCK_CONT;
192 new = context | _DRM_LOCK_HELD |
196 prev = cmpxchg(lock, old, new);
210 if ((_DRM_LOCKING_CONTEXT(new)) == context && (new & _DRM_LOCK_HELD)) {
232 unsigned int old, new, prev; local
238 new = context | _DRM_LOCK_HELD;
239 prev = cmpxchg(lock, old, new);
257 unsigned int old, new, pre local
299 unsigned int old, new, prev; local
[all...]
H A Ddrm_vma_manager.c72 * drm_vma_offset_manager_init - Initialize new offset-manager
77 * Initialize a new offset-manager. The offset and area size available for the
272 * new offset is allocated via drm_vma_offset_add() again. Helper functions like
315 struct drm_vma_offset_file *new, *entry; local
322 new = kmalloc(sizeof(*entry), GFP_KERNEL);
342 if (!new) {
347 new->vm_filp = filp;
348 new->vm_count = 1;
349 rb_link_node(&new->vm_rb, parent, iter);
350 rb_insert_color(&new
[all...]
/drivers/lguest/
H A Dlguest_user.c52 * we'll continue to use the old array and just won't see the new one.
76 * add new eventfds without ever blocking readers from accessing the array.
81 * We allocate a brand new one-larger array, copy the old one and add our new
82 * element. Then we make the lg eventfd pointer point to the new array.
92 struct lg_eventfd_map *new, *old = lg->eventfds; local
102 * Replace the old array with the new one, carefully: others can
105 new = kmalloc(sizeof(*new) + sizeof(new
[all...]
/drivers/char/agp/
H A Dgeneric.c114 struct agp_memory *new; local
120 new = kzalloc(sizeof(struct agp_memory), GFP_KERNEL);
121 if (new == NULL)
124 new->key = agp_get_key();
126 if (new->key < 0) {
127 kfree(new);
131 agp_alloc_page_array(alloc_size, new);
133 if (new->pages == NULL) {
134 agp_free_key(new->key);
135 kfree(new);
144 struct agp_memory *new; local
237 struct agp_memory *new; local
1180 struct agp_memory *new; local
[all...]
/drivers/staging/lustre/lustre/ldlm/
H A Dldlm_flock.c81 ldlm_same_flock_owner(struct ldlm_lock *lock, struct ldlm_lock *new) argument
83 return((new->l_policy_data.l_flock.owner ==
85 (new->l_export == lock->l_export));
89 ldlm_flocks_overlap(struct ldlm_lock *lock, struct ldlm_lock *new) argument
91 return((new->l_policy_data.l_flock.start <=
93 (new->l_policy_data.l_flock.end >=
157 * Given a new lock \a req and an existing lock \a bl_lock it conflicts
254 struct ldlm_lock *new = req; local
264 *flags, new->l_policy_data.l_flock.owner,
265 new
[all...]
/drivers/iommu/
H A Diova.c48 unsigned long limit_pfn, struct iova *new)
52 iovad->cached32_node = &new->node;
95 struct iova *new, bool size_aligned)
137 new->pfn_lo = limit_pfn - (size + pad_size) + 1;
138 new->pfn_hi = new->pfn_lo + size - 1;
141 /* Add new node and rebalance tree. */
152 /* Figure out where to put new node */
158 if (new->pfn_lo < this->pfn_lo)
160 else if (new
47 __cached_rbnode_insert_update(struct iova_domain *iovad, unsigned long limit_pfn, struct iova *new) argument
93 __alloc_and_insert_iova_range(struct iova_domain *iovad, unsigned long size, unsigned long limit_pfn, struct iova *new, bool size_aligned) argument
181 struct rb_node **new = &(root->rb_node), *parent = NULL; local
[all...]
/drivers/dma/
H A Dmmp_pdma.c447 struct mmp_pdma_desc_sw *first = NULL, *prev = NULL, *new; local
467 new = mmp_pdma_alloc_descriptor(chan);
468 if (!new) {
477 new->desc.dcmd = chan->dcmd | (DCMD_LENGTH & copy);
478 new->desc.dsadr = dma_src;
479 new->desc.dtadr = dma_dst;
482 first = new;
484 prev->desc.ddadr = new->async_tx.phys;
486 new->async_tx.cookie = 0;
487 async_tx_ack(&new
528 struct mmp_pdma_desc_sw *first = NULL, *prev = NULL, *new = NULL; local
607 struct mmp_pdma_desc_sw *first = NULL, *prev = NULL, *new; local
[all...]
H A Dfsldma.c318 * pausing the channel, after which a new assertion of DREQ# resumes channel
769 struct fsl_desc_sw *first = NULL, *prev = NULL, *new; local
783 new = fsl_dma_alloc_descriptor(chan);
784 if (!new) {
791 set_desc_cnt(chan, &new->hw, copy);
792 set_desc_src(chan, &new->hw, dma_src);
793 set_desc_dst(chan, &new->hw, dma_dst);
796 first = new;
798 set_desc_next(chan, &prev->hw, new->async_tx.phys);
800 new
833 struct fsl_desc_sw *first = NULL, *prev = NULL, *new = NULL; local
[all...]
/drivers/ide/
H A Dns87415.c126 unsigned int bit, other, new, *old = (unsigned int *) hwif->select_data; local
130 new = *old;
136 new &= ~bit;
138 new |= bit;
143 new = use_dma ? ((new & ~other) | bit) : (new & ~bit);
145 if (new != *old) {
158 *old = new;
159 (void) pci_write_config_dword(dev, 0x40, new);
[all...]
/drivers/acpi/
H A Dacpi_memhotplug.c92 struct acpi_memory_info *info, *new; local
110 new = kzalloc(sizeof(struct acpi_memory_info), GFP_KERNEL);
111 if (!new)
114 INIT_LIST_HEAD(&new->list);
115 new->caching = address64.info.mem.caching;
116 new->write_protect = address64.info.mem.write_protect;
117 new->start_addr = address64.minimum;
118 new->length = address64.address_length;
119 list_add_tail(&new->list, &mem_device->res_list);
/drivers/input/joystick/iforce/
H A Diforce-ff.c202 struct ff_effect *new)
207 if (new->type != FF_SPRING && new->type != FF_FRICTION) {
214 ret |= old->u.condition[i].right_saturation != new->u.condition[i].right_saturation
215 || old->u.condition[i].left_saturation != new->u.condition[i].left_saturation
216 || old->u.condition[i].right_coeff != new->u.condition[i].right_coeff
217 || old->u.condition[i].left_coeff != new->u.condition[i].left_coeff
218 || old->u.condition[i].deadband != new->u.condition[i].deadband
219 || old->u.condition[i].center != new->u.condition[i].center;
278 struct ff_effect *new)
200 need_condition_modifier(struct iforce *iforce, struct ff_effect *old, struct ff_effect *new) argument
277 need_period_modifier(struct iforce *iforce, struct ff_effect *old, struct ff_effect *new) argument
295 need_core(struct ff_effect *old, struct ff_effect *new) argument
[all...]
/drivers/watchdog/
H A Dmachzwd.c151 static inline void zf_set_status(unsigned char new) argument
153 zf_writeb(STATUS, new);
164 static inline void zf_set_control(unsigned short new) argument
166 zf_writew(CONTROL, new);
175 static inline void zf_set_timer(unsigned short new, unsigned char n) argument
179 zf_writew(COUNTER_1, new);
181 zf_writeb(COUNTER_2, new > 0xff ? 0xff : new);
/drivers/of/
H A Ddynamic.c257 struct property *new; local
259 new = kzalloc(sizeof(*new), allocflags);
260 if (!new)
269 new->name = kstrdup(prop->name, allocflags);
270 new->value = kmemdup(prop->value, prop->length, allocflags);
271 new->length = prop->length;
272 if (!new->name || !new->value)
276 of_property_set_flag(new, OF_DYNAMI
[all...]
/drivers/pci/
H A Dsetup-res.c34 u32 new, check, mask; local
59 new = region.start | (res->flags & PCI_REGION_FLAG_MASK);
71 new |= PCI_ROM_ADDRESS_ENABLE;
86 pci_write_config_dword(dev, reg, new);
89 if ((new ^ check) & mask) {
91 resno, new, check);
95 new = region.start >> 16 >> 16;
96 pci_write_config_dword(dev, reg + 4, new);
98 if (check != new) {
100 resno, new, chec
[all...]
/drivers/gpu/drm/radeon/
H A Dmkregtable.c57 * Insert a new entry between two known consecutive entries.
63 static inline void __list_add(struct list_head *new, argument
66 next->prev = new;
67 new->next = next;
68 new->prev = prev;
69 prev->next = new;
72 extern void __list_add(struct list_head *new,
77 * list_add - add a new entry
78 * @new: new entr
84 list_add(struct list_head *new, struct list_head *head) argument
97 list_add_tail(struct list_head *new, struct list_head *head) argument
139 list_replace(struct list_head *old, struct list_head *new) argument
147 list_replace_init(struct list_head *old, struct list_head *new) argument
[all...]
/drivers/hid/usbhid/
H A Dusbkbd.c76 * new key is pressed or a key that was pressed is released.
83 * @new: Buffer for the @irq URB
102 unsigned char *new; member in struct:usb_kbd
131 input_report_key(kbd->dev, usb_kbd_keycode[i + 224], (kbd->new[0] >> i) & 1);
135 if (kbd->old[i] > 3 && memscan(kbd->new + 2, kbd->old[i], 6) == kbd->new + 8) {
144 if (kbd->new[i] > 3 && memscan(kbd->old + 2, kbd->new[i], 6) == kbd->old + 8) {
145 if (usb_kbd_keycode[kbd->new[i]])
146 input_report_key(kbd->dev, usb_kbd_keycode[kbd->new[
[all...]
/drivers/xen/
H A Dxen-acpi-memhotplug.c109 struct acpi_memory_info *info, *new; local
126 new = kzalloc(sizeof(struct acpi_memory_info), GFP_KERNEL);
127 if (!new)
130 INIT_LIST_HEAD(&new->list);
131 new->caching = address64.info.mem.caching;
132 new->write_protect = address64.info.mem.write_protect;
133 new->start_addr = address64.minimum;
134 new->length = address64.address_length;
135 list_add_tail(&new->list, &mem_device->res_list);

Completed in 538 milliseconds

1234567891011