Searched defs:new (Results 1 - 9 of 9) sorted by relevance

/solaris-x11-s12/open-src/app/gfx-utils/sun-src/fbconf_xorg/xf86/
H A DModule.c229 XF86LoadPtr new; local
232 new = xf86confcalloc (1, sizeof (XF86LoadRec));
233 new->load_name = name;
234 new->load_type = type;
235 new->load_opt = opts;
236 new->ignore = 0;
237 new->list.next = NULL;
240 new->load_comment = xf86addComment(new->load_comment, val.str);
244 return ((XF86LoadPtr) xf86addListItem ((glp) head, (glp) new));
[all...]
H A Dread.c317 xf86addListItem (GenericListPtr head, GenericListPtr new) argument
330 last->next = new;
334 return (new);
H A DFlags.c207 * Append a new Option record to the specified Option list if the
218 char *name, /* Ptr to new option name string */
219 char *val, /* Ptr to new option value string */
227 XF86OptionPtr new; /* Ptr to new or existing option */ local
238 new = xf86confcalloc (1, sizeof (XF86OptionRec));
239 new->list.next = NULL;
245 new = old;
248 new->opt_name = name;
249 new
[all...]
/solaris-x11-s12/open-src/kernel/drm/src/
H A Ddrm_lock.c167 unsigned int old, new; local
173 new = old | _DRM_LOCK_CONT;
175 new = context | _DRM_LOCK_HELD |
179 } while (!atomic_cmpset_int(lock, old, new));
191 if ((_DRM_LOCKING_CONTEXT(new)) == context && (new & _DRM_LOCK_HELD)) {
213 unsigned int old, new; local
219 new = context | _DRM_LOCK_HELD;
220 } while (!atomic_cmpset_int(lock, old, new));
237 unsigned int old, new; local
[all...]
H A Ddrm_context.c81 * Allocate a new idr from drm_device::ctx_idr while holding the
237 * \param new new context handle.
242 static int drm_context_switch(struct drm_device * dev, int old, int new) argument
249 DRM_DEBUG("Context switch from %d to %d\n", old, new);
251 if (new == dev->last_context) {
263 * \param new new context handle.
271 struct drm_file *file_priv, int new)
273 dev->last_context = new; /* PR
270 drm_context_switch_complete(struct drm_device *dev, struct drm_file *file_priv, int new) argument
[all...]
H A Ddrm_mm.c497 void drm_mm_replace_node(struct drm_mm_node *old, struct drm_mm_node *new) argument
499 list_replace(&old->node_list, &new->node_list);
500 list_replace(&old->hole_stack, &new->hole_stack);
501 new->hole_follows = old->hole_follows;
502 new->mm = old->mm;
503 new->start = old->start;
504 new->size = old->size;
505 new->color = old->color;
508 new->allocated = 1;
H A Ddrm_crtc_helper.c375 * entire output pipe to be disabled and re-enabled in a new configuration. For
532 * drm_crtc_helper_set_config - set a new config from userspace
538 * Setup a new configuration, provided by the upper layers (either an ioctl call
717 /* Make sure the new CRTC will work with the encoder */
849 * implementing the DPMS connector attribute. It computes the new desired DPMS
1002 const char *old, *new; local
1005 new = drm_get_connector_status_name(connector->status);
1011 old, new);
H A Ddrm_modes.c599 * @new: dst list
604 * Move all the modes from @head to @new.
606 void drm_mode_list_concat(struct list_head *head, struct list_head *new) argument
612 list_move_tail(entry, new, (caddr_t)entry);
804 * Just allocate a new mode, copy the existing mode into it, and return
805 * a pointer to it. Used to create new instances of established modes.
1098 /* go through current modes checking for the new probed mode */
/solaris-x11-s12/open-src/app/mkcookie/sun-src/
H A Dmkcookie.c177 struct addrList *new; local
181 new = calloc(1, sizeof(struct addrList));
182 if (new == NULL) {
186 if ((new->address_length = address_length) > 0) {
187 new->address = malloc(address_length);
188 if (new->address == NULL) {
191 memcpy(new->address, address, (size_t) address_length);
194 new->address = NULL;
195 if ((new->number_length = number_length) > 0) {
196 new
392 Xauth *new; local
543 FILE *old = NULL, *new = NULL; local
[all...]

Completed in 26 milliseconds