• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/ipc/

Lines Matching refs:array

46  *     the per-semaphore array structure.
48 * If multiple semaphores in one array are used, then cache line
49 * trashing on the semaphore array spinlock will limit the scaling.
61 * - A woken up task may not even touch the semaphore array anymore, it may
66 * - UNDO values are stored in an array (one per process and per
67 * semaphore array, lazily allocated). For backwards compatibility, multiple
70 * - There are two lists of the pending operations: a per-array list
71 * and per-semaphore list (stored in the array). This allows to achieve FIFO
211 * performing any operation on the sem array.
436 * The function is called without any locks held, thus the semaphore array
466 * @sma: semaphore array
479 /* if the operation didn't modify the array, then no restart */
501 * altered the array. It must be a decrement, because
531 * @sma: semaphore array.
535 * update_queue must be called after a semaphore in a semaphore array
609 * @sma: semaphore array
616 * actual changes that were performed on the semaphore array.
876 ushort __user *array = arg.array;
900 if(copy_to_user(array, sem_io, nsems*sizeof(ushort)))
919 if (copy_from_user (sem_io, arg.array, nsems*sizeof(ushort))) {
1179 * find_alloc_undo - Lookup (and if not present create) undo array
1181 * @semid: semaphore array id
1185 * array, thus the alloc path is not that straightforward.
1210 /* step 1: figure out the size of the semaphore array */
1225 /* step 3: Acquire the lock on semaphore array */
1362 * and now a new array with received the same id. Check and fail.