Searched refs:reservation (Results 1 - 200 of 232) sorted by relevance

12

/linux-4.1.27/drivers/dma-buf/
H A DMakefile1 obj-y := dma-buf.o fence.o reservation.o seqno-fence.o
H A Ddma-buf.c34 #include <linux/reservation.h>
59 * driver that uses the reservation objects. dma_buf_release()
H A Dreservation.c35 #include <linux/reservation.h>
H A Dfence.c150 * directly or indirectly (buf-mgr between reservation and committing)
/linux-4.1.27/drivers/usb/wusbcore/
H A Dreservation.c2 * WUSB cluster reservation management
27 * FIXME: consider adjusting the reservation depending on what devices
40 * wusbhc_rsv_complete_cb - WUSB HC reservation complete callback
41 * @rsv: the reservation
43 * Either set or clear the HC's view of the reservation.
45 * FIXME: when a reservation is denied the HC should be stopped.
57 dev_dbg(dev, "established reservation: %*pb\n", wusbhc_rsv_complete_cb()
62 dev_dbg(dev, "removed reservation\n"); wusbhc_rsv_complete_cb()
66 dev_dbg(dev, "unexpected reservation state: %d\n", rsv->state); wusbhc_rsv_complete_cb()
73 * wusbhc_rsv_establish - establish a reservation for the cluster
74 * @wusbhc: the WUSB HC requesting a bandwidth reservation
111 * wusbhc_rsv_terminate - terminate the cluster reservation
112 * @wusbhc: the WUSB host whose reservation is to be terminated
H A DMakefile15 reservation.o \
H A Dmmc.c189 * Establishes a cluster reservation, enables device connections, and
202 dev_err(dev, "cannot establish cluster reservation: %d\n", wusbhc_start()
250 * Stops the WUSB channel and removes the cluster reservation.
H A Dwusbhc.h272 struct uwb_rsv *rsv; /* cluster bandwidth reservation */
418 /* Bandwidth reservation */
H A Ddevconnect.c186 * Devices are always available within the cluster reservation wusbhc_cack_add()
188 * per-device availability and the cluster reservation, the wusbhc_cack_add()
/linux-4.1.27/fs/ocfs2/
H A Dreservations.h43 #define OCFS2_RESV_FLAG_TMP 0x02 /* Temporary reservation, will be
73 * ocfs2_resv_discard() - truncate a reservation
75 * @resv: the reservation to truncate.
77 * After this function is called, the reservation will be empty, and
98 * ocfs2_resmap_restart() - "restart" a reservation bitmap
103 * Re-initialize the parameters of a reservation bitmap. This is
114 * ocfs2_resmap_uninit() - uninitialize a reservation bitmap structure
120 * ocfs2_resmap_resv_bits() - Return still-valid reservation bits
122 * @resv: reservation to base search from
126 * Using the reservation data from resv, this function will compare
128 * the reservation window is still clear to use. If resv is empty,
141 * ocfs2_resmap_claimed_bits() - Tell the reservation code that bits were used.
143 * @resv: optional reservation to recalulate based on new bitmap
147 * Tell the reservation code that bits were used to fulfill allocation in
149 * reservation. But we must always call this function when bits are claimed.
H A Dreservations.c134 "reservation %d covers an allocated area " ocfs2_validate_resmap_bits()
156 mlog(ML_ERROR, "reservation %d has bad start off!\n", ocfs2_check_resmap()
162 mlog(ML_ERROR, "reservation %d has no length!\n", ocfs2_check_resmap()
168 mlog(ML_ERROR, "reservation %d has invalid range!\n", ocfs2_check_resmap()
174 mlog(ML_ERROR, "reservation %d extends past bitmap!\n", ocfs2_check_resmap()
343 mlog(ML_ERROR, "Duplicate reservation window!\n"); ocfs2_resv_insert()
359 * @resmap: reservation map to search
385 /* Check if we overshot the reservation just before goal? */ ocfs2_find_resv_lhs()
530 * reservation can safely be placed there. __ocfs2_resv_find_window()
585 * tree. See if a reservation between this __ocfs2_resv_find_window()
645 * Take the first reservation off the LRU as our 'target'. We ocfs2_cannibalize_resv()
658 * Cannibalize (some or all) of the target reservation and ocfs2_cannibalize_resv()
H A Docfs2_ioctl.h32 * Space reservation / allocation / free ioctls and argument structure
H A Dmove_extents.c275 * should be using allocation reservation strategy there? ocfs2_defrag_extent()
H A Dfile.c656 /* Release unused quota reservation */ __ocfs2_extend_allocation()
1438 * Nothing to do if the requested reservation range ocfs2_allocate_unwritten_extents()
/linux-4.1.27/fs/ext2/
H A Dballoc.c178 * The reservation window structure operations
183 * We use a red-black tree to represent per-filesystem reservation
189 * __rsv_window_dump() -- Dump the filesystem block allocation reservation map
190 * @rb_root: root of per-filesystem reservation rb tree
192 * @fn: function which wishes to dump the reservation map
194 * If verbose is turned on, it will print the whole block reservation
215 printk("reservation window 0x%p " __rsv_window_dump()
219 printk("Bad reservation %p (start >= end)\n", __rsv_window_dump()
224 printk("Bad reservation %p (prev->end >= start)\n", __rsv_window_dump()
230 printk("Restarting reservation walk in verbose mode\n"); __rsv_window_dump()
249 * @rsv: inode's reservation window
255 * own block reservation window range.
257 * If the reservation window is outside the goal allocation group, return 0;
260 * If the goal block is within the reservation window, return 1;
283 * @rb_root: root of reservation tree
323 * ext2_rsv_window_add() -- Insert a window to the block reservation rb tree.
325 * @rsv: reservation window to add
360 * rsv_window_remove() -- unlink a window from the reservation rb tree
362 * @rsv: reservation window to remove
364 * Mark the block reservation window as not allocated, and unlink it
365 * from the filesystem reservation window rb tree. Must be called with
378 * rsv_is_empty() -- Check if the reservation window is allocated.
379 * @rsv: given reservation window to check
385 /* a valid reservation end block could not be 0 */ rsv_is_empty()
393 * Allocate and initialize the reservation window structure, and
396 * The reservation window structure is only dynamically allocated
399 * regular files, we should check whether the reservation window
401 * Fail to do so will result in block reservation being turned off for that
405 * when setting the reservation window size through ioctl before the file
425 * reservation window size is set to zero to indicate ext2_init_block_alloc_info()
426 * block reservation is off ext2_init_block_alloc_info()
443 * Discard(free) block reservation window on last file close, or truncate
573 * @maxblocks: the ending block (group relative) of the reservation
648 * @my_rsv: reservation window
655 * if there is a reservation window, only try to allocate block(s)
656 * from the file's own reservation window;
673 /* we do allocation within the reservation window if we have a window */ ext2_try_to_allocate()
679 /* reservation window cross group boundary */ ext2_try_to_allocate()
683 /* reservation window crosses group boundary */ ext2_try_to_allocate()
746 * It does not allocate the reservation window for now:
757 * @size: the target new reservation window size
767 * This could handle the cross boundary reservation window
771 * reservation double linked list, (start_block, last_block)
788 /* TODO: make the start of the reservation window byte-aligned */ find_next_reservable_window()
816 * Reached the last reservation, we can just append to the find_next_reservable_window()
825 * have a reservation across the group boundary here find_next_reservable_window()
837 * return the reservation window that we could append to. find_next_reservable_window()
862 * alloc_new_reservation()--allocate a new reservation window
864 * To make a new reservation, we search part of the filesystem
865 * reservation list (the list that inside the group). We try to
866 * allocate a new reservation window near the allocation goal,
879 * on succeed, a new reservation will be found and inserted into the list
881 * reservation windows.
883 * failed: we failed to find a reservation window in this group
885 * @rsv: the reservation
922 * if the old reservation is cross group boundary alloc_new_reservation()
923 * and if the goal is inside the old reservation window, alloc_new_reservation()
929 * keep the reservation window, just simply move on. alloc_new_reservation()
931 * Maybe we could shift the start block of the reservation alloc_new_reservation()
945 * the reservation window the next time, alloc_new_reservation()
965 * To make sure the reservation window has a free bit inside it, we alloc_new_reservation()
981 * reservation window where there is a reservable space after it. alloc_new_reservation()
1025 * @my_rsv: given reservation window
1029 * Attempt to expand the reservation window large enough to have
1033 * the reservation window range, if the window size is too small,
1034 * multiple blocks allocation has to stop at the end of the reservation
1037 * expand the reservation window size if necessary on a best-effort
1072 * @my_rsv: reservation window
1074 * This is the main function used to allocate a new block and its reservation
1078 * its own reservation. If it does not have a reservation window, instead of
1079 * looking for a free bit on bitmap first, then look up the reservation list to
1080 * see if it is inside somebody else's reservation window, we try to allocate a
1081 * reservation window for it starting from the goal first. Then do the block
1082 * allocation within the reservation window.
1084 * This will avoid keeping on searching the reservation list again and
1086 * reservation), and there are lots of free blocks, but they are all
1089 * We use a red-black tree for the per-filesystem reservation list.
1102 * we don't deal with reservation when ext2_try_to_allocate_with_rsv()
1103 * filesystem is mounted without reservation ext2_try_to_allocate_with_rsv()
1105 * or last attempt to allocate a block with reservation turned on failed ext2_try_to_allocate_with_rsv()
1121 * Basically we will allocate a new block from inode's reservation ext2_try_to_allocate_with_rsv()
1124 * We need to allocate a new reservation window, if: ext2_try_to_allocate_with_rsv()
1125 * a) inode does not have a reservation window; or ext2_try_to_allocate_with_rsv()
1126 * b) last attempt to allocate a block from existing reservation ext2_try_to_allocate_with_rsv()
1128 * c) we come here with a goal and with a reservation window ext2_try_to_allocate_with_rsv()
1130 * We do not need to allocate a new reservation window if we come here ext2_try_to_allocate_with_rsv()
1132 * we don't have a goal but already have a reservation window. ext2_try_to_allocate_with_rsv()
1133 * then we could go to allocate from the reservation window directly. ext2_try_to_allocate_with_rsv()
1250 * Allocate a block from reservation only when ext2_new_blocks()
1251 * filesystem is mounted with reservation(default,-o reservation), and ext2_new_blocks()
1255 * reservation on that particular file) ext2_new_blocks()
1286 * turn off reservation for this allocation ext2_new_blocks()
1330 * free blocks is less than half of the reservation ext2_new_blocks()
H A Dioctl.c142 * need to allocate reservation structure for this inode ext2_ioctl()
H A Dext2.h42 /* information about reservation window */
101 /* root of the per fs reservation window tree */
672 /* block reservation info */
691 * reservation data structures: ext2_reserve_window and
H A Dsuper.c441 {Opt_reservation, "reservation"},
1072 /* per fileystem reservation list head & lock */ ext2_fill_super()
1076 * Add a single, static dummy reservation to the start of the ext2_fill_super()
1077 * reservation window list --- it gives us a placeholder for ext2_fill_super()
/linux-4.1.27/include/linux/ceph/
H A Dtypes.h23 /* context for the caps reservation mechanism */
/linux-4.1.27/fs/ext3/
H A Dballoc.c186 * The reservation window structure operations
191 * We use a red-black tree to represent per-filesystem reservation
197 * __rsv_window_dump() -- Dump the filesystem block allocation reservation map
198 * @rb_root: root of per-filesystem reservation rb tree
200 * @fn: function which wishes to dump the reservation map
202 * If verbose is turned on, it will print the whole block reservation
223 printk("reservation window 0x%p " __rsv_window_dump()
227 printk("Bad reservation %p (start >= end)\n", __rsv_window_dump()
232 printk("Bad reservation %p (prev->end >= start)\n", __rsv_window_dump()
238 printk("Restarting reservation walk in verbose mode\n"); __rsv_window_dump()
257 * @rsv: inode's reservation window
263 * own block reservation window range.
265 * If the reservation window is outside the goal allocation group, return 0;
268 * If the goal block is within the reservation window, return 1;
291 * @rb_root: root of reservation tree
331 * ext3_rsv_window_add() -- Insert a window to the block reservation rb tree.
333 * @rsv: reservation window to add
369 * ext3_rsv_window_remove() -- unlink a window from the reservation rb tree
371 * @rsv: reservation window to remove
373 * Mark the block reservation window as not allocated, and unlink it
374 * from the filesystem reservation window rb tree. Must be called with
387 * rsv_is_empty() -- Check if the reservation window is allocated.
388 * @rsv: given reservation window to check
394 /* a valid reservation end block could not be 0 */ rsv_is_empty()
402 * Allocate and initialize the reservation window structure, and
405 * The reservation window structure is only dynamically allocated
408 * regular files, we should check whether the reservation window
410 * Fail to do so will result in block reservation being turned off for that
414 * when setting the reservation window size through ioctl before the file
434 * reservation window size is set to zero to indicate ext3_init_block_alloc_info()
435 * block reservation is off ext3_init_block_alloc_info()
452 * Discard(free) block reservation window on last file close, or truncate
734 * @maxblocks: the ending block (group relative) of the reservation
859 * @my_rsv: reservation window
866 * if there is a reservation window, only try to allocate block(s) from the
867 * file's own reservation window;
884 /* we do allocation within the reservation window if we have a window */ ext3_try_to_allocate()
890 /* reservation window cross group boundary */ ext3_try_to_allocate()
894 /* reservation window crosses group boundary */ ext3_try_to_allocate()
958 * It does not allocate the reservation window for now:
969 * @my_rsv: the reservation window
981 * This could handle the cross boundary reservation window
985 * reservation double linked list, (start_block, last_block)
1002 /* TODO: make the start of the reservation window byte-aligned */ find_next_reservable_window()
1030 * Reached the last reservation, we can just append to the find_next_reservable_window()
1039 * have a reservation across the group boundary here find_next_reservable_window()
1051 * return the reservation window that we could append to. find_next_reservable_window()
1076 * alloc_new_reservation()--allocate a new reservation window
1078 * To make a new reservation, we search part of the filesystem
1079 * reservation list (the list that inside the group). We try to
1080 * allocate a new reservation window near the allocation goal,
1093 * on succeed, a new reservation will be found and inserted into the list
1095 * reservation windows.
1097 * failed: we failed to find a reservation window in this group
1099 * @my_rsv: the reservation window
1137 * if the old reservation is cross group boundary alloc_new_reservation()
1138 * and if the goal is inside the old reservation window, alloc_new_reservation()
1144 * keep the reservation window, just simply move on. alloc_new_reservation()
1146 * Maybe we could shift the start block of the reservation alloc_new_reservation()
1160 * the reservation window the next time, alloc_new_reservation()
1180 * To make sure the reservation window has a free bit inside it, we alloc_new_reservation()
1196 * reservation window where there is a reservable space after it. alloc_new_reservation()
1245 * @my_rsv: given reservation window
1249 * Attempt to expand the reservation window large enough to have
1253 * the reservation window range, if the window size is too small,
1254 * multiple blocks allocation has to stop at the end of the reservation
1257 * expand the reservation window size if necessary on a best-effort
1292 * @my_rsv: reservation window
1296 * This is the main function used to allocate a new block and its reservation
1300 * its own reservation. If it does not have a reservation window, instead of
1301 * looking for a free bit on bitmap first, then look up the reservation list to
1302 * see if it is inside somebody else's reservation window, we try to allocate a
1303 * reservation window for it starting from the goal first. Then do the block
1304 * allocation within the reservation window.
1306 * This will avoid keeping on searching the reservation list again and
1308 * reservation), and there are lots of free blocks, but they are all
1311 * We use a red-black tree for the per-filesystem reservation list.
1341 * we don't deal with reservation when ext3_try_to_allocate_with_rsv()
1342 * filesystem is mounted without reservation ext3_try_to_allocate_with_rsv()
1344 * or last attempt to allocate a block with reservation turned on failed ext3_try_to_allocate_with_rsv()
1361 * Basically we will allocate a new block from inode's reservation ext3_try_to_allocate_with_rsv()
1364 * We need to allocate a new reservation window, if: ext3_try_to_allocate_with_rsv()
1365 * a) inode does not have a reservation window; or ext3_try_to_allocate_with_rsv()
1366 * b) last attempt to allocate a block from existing reservation ext3_try_to_allocate_with_rsv()
1368 * c) we come here with a goal and with a reservation window ext3_try_to_allocate_with_rsv()
1370 * We do not need to allocate a new reservation window if we come here ext3_try_to_allocate_with_rsv()
1372 * we don't have a goal but already have a reservation window. ext3_try_to_allocate_with_rsv()
1373 * then we could go to allocate from the reservation window directly. ext3_try_to_allocate_with_rsv()
1531 * Allocate a block from reservation only when ext3_new_blocks()
1532 * filesystem is mounted with reservation(default,-o reservation), and ext3_new_blocks()
1536 * reservation on that particular file) ext3_new_blocks()
1564 * turn off reservation for this allocation ext3_new_blocks()
1609 * free blocks is less than half of the reservation ext3_new_blocks()
H A Dfile.c37 /* if we are the last writer on the inode, drop the block reservation */ ext3_release_file()
H A Dioctl.c184 * need to allocate reservation structure for this inode ext3_ioctl()
H A Dext3.h515 /* information about reservation window */
562 /* block reservation info */
664 /* root of the per fs reservation window tree */
H A Dsuper.c866 {Opt_reservation, "reservation"},
1993 /* per fileystem reservation list head & lock */ ext3_fill_super()
1996 /* Add a single, static dummy reservation to the start of the ext3_fill_super()
1997 * reservation window list --- it gives us a placeholder for ext3_fill_super()
/linux-4.1.27/include/linux/
H A Dfalloc.h8 * Space reservation ioctls and argument structure
H A Duwb.h122 * NONE - reservation is not active (no DRP IE being transmitted).
124 * Owner reservation states:
128 * MODIFIED - reservation manager is modifying an established
129 * reservation with a different MAS allocation.
130 * ESTABLISHED - the reservation has been successfully negotiated.
132 * Target reservation states:
170 * struct uwb_rsv_target - the target of a reservation.
198 * struct uwb_rsv - a DRP reservation
202 * @rc: the radio controller this reservation is for
209 * @owner: the UWB device owning this reservation
211 * @type: reservation type
220 * @callback: callback function when the reservation completes
221 * @pal_priv: private data for the PAL making the reservation
226 * @stream: stream index allocated for this reservation
227 * @tiebreaker: conflict tiebreaker for this reservation
230 * @ie_valid: true iff the DRP IE matches the reservation parameters
234 * a WUSB cluster reservation) the responses may be received from
287 * availability. MAS available for a new reservation are determined
432 * @new_rsv: called when a peer requests a reservation (may be NULL if
433 * the PAL cannot accept reservation requests).
604 * uwb_rsv_is_owner - is the owner of this reservation the RC?
605 * @rsv: the reservation
H A Ddma-buf.h120 * @resv: reservation object linked to this dma-buf
171 * @resv: reservation-object, NULL to allocate default one
H A Dfscache.h522 * one-block reservation in the cache into which the page may be stored once
567 * make a potential one-block reservation for each page in the cache into which
617 * nothing more will be done, and no reservation will be made.
/linux-4.1.27/drivers/uwb/
H A Drsv.c2 * UWB reservation management.
83 * uwb_rsv_state_str - return a string for a reservation state
84 * @state: the reservation state.
95 * uwb_rsv_type_str - return a string for a reservation type
96 * @type: the reservation type
141 * Get a free stream index for a reservation.
143 * If the target is a DevAddr (e.g., a WUSB cluster reservation) then
484 * uwb_rsv_create - allocate and initialize a UWB reservation structure
486 * @cb: callback to use when the reservation completes or terminates
489 * The callback is called when the state of the reservation changes from:
534 * uwb_rsv_destroy - free a UWB reservation structure
535 * @rsv: the reservation to free
537 * The reservation must already be terminated.
546 * usb_rsv_establish - start a reservation establishment
547 * @rsv: the reservation
553 * The reservation's callback will be called when the reservation is
604 * uwb_rsv_modify - modify an already established reservation
605 * @rsv: the reservation to modify
619 * move an already established reservation (rc->rsvs_mutex must to be
638 /* We want to move the reservation */ uwb_rsv_try_move()
650 /* It will try to move every reservation in state O_ESTABLISHED giving
652 * plus the allocation already established from the reservation. */ uwb_rsv_handle_drp_avail_change()
674 * uwb_rsv_terminate - terminate an established reservation
675 * @rsv: the reservation to terminate
677 * A reservation is terminated by removing the DRP IE from the beacon,
678 * the other end will consider the reservation to be terminated when
697 * uwb_rsv_accept - accept a new reservation from a peer
698 * @rsv: the reservation
699 * @cb: call back for reservation changes
719 * Is a received DRP IE for this reservation?
768 * See if any PALs are interested in this reservation. If not, uwb_rsv_new_target()
798 * @rsv: the reservation.
801 * The usable MAS of a reservation may be less than the negotiated MAS
812 * uwb_rsv_find - find a reservation for a received DRP IE.
817 * If the reservation cannot be found and the DRP IE is from a peer
818 * attempting to establish a new reservation, create a new reservation
875 * events) and reservation establishment/termination requests from
H A Ddrp.c34 * the following superframe. If the device is the reservation
42 * device is the reservation target, it shall also set the
49 * MASs from the reservation or set the Reservation Status to
51 * device is the reservation target, it shall also set the
98 * in beacon. This could be used to deny reservation requests earlier if
326 } else { /* also base part of the reservation is conflicting */ handle_conflict_expanding()
352 /* check if the conflicting reservation has two drp_ies */ uwb_drp_handle_conflict_rsv()
420 /* accept the extra reservation */ uwb_drp_process_target_accepted()
437 * Based on the DRP IE, transition a target reservation to a new
459 /* check to see if we have already modified the reservation */ uwb_drp_process_target()
508 /* Companion reservation accepted */ uwb_drp_process_owner_accepted()
525 * Based on the DRP IE, transition an owner reservation to a new
628 /* Existing alien BP reservation conflicting uwb_drp_handle_alien_drp()
635 /* New alien BP reservation conflicting bitmap */ uwb_drp_handle_alien_drp()
684 * No reservation? It's either for a recently uwb_drp_process_involved()
685 * terminated reservation; or the DRP IE couldn't be uwb_drp_process_involved()
778 * initiating a new reservation or transitioning an existing
779 * reservation into a different state.
786 * These DRP IEs could be new or for an existing reservation.
788 * If the DRP IE for an existing reservation ceases to be to
789 * received for at least mMaxLostBeacons, the reservation should be
H A Ddrp-avail.c27 * - Allow the reservation manager to indicate MAS reserved/released
68 * uwb_drp_avail_reserve_pending - reserve MAS for a new reservation
87 * uwb_drp_avail_reserve - reserve MAS for an established reservation
99 * uwb_drp_avail_release - release MAS from a pending or established reservation
H A Dallocator.c2 * UWB reservation management.
281 ai->interval = 1; /* row reservation */ uwb_rsv_find_best_row_alloc()
357 /* try row reservation if no column is found */ uwb_rsv_find_best_allocation()
H A Ddrp-ie.c121 * allocation fields. This gives an overhead per reservation of up to
188 * uwb_drp_ie_update - update a reservation's DRP IE
189 * @rsv: the reservation
H A Duwb-debug.c49 * accept: Set to true (Y or 1) to accept reservation requests from
H A Dlc-rc.c315 dev_err(dev, "cannot setup reservation subsystem: %d\n", result); uwb_rc_setup()
/linux-4.1.27/drivers/target/
H A Dtarget_core_pr.c5 * legacy SPC-2 reservations with compatible reservation handling (CRH=1)
146 * status, but no reservation shall be established and the target_check_scsi2_reservation_conflict()
147 * persistent reservation shall not be changed, if the command target_check_scsi2_reservation_conflict()
151 * status, but the persistent reservation shall not be released, target_check_scsi2_reservation_conflict()
154 * a) An I_T nexus that is a persistent reservation holder; or target_check_scsi2_reservation_conflict()
156 * all registrants type persistent reservation is present. target_check_scsi2_reservation_conflict()
234 pr_debug("SCSI-2 Released reservation for %s LUN: %u ->" target_scsi2_reservation_release()
315 * the active PR reservation holder when a reservation is present.
348 * Some commands are only allowed for the persistent reservation core_scsi3_pr_seq_non_holder()
368 * Each registered I_T Nexus is a reservation holder. core_scsi3_pr_seq_non_holder()
497 " reservation holder\n", cdb[0], core_scsi3_pr_seq_non_holder()
504 * WRITE_EXCLUSIVE_* reservation. core_scsi3_pr_seq_non_holder()
512 " %s CDB: 0x%02x to %s reservation\n", core_scsi3_pr_seq_non_holder()
521 * non-registered_nexuxes NOT holding the reservation. core_scsi3_pr_seq_non_holder()
524 * as we expect registered non-reservation holding core_scsi3_pr_seq_non_holder()
530 " for %s reservation on unregistered" core_scsi3_pr_seq_non_holder()
545 " reservation\n", cdb[0], core_scsi3_pr_seq_non_holder()
557 " reservation\n", cdb[0], core_scsi3_pr_seq_non_holder()
564 " for %s reservation\n", transport_dump_cmd_direction(cmd), core_scsi3_pr_seq_non_holder()
856 * Set pr_res_holder from caller, the pr_reg who is the reservation core_scsi3_alloc_aptpl_registration()
865 " metadata\n", (res_holder) ? "+reservation" : ""); core_scsi3_alloc_aptpl_registration()
885 " new reservation holder TYPE: %s ALL_TG_PT: %d\n", core_scsi3_aptpl_reserve()
921 * Look for the matching registrations+reservation from those __core_scsi3_check_aptpl_registration()
949 * If this registration is the reservation holder, __core_scsi3_check_aptpl_registration()
1200 * is being released is holding the reservation. core_scsi3_check_implicit_release()
1204 * e) If the I_T nexus is the persistent reservation holder core_scsi3_check_implicit_release()
1205 * and the persistent reservation is not an all registrants core_scsi3_check_implicit_release()
1214 * For 'All Registrants' reservation types, all existing core_scsi3_check_implicit_release()
1215 * registrations are still processed as reservation holders core_scsi3_check_implicit_release()
1217 * reservation holder is implicitly released here. core_scsi3_check_implicit_release()
1224 " UNREGISTER while existing reservation with matching" core_scsi3_check_implicit_release()
1310 * If the passed se_node_acl matches the reservation holder, core_scsi3_free_pr_reg_from_nacl()
1311 * release the reservation. core_scsi3_free_pr_reg_from_nacl()
1853 * reservation holder. core_scsi3_update_aptpl_buf()
2171 * If the persistent reservation is a registrants only core_scsi3_emulate_pro_register()
2257 * An application client creates a persistent reservation by issuing core_scsi3_pro_reserve()
2260 * a) RESERVATION KEY set to the value of the reservation key that is core_scsi3_pro_reserve()
2274 * b) TYPE field and SCOPE field set to the persistent reservation core_scsi3_pro_reserve()
2277 * Only one persistent reservation is allowed at a time per logical unit core_scsi3_pro_reserve()
2278 * and that persistent reservation has a scope of LU_SCOPE. core_scsi3_pro_reserve()
2286 * See if we have an existing PR reservation holder pointer at core_scsi3_pro_reserve()
2297 * command from an I_T nexus other than a persistent reservation core_scsi3_pro_reserve()
2299 * reservation when a persistent reservation already exists for core_scsi3_pro_reserve()
2306 " [%s]: %s while reservation already held by" core_scsi3_pro_reserve()
2320 * If a persistent reservation holder attempts to modify the core_scsi3_pro_reserve()
2321 * type or scope of an existing persistent reservation, the core_scsi3_pro_reserve()
2329 " while reservation already held by [%s]: %s," core_scsi3_pro_reserve()
2346 * and scope from a persistent reservation holder, it shall not core_scsi3_pro_reserve()
2347 * make any change to the existing persistent reservation and core_scsi3_pro_reserve()
2355 * Otherwise, our *pr_reg becomes the PR reservation holder for said core_scsi3_pro_reserve()
2365 " reservation holder TYPE: %s ALL_TG_PT: %d\n", core_scsi3_pro_reserve()
2419 * Go ahead and release the current PR reservation holder. __core_scsi3_complete_pro_release()
2420 * If an All Registrants reservation is currently active and __core_scsi3_complete_pro_release()
2438 * If the I_T nexus is a reservation holder, the persistent reservation __core_scsi3_complete_pro_release()
2441 * persistent reservation. __core_scsi3_complete_pro_release()
2457 " reservation holder TYPE: %s ALL_TG_PT: %d\n", __core_scsi3_complete_pro_release()
2498 * If there is no persistent reservation or in response to a persistent core_scsi3_emulate_pro_release()
2499 * reservation release request from a registered I_T nexus that is not a core_scsi3_emulate_pro_release()
2500 * persistent reservation holder (see 5.7.10), the device server shall core_scsi3_emulate_pro_release()
2503 * a) Not release the persistent reservation, if any; core_scsi3_emulate_pro_release()
2511 * No persistent reservation, return GOOD status. core_scsi3_emulate_pro_release()
2520 * persistent reservation holder. return GOOD status. core_scsi3_emulate_pro_release()
2529 * Only the persistent reservation holder (see 5.7.10) is allowed to core_scsi3_emulate_pro_release()
2530 * release a persistent reservation. core_scsi3_emulate_pro_release()
2532 * An application client releases the persistent reservation by issuing core_scsi3_emulate_pro_release()
2534 * an I_T nexus that is a persistent reservation holder with the core_scsi3_emulate_pro_release()
2537 * a) RESERVATION KEY field set to the value of the reservation key core_scsi3_emulate_pro_release()
2552 * reservation being released. core_scsi3_emulate_pro_release()
2558 " reservation from [%s]: %s with different TYPE " core_scsi3_emulate_pro_release()
2559 "and/or SCOPE while reservation already held by" core_scsi3_emulate_pro_release()
2571 * In response to a persistent reservation release request from the core_scsi3_emulate_pro_release()
2572 * persistent reservation holder the device server shall perform a core_scsi3_emulate_pro_release()
2574 * a) Release the persistent reservation; core_scsi3_emulate_pro_release()
2576 * c) If the released persistent reservation is a registrants only type core_scsi3_emulate_pro_release()
2577 * or all registrants type persistent reservation, core_scsi3_emulate_pro_release()
2583 * d) If the persistent reservation is of any other type, the device core_scsi3_emulate_pro_release()
2651 * Any application client may release the persistent reservation and core_scsi3_emulate_pro_clear()
2656 * a) RESERVATION KEY field set to the value of the reservation key core_scsi3_emulate_pro_clear()
2668 * a) Release the persistent reservation, if any; core_scsi3_emulate_pro_clear()
2730 * Do an implicit RELEASE of the existing reservation. __core_scsi3_complete_pro_preempt()
2742 " reservation holder TYPE: %s ALL_TG_PT: %d\n", __core_scsi3_complete_pro_preempt()
2750 * For PREEMPT_AND_ABORT, add the preempting reservation's __core_scsi3_complete_pro_preempt()
2834 * persistent reservation holder or there is no persistent reservation core_scsi3_pro_preempt()
2835 * holder (i.e., there is no persistent reservation), then the device core_scsi3_pro_preempt()
2851 * type reservations without a matching SA reservation core_scsi3_pro_preempt()
2880 * reservation, follow logic in spc4r17 section core_scsi3_pro_preempt()
2885 * release of active persistent reservation. core_scsi3_pro_preempt()
2888 * release the matching reservation key from core_scsi3_pro_preempt()
2916 * registered reservation key, then the device server shall core_scsi3_pro_preempt()
2925 * For an existing all registrants type reservation core_scsi3_pro_preempt()
2927 * reservation with the new PR type and scope. core_scsi3_pro_preempt()
2948 * The PREEMPTing SA reservation key matches that of the core_scsi3_pro_preempt()
2949 * existing persistent reservation, first, we check if core_scsi3_pro_preempt()
2950 * we are preempting our own reservation. core_scsi3_pro_preempt()
2954 * If an all registrants persistent reservation is not core_scsi3_pro_preempt()
2956 * reservation holder to preempt itself (i.e., a core_scsi3_pro_preempt()
2960 * persistent reservation holder's reservation key that core_scsi3_pro_preempt()
2961 * is received from the persistent reservation holder). core_scsi3_pro_preempt()
2963 * new persistent reservation and maintain the core_scsi3_pro_preempt()
2970 * persistent reservation holder (see 5.7.10), the device core_scsi3_pro_preempt()
2974 * a) Release the persistent reservation for the holder core_scsi3_pro_preempt()
2985 * OUT command. If an all registrants persistent reservation core_scsi3_pro_preempt()
3010 * persistent reservation and/or registration, with the core_scsi3_pro_preempt()
3018 * c) Establish a persistent reservation for the preempting core_scsi3_pro_preempt()
3028 * whose reservation key was not removed, except for the I_T core_scsi3_pro_preempt()
3055 * All received CDBs for the matching existing reservation and core_scsi3_pro_preempt()
3061 * new persistent reservation holder, the calling Initiator Port. core_scsi3_pro_preempt()
3143 * The provided reservation key much match the existing reservation key core_scsi3_emulate_pro_register_and_move()
3154 * The service active reservation key needs to be non zero core_scsi3_emulate_pro_register_and_move()
3164 * Determine the Relative Target Port Identifier where the reservation core_scsi3_emulate_pro_register_and_move()
3355 * A persistent reservation needs to already existing in order to core_scsi3_emulate_pro_register_and_move()
3361 pr_warn("SPC-3 PR REGISTER_AND_MOVE: No reservation" core_scsi3_emulate_pro_register_and_move()
3368 * The received on I_T Nexus must be the reservation holder. core_scsi3_emulate_pro_register_and_move()
3375 " Nexus is not reservation holder\n"); core_scsi3_emulate_pro_register_and_move()
3381 * From spc4r17 section 5.7.8: registering and moving reservation core_scsi3_emulate_pro_register_and_move()
3384 * action is received and the established persistent reservation is a core_scsi3_emulate_pro_register_and_move()
3386 * All Registrants type reservation, then the command shall be completed core_scsi3_emulate_pro_register_and_move()
3392 " reservation for type: %s\n", core_scsi3_emulate_pro_register_and_move()
3405 * c) Associate the reservation key specified in the SERVICE ACTION core_scsi3_emulate_pro_register_and_move()
3415 * d) Register the reservation key specified in the SERVICE ACTION core_scsi3_emulate_pro_register_and_move()
3417 * e) Retain the reservation key specified in the SERVICE ACTION core_scsi3_emulate_pro_register_and_move()
3422 * reservation key or a different reservation key. core_scsi3_emulate_pro_register_and_move()
3439 * f) Release the persistent reservation for the persistent reservation core_scsi3_emulate_pro_register_and_move()
3445 * g) Move the persistent reservation to the specified I_T nexus using core_scsi3_emulate_pro_register_and_move()
3446 * the same scope and type as the persistent reservation released in core_scsi3_emulate_pro_register_and_move()
3462 " created new reservation holder TYPE: %s on object RTPI:" core_scsi3_emulate_pro_register_and_move()
3466 pr_debug("SPC-3 PR Successfully moved reservation from" core_scsi3_emulate_pro_register_and_move()
3545 " SPC-2 reservation is held, returning" target_scsi3_emulate_pr_out()
3702 * next reservation key list descriptor. core_scsi3_pri_read_keys()
3742 u32 add_len = 16; /* Hardcoded to 16 when a reservation is held. */ core_scsi3_pri_read_reservation()
3777 * A persistent reservation holder has its reservation key core_scsi3_pri_read_reservation()
3781 * a) For a persistent reservation of the type Write Exclusive core_scsi3_pri_read_reservation()
3783 * the reservation key shall be set to zero; or core_scsi3_pri_read_reservation()
3784 * b) For all other persistent reservation types, the core_scsi3_pri_read_reservation()
3785 * reservation key shall be set to the registered core_scsi3_pri_read_reservation()
3786 * reservation key for the I_T nexus that holds the core_scsi3_pri_read_reservation()
3787 * persistent reservation. core_scsi3_pri_read_reservation()
3966 * reservation holder for PR_HOLDER bit. core_scsi3_pri_read_full_status()
3968 * Also, if this registration is the reservation core_scsi3_pri_read_full_status()
3969 * holder or there is an All Registrants reservation core_scsi3_pri_read_full_status()
4060 " SPC-2 reservation is held, returning" target_scsi3_emulate_pr_in()
H A Dtarget_core_tmr.c338 * with a matching reservation key. core_tmr_drain_state_list()
444 * Clear any legacy SPC-2 reservation when called during core_tmr_lun_reset()
453 pr_debug("LUN_RESET: SCSI-2 Released reservation\n"); core_tmr_lun_reset()
H A Dtarget_core_tpg.c171 * Check to see if there are any existing persistent reservation core_tpg_add_node_to_devs()
H A Dtarget_core_xcopy.c518 * Honor source port reservation for X-COPY PULL emulation target_xcopy_setup_pt_port()
H A Dtarget_core_device.c1380 * Check to see if there are any existing persistent reservation APTPL core_dev_add_initiator_node_lun_acl()
H A Dtarget_core_configfs.c1176 pr_err("Illegal PR type: 0x%02x for reservation" target_core_dev_pr_store_attr_res_aptpl_metadata()
/linux-4.1.27/arch/x86/kernel/cpu/
H A Dperfctr-watchdog.c4 * This file also handles reservation of performance counters for coordination
37 * different subsystems this reservation system just tries to coordinate
43 /* converts an msr to an appropriate reservation bit */ nmi_perfctr_msr_to_bit()
69 * converts an msr to an appropriate reservation bit
/linux-4.1.27/include/linux/uwb/
H A Ddebug-cmd.h27 * UWB_DBG_CMD_RSV_ESTABLISH: Establish a new unicast reservation.
29 * UWB_DBG_CMD_RSV_TERMINATE: Terminate the Nth reservation.
H A Dspec.h68 * Number of streams per DRP reservation between a pair of devices.
210 /** DRP reservation types ([ECMA-368 table 106) */
/linux-4.1.27/fs/xfs/
H A Dxfs_trans_dquot.c84 * Carry forward whatever is left of the quota blk reservation to
102 * Because the quota blk reservation is carried forward, xfs_trans_dup_dqinfo()
225 * regular disk blk reservation xfs_trans_mod_dquot()
232 * inode reservation xfs_trans_mod_dquot()
265 * rtblk reservation xfs_trans_mod_dquot()
369 * reservation intentionally to be fair to users xfs_trans_apply_dquot_deltas()
421 * Take off what's left of the original reservation. xfs_trans_apply_dquot_deltas()
423 * reservation that a transaction structure knows of. xfs_trans_apply_dquot_deltas()
451 * Adjust the RT reservation. xfs_trans_apply_dquot_deltas()
472 * Adjust the inode reservation. xfs_trans_apply_dquot_deltas()
528 * Unreserve the original reservation. We don't care xfs_trans_unreserve_and_mod_dquots()
582 * if the blk reservation is for RT or regular blocks.
687 * Change the reservation, but not the actual usage. xfs_trans_dqresv()
695 * note the reservation amt in the trans struct too, xfs_trans_dqresv()
730 * The fact that this does the reservation against user, group and
798 * Lock the dquot and change the reservation if we can.
799 * This doesn't change the actual usage, just the reservation.
H A Dxfs_log_priv.h72 #define XLOG_TIC_PERM_RESERV 0x2 /* permanent reservation */
153 /* Ticket reservation region accounting */
171 int t_curr_res; /* current reservation in bytes : 4 */
172 int t_unit_res; /* unit reservation in bytes : 4 */
176 char t_flags; /* properties of reservation : 1 */
179 /* reservation array fields */
296 * Whatever we choose, we have to make sure we can get a reservation for the
304 * is at least one sector and more for v2 logs. Hence we need a reservation of
306 * 16KB of reservation per megabyte of delayed logging space we will consume,
319 * However, we can avoid this by use of a dynamic "reservation stealing"
320 * technique during transaction commit whereby unused reservation space in the
331 * limited by that. Furthermore, the log transaction reservation subsystem
354 * The reservation head lsn is not made up of a cycle number and block number.
H A Dxfs_quota.h58 ulong qt_blk_res_used; /* blks used from the reservation */
60 ulong qt_ino_res_used; /* inodes used from the reservation */
65 ulong qt_rtblk_res_used;/* # blks used from reservation */
H A Dxfs_log.c293 * needed reservation is satisfied.
296 * necessary because every new transaction reservation will come through this
368 * Replenish the byte reservation required by moving the grant write head.
424 * Reserve log space and return a ticket corresponding the reservation.
426 * Each reservation is going to reserve extra space for a log record header.
428 * log record header from any reservation. By wasting space in each
429 * reservation, we prevent over allocation problems.
499 * the reservation. If the ticket was ever used, then a commit record for
502 * a given ticket. If the ticket was one with a permanent reservation, then
503 * a few operations are done differently. Permanent reservation tickets by
504 * default don't release the reservation. They just commit the current
505 * transaction with the belief that the reservation is still needed. A flag
540 * Release ticket if not permanent reservation or a specific xfs_log_done()
541 * request has been made to release a permanent reservation. xfs_log_done()
549 /* If this ticket was a permanent reservation and we aren't xfs_log_done()
638 * situations in transaction log space reservation stage. xfs_log_mount()
1117 * This code also handles the case where the reservation head is behind
1144 * The reservation head is behind the tail. xlog_space_left()
1959 * the reservation
2035 "xlog_write: reservation summary:\n" xlog_print_tic_res()
2064 "xlog_write: reservation ran out. Need to up reservation"); xlog_print_tic_res()
2197 /* partial write of region, needs extra log op header reservation */ xlog_write_setup_copy()
2267 * 2. Check whether we violate the tickets reservation.
2283 * 1. Panic if reservation is overrun. This should never happen since
2284 * reservation amounts are generated internal to the filesystem.
2979 * reservation has reserved cnt times the unit amount.
2980 * Release part of current permanent unit reservation and
2981 * reset current reservation to be one units worth. Also
2982 * move grant reservation head forward.
3018 * Give back the space left from a reservation.
3023 * space remaining in the current reservation part of the ticket. If the
3024 * ticket contains a permanent reservation, there may be left over space which
3026 * reservation can be done before we need to ask for more space. The first
3027 * one goes to fill up the first current reservation. Once we run out of
3029 * in the current reservation field.
3045 * If this is a permanent reservation ticket, we may be able to free xlog_ungrant_log_space()
3574 * IMPORTANT: This reservation makes the assumption that if this xfs_log_calc_unit_res()
H A Dxfs_log_cil.c42 * the space required, we need to set the current reservation of the ticket to
57 * set the current reservation to zero so we know to steal the basic xlog_cil_ticket_alloc()
58 * transaction overhead reservation from the first transaction commit. xlog_cil_ticket_alloc()
212 /* grab the old item if it exists for reservation accounting */ xlog_cil_insert_format_items()
236 * that the space reservation accounting is correct. xlog_cil_insert_format_items()
322 * Now transfer enough transaction reservation to the context ticket xlog_cil_insert_items()
324 * reservation has to grow as well as the current reservation as we xlog_cil_insert_items()
763 * need to release the unused reservation for the transaction, attach the
790 /* check we didn't blow the reservation */ xfs_log_commit_cil()
H A Dxfs_trans.c39 * Initialize the precomputed transaction reservation values
110 * permanent log reservation of the given transaction. The remaining
908 * log reservation or not. xfs_trans_commit()
984 * If the transaction has made a log reservation, make sure to release
H A Dxfs_inode.c968 * Save the log reservation so we can use xfs_dir_ialloc()
1182 /* No space at all so try a "no-allocation" reservation */ xfs_create()
1349 /* No space at all so try a "no-allocation" reservation */ xfs_create_tmpfile()
1534 * reservation of at least XFS_ITRUNCATE_LOG_RES. This routine may commit the
1608 * reservation and commit the old transaction. xfs_itruncate_extents()
1823 * Send a warning if the reservation does happen to fail, as the inode xfs_inactive_ifree()
2563 * We try to get the real space reservation first, xfs_remove()
2566 * reservation then we use 0 instead, and avoid the bmap xfs_remove()
3009 * If there's no space reservation, check the entry will xfs_rename()
H A Dxfs_iomap.c717 * transaction reservation. xfs_iomap_write_allocate()
832 * This reservation amount will be used in the first call to xfs_iomap_write_unwritten()
H A Dxfs_iops.c635 * Do a quota reservation only if uid/gid is actually xfs_setattr_nonsize()
847 * reservation as defined by extent allocation in the writeback path. xfs_setattr_size()
H A Dxfs_fsops.c701 * If our previous reservation was larger than the current value, xfs_reserve_blocks()
H A Dxfs_qm.c890 * not be able to get a log reservation for the whole thing up front, xfs_qm_dqiter_bufs()
1850 * are done without the help of a transaction, if a reservation fails xfs_qm_vop_chown_reserve()
H A Dxfs_rtalloc.c777 int resblks; /* space reservation */ xfs_growfs_rt_alloc()
1000 * Start a transaction, get the log reservation. xfs_growfs_rt()
H A Dxfs_bmap_util.c78 struct xfs_trans_res tres; /* new log reservation */ xfs_bmap_finish()
997 * The transaction reservation is limited to a 32-bit block xfs_alloc_file_space()
H A Dxfs_dquot.c644 * Reservation counters are defined as reservation plus current usage xfs_qm_dqread()
H A Dxfs_mount.c597 * block reservation. Hence by default we cover roughly 2000 concurrent xfs_default_resblks()
H A Dxfs_aops.c875 * reservation (typically why we see a ENOSPC in writeback).
/linux-4.1.27/fs/xfs/libxfs/
H A Dxfs_log_rlimit.c54 * Iterate over the log space reservation table to figure out and return
124 * for the reservation because there are two log writes that can xfs_log_calc_minimum_size()
127 * Consider that we can have an active CIL reservation holding 2*LSU, xfs_log_calc_minimum_size()
130 * includes another 2*LSU in the reservation, we will run into dead xfs_log_calc_minimum_size()
H A Dxfs_trans_resv.h30 * a reservation request is permanent or not */
67 /* shorthand way of accessing reservation structure */
71 * Per-extent log reservation for the allocation btree changes
81 * Per-directory log reservation for any directory change.
H A Dxfs_trans_space.h56 * Space reservation values for various transactions.
H A Dxfs_trans_resv.c42 * reservation that has been used for this overhead.
52 * Calculate out transaction log reservation per item in bytes.
80 * on disk. Hence we need an inode reservation function that calculates all this
108 * The free inode btree is a conditional feature and the log reservation
112 * or free and thus the finobt reservation is unconditional across:
119 * 'alloc' param indicates to include the reservation for free space btree
149 * Various log reservation values.
785 * require a permanent reservation on space. xfs_trans_resv_calc()
H A Dxfs_quota_defs.h54 * dquots in a single transaction. For this case we need to have a reservation
H A Dxfs_bmap_btree.c459 * reservation for this operation to succeed. If the xfs_bmbt_alloc_block()
460 * reservation amount is insufficient then we may fail a xfs_bmbt_alloc_block()
H A Dxfs_dir2_block.c398 /* Don't have a space reservation: return no-space. */ xfs_dir2_block_addname()
939 * been left behind during no-space-reservation operations. xfs_dir2_leaf_to_block()
H A Dxfs_dir2.c685 * no space reservation, and the resulting block removal xfs_dir2_shrink_inode()
H A Dxfs_dir2_node.c1132 * space reservation. In this case some one xfs_dir3_data_block_free()
1276 * We can get ENOSPC if there's no space reservation. xfs_dir2_leafn_remove()
2266 * space reservation, when breaking up an extent into two xfs_dir2_node_trim_free()
H A Dxfs_dir2_leaf.c723 * Just checking or no space reservation, give up. xfs_dir2_leaf_addname()
1714 * that may have been left behind during no-space-reservation xfs_dir2_node_to_leaf()
H A Dxfs_dir2_sf.c341 * Just checking or no space reservation, it doesn't fit. xfs_dir2_sf_addname()
H A Dxfs_bmap.c1110 int blks; /* space reservation */ xfs_bmap_add_attrfork()
4125 * Make a transaction-less quota reservation for delayed allocation xfs_bmapi_reserve_delalloc()
4901 * block reservation. xfs_bmap_del_extent()
5281 * with no block reservation, and the deleted block is in xfs_bunmapi()
/linux-4.1.27/include/xen/interface/
H A Dmemory.h4 * Memory reservation and information.
15 * Increase or decrease the specified domain's memory reservation. Returns a
49 * Domain whose reservation is being changed.
107 * Returns the current or maximum memory reservation, in pages, of the
246 * Prevent the balloon driver from changing the memory reservation
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_sync.c81 * radeon_sync_resv - use the semaphores to sync to a reservation object
83 * @sync: sync object to add fences from reservation object to
84 * @resv: reservation object with embedded fence
H A Drv770_dma.c36 * @resv: reservation object to sync to
H A Dsi_dma.c225 * @resv: reservation object to sync to
H A Dr600_dma.c433 * @resv: reservation object to sync to
H A Dcik_sdma.c573 * @resv: reservation object to sync to
/linux-4.1.27/drivers/xen/
H A Dballoon.c331 struct xen_memory_reservation reservation = { increase_reservation() local
359 set_xen_guest_handle(reservation.extent_start, frame_list); increase_reservation()
360 reservation.nr_extents = nr_pages; increase_reservation()
361 rc = HYPERVISOR_memory_op(XENMEM_populate_physmap, &reservation); increase_reservation()
402 struct xen_memory_reservation reservation = { decrease_reservation() local
464 set_xen_guest_handle(reservation.extent_start, frame_list); decrease_reservation()
465 reservation.nr_extents = nr_pages; decrease_reservation()
466 ret = HYPERVISOR_memory_op(XENMEM_decrease_reservation, &reservation); decrease_reservation()
H A Dpci.c247 pr_warn("Failed to report MMCONFIG reservation" xen_mcfg_late()
H A Dgrant-table.c4 * Granting foreign access to our memory reservation.
/linux-4.1.27/arch/arm/xen/
H A Dgrant-table.c5 * Granting foreign access to our memory reservation.
/linux-4.1.27/fs/gfs2/
H A Drgrp.c177 * rs_cmp - multi-block reservation range compare
178 * @blk: absolute file system block number of the new reservation
179 * @len: number of blocks in the new reservation
180 * @rs: existing reservation to compare against
182 * returns: 1 if the block range is beyond the reach of the reservation
183 * -1 if the block range is before the start of the reservation
184 * 0 if the block range overlaps with the reservation
599 * gfs2_rs_alloc - make sure we have a reservation assigned to the inode
600 * @ip: the inode for this reservation
631 * __rs_deltree - remove a multi-block reservation from the rgd tree
632 * @rs: The reservation to remove
664 * gfs2_rs_deltree - remove a multi-block reservation from the rgd tree
665 * @rs: The reservation to remove
681 * gfs2_rs_delete - delete a multi-block reservation
682 * @ip: The inode for this reservation
703 * give them back. This leave the reservation structures in tact, but removes
1435 * rs_insert - insert a new multi-block reservation into the rgrp's rb_tree
1471 /* Do our rgrp accounting for the reservation */ rs_insert()
1478 * rg_mblk_search - find a group of multiple free blocks to form a reservation
1533 * If the block does not appear in any reservation, then return the
1534 * block number unchanged. If it does appear in the reservation, then
1582 * a reservation covering this block. If not then this function is a
1584 * contiguous reservation(s) so that we are pointing at the first
1587 * Returns: 0 if no reservation, 1 if @rbm has changed, otherwise an error
1637 * This is updated to be the actual reservation size.
1886 * @rs: The block reservation with the rgrp to test
2029 /* Get a reservation if we don't already have one */ gfs2_inplace_reserve()
2033 /* Skip rgrps when we can't get a reservation on first pass */ gfs2_inplace_reserve()
2051 /* Drop reservation, if we couldn't use reserved rgrp */ gfs2_inplace_reserve()
2085 * gfs2_inplace_release - release an inplace reservation
2086 * @ip: the inode the reservation was taken out on
2088 * Release a reservation made by gfs2_inplace_reserve().
2234 * gfs2_adjust_reservation - Adjust (or remove) a reservation after allocation
2239 * Adjusts a reservation after an allocation has taken place. If the
2240 * reservation does not match the allocation, or if it is now empty
2264 /* We used up our block reservation, so we should gfs2_adjust_reservation()
2280 * This sets the starting point from the reservation if one is active
H A Dincore.h102 spinlock_t rd_rsspin; /* protects reservation related vars */
103 struct rb_root rd_rstree; /* multi-block reservation tree */
269 /* Resource group multi-block reservation, in order of appearance:
274 Step 4. Bits are assigned from the rgrp based on either the reservation
284 struct gfs2_rbm rs_rbm; /* Start of reservation */
286 u64 rs_inum; /* Inode number for reservation */
393 struct gfs2_blkreserv *i_res; /* rgrp multi-block reservation */
H A Drgrp.h79 /* This is how to tell if a reservation is in the rgrp tree: */ gfs2_rs_active()
H A Dlog.c321 * gfs2_log_reserve - Make a log reservation
334 * get woken with enough journal space to get our reservation, we need to
H A Dops_fstype.c302 /* Compute maximum reservation required to add a entry to a directory */ gfs2_read_sb()
H A Dquota.c838 * block to the reservation unconditionally. If the inode do_sync()
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_bo.h38 /* protect by the ttm reservation lock */
H A Dnv50_display.c189 * grabbed by evo_wait (if the pushbuf reservation is successful) and
/linux-4.1.27/net/mac80211/
H A Dchan.c865 * for a reservation. Find another one hoping ieee80211_vif_reserve_chanctx()
1251 * Verify if the reservation is still feasible. ieee80211_vif_use_reserved_switch()
1287 "channel context reservation cannot be finalized because some interfaces aren't switching\n"); ieee80211_vif_use_reserved_switch()
1413 * ready re-assign reservation interface that was deferred. Do ieee80211_vif_use_reserved_switch()
1415 * reservation for originally requested interface has already ieee80211_vif_use_reserved_switch()
1438 "failed to finalize (re-)assign reservation (err=%d)\n", ieee80211_vif_use_reserved_switch()
1513 /* Unreserving may ready an in-place reservation. */ __ieee80211_vif_release_channel()
1614 * In-place reservation may need to be finalized now either if: ieee80211_vif_use_reserved_context()
1616 * b) sdata has switched with a re-assign reservation to an existing ieee80211_vif_use_reserved_context()
1634 "depending in-place reservation failed (err=%d)\n", ieee80211_vif_use_reserved_context()
1692 * reservation itself? */ ieee80211_vif_change_bandwidth()
H A Dcfg.c2924 * using reservation isn't immediate as it may be deferred until later __ieee80211_csa_finalize()
2925 * with multi-vif. once reservation is complete it will re-schedule the __ieee80211_csa_finalize()
3196 /* if reservation is invalid then this will fail */ __ieee80211_channel_switch()
H A Dsta_info.h241 /* Value to indicate no TID reservation */
H A Dieee80211_i.h877 /* context reservation -- protected with chanctx_mtx */
/linux-4.1.27/fs/ubifs/
H A Djournal.c109 * This function reserves space in journal head @head. If the reservation
313 * This function makes space reservation in journal head @jhead. The function
315 * unlock the head and finish the reservation with 'finish_reservation()'.
412 * finish_reservation - finish a reservation.
415 * This function finishes journal space reservation. It must be called after
583 /* Make reservation before allocating sequence numbers */ ubifs_jnl_update()
740 /* Make reservation before allocating sequence numbers */ ubifs_jnl_write_data()
805 /* Make reservation before allocating sequence numbers */ ubifs_jnl_write_inode()
967 /* Make reservation before allocating sequence numbers */ ubifs_jnl_rename()
1207 /* Must make reservation before allocating sequence numbers */ ubifs_jnl_truncate()
1315 /* Make reservation before allocating sequence numbers */ ubifs_jnl_delete_xattr()
1422 /* Make reservation before allocating sequence numbers */ ubifs_jnl_change_xattr()
H A Dbudget.c586 /* Release the index growth reservation */ ubifs_convert_page_budget()
588 /* Release the data growth reservation */ ubifs_convert_page_budget()
590 /* Increase the dirty data growth reservation instead */ ubifs_convert_page_budget()
592 /* And re-calculate the indexing space reservation */ ubifs_convert_page_budget()
H A Dfind.c219 * when called from the journal space reservation function, because the
H A Dio.c56 * has to lock the write-buffer (e.g. journal space reservation code), many
/linux-4.1.27/drivers/gpu/drm/msm/
H A Dmsm_gem.h21 #include <linux/reservation.h>
H A Dmsm_atomic.c170 * object. This can still fail when e.g. the framebuffer reservation fails. For
/linux-4.1.27/drivers/gpu/drm/qxl/
H A Dqxl_draw.c192 /* do a reservation run over all the objects we just allocated */ qxl_draw_opaque_fb()
326 /* do a reservation run over all the objects we just allocated */ qxl_draw_dirty_fb()
417 /* do a reservation run over all the objects we just allocated */ qxl_draw_copyarea()
459 /* do a reservation run over all the objects we just allocated */ qxl_draw_fill()
/linux-4.1.27/arch/metag/kernel/perf/
H A Dperf_event.h71 * @reserve_mutex: counter reservation mutex
H A Dperf_event.c868 /* Initialise the active events and reservation mutex */ init_hw_perf_events()
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
H A Dspu_utils.h121 * remove any possible lock-line reservation. enqueue_putllc()
/linux-4.1.27/mm/
H A Dhugetlb.c283 * size such that we can guarantee to record the reservation. */ list_for_each_entry()
316 * existing reservation. */
445 * bits of the reservation map pointer, which are always clear due to
462 * The private mapping reservation is represented in a subtly different
465 * pages which have ever had a reservation assigned which this persists even
469 * reservation ie. where pages have been instantiated.
978 * minimum size if the reservation is not restored after page is free. free_huge_page()
1304 * Increase the hugetlb pool such that it can accommodate a reservation
1349 * satisfy the entire reservation so we free what gather_surplus_pages()
1356 * needed to accommodate the reservation. Add the appropriate number gather_surplus_pages()
1358 * allocator. Commit the entire reservation here to prevent another gather_surplus_pages()
1390 * When releasing a hugetlb pool reservation, any surplus pages that were
1391 * allocated to satisfy the reservation must be explicitly freed if they were
1400 /* Uncommit the reservation */ return_unused_surplus_pages()
1426 * reservation. Where it does not we will need to logically increase
1427 * reservation and actually increase subpool usage before an allocation
1428 * can occur. Where any new reservation would be required the
1429 * reservation change is prepared, but not committed. Once the page
2507 * reservation as the accounting is done on a global variable. Such hugetlb_acct_memory()
2508 * reservation is completely rubbish in the presence of cpuset because hugetlb_acct_memory()
2509 * the reservation is not checked against page availability for the hugetlb_acct_memory()
2546 * This new VMA should share its siblings reservation map if present. hugetlb_vm_op_open()
2547 * The VMA will only ever have a valid reservation map pointer where hugetlb_vm_op_open()
2549 * has a reference to the reservation map it cannot disappear until hugetlb_vm_op_open()
3168 * any allocations necessary to record that reservation occur outside hugetlb_no_page()
3312 * allocations necessary to record that reservation occur outside the hugetlb_fault()
3314 * page now as it is used to determine if a reservation has been hugetlb_fault()
3574 * Only apply hugepage reservation if asked. At fault time, an hugetlb_reserve_pages()
3582 * Shared mappings base their reservation on the number of pages that hugetlb_reserve_pages()
3620 * Check enough hugepages are available for the reservation. hugetlb_reserve_pages()
3634 * the reservation was and the page cache tells how much of hugetlb_reserve_pages()
3635 * the reservation was consumed. Private mappings are per-VMA and hugetlb_reserve_pages()
3637 * disappears, the original reservation is the VMA size and the hugetlb_reserve_pages()
H A Dbootmem.c432 * @flags: reservation flags (see linux/bootmem.h)
453 * @flags: reservation flags (see linux/bootmem.h)
H A Dmremap.c298 /* Conceal VM_ACCOUNT so old reservation is not undone */ move_vma()
H A Dmemblock.c846 /* scan areas before each reservation */ __next_mem_range()
950 /* scan areas before each reservation */ __next_mem_range_rev()
/linux-4.1.27/include/uapi/linux/
H A Datmdev.h184 #define ATM_MF_INC_RSV 2 /* Change reservation on increase */
186 #define ATM_MF_DEC_RSV 8 /* Change reservation on decrease */
H A Dsysctl.h183 VM_LOWMEM_RESERVE_RATIO=20,/* reservation ratio for lower memory zones */
/linux-4.1.27/include/drm/ttm/
H A Dttm_bo_driver.h43 #include <linux/reservation.h>
769 * -EDEADLK: The reservation may cause a deadlock.
829 * holding the reservation, the function returns -EAGAIN. Otherwise it sleeps
839 * -EDEADLK: The reservation may cause a deadlock.
900 * Unreserve a previous reservation of @bo where the buffer object is
913 * Unreserve a previous reservation of @bo.
930 * Unreserve a previous reservation of @bo made with @ticket.
H A Dttm_bo_api.h42 #include <linux/reservation.h>
239 * Members protected by a bo reservation.
382 * avoid recursive reservation from lru lists.
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-via.c36 /* io-region reservation */
/linux-4.1.27/arch/x86/xen/
H A Dgrant-table.c5 * Granting foreign access to our memory reservation.
H A Dsetup.c207 struct xen_memory_reservation reservation = { xen_free_mfn() local
213 set_xen_guest_handle(reservation.extent_start, &mfn); xen_free_mfn()
214 reservation.nr_extents = 1; xen_free_mfn()
216 return HYPERVISOR_memory_op(XENMEM_decrease_reservation, &reservation); xen_free_mfn()
521 * For the initial domain we use the maximum reservation as xen_get_max_pages()
524 * For guest domains the current maximum reservation reflects xen_get_max_pages()
/linux-4.1.27/arch/sh/kernel/
H A Dmachine_kexec.c181 pr_err("crashkernel reservation failed - " reserve_crashkernel()
/linux-4.1.27/drivers/gpu/drm/ttm/
H A Dttm_execbuf_util.c139 /* uh oh, we lost out, drop every reservation and try list_for_each_entry()
H A Dttm_bo.c43 #include <linux/reservation.h>
475 * Must be called with lru_lock and reservation held, this function
511 * We raced, and lost, someone else holds the reservation now, ttm_bo_cleanup_refs_and_unlock()
1158 /* passed reservation objects should already be locked, ttm_bo_init()
H A Dttm_bo_util.c40 #include <linux/reservation.h>
/linux-4.1.27/include/linux/platform_data/
H A Dedma.h170 /* Resource reservation for other cores */
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/
H A Dwii.c75 * single range, then create a reservation for the "hole" wii_memory_fixups()
/linux-4.1.27/arch/sh/boards/mach-x3proto/
H A Dilsel.c120 * both for level reservation as well as for aliased sources that only
/linux-4.1.27/fs/btrfs/
H A Dtransaction.h137 /* block reservation for the operation */
H A Ddelayed-inode.c672 * Migrate only takes a reservation, it doesn't touch the size of the btrfs_delayed_inode_reserve_metadata()
675 * reservation, that will decrease the size as well, so if migrate btrfs_delayed_inode_reserve_metadata()
677 * delalloc_meta_reserved stuff we will only know to drop 1 reservation, btrfs_delayed_inode_reserve_metadata()
679 * between the time we did the original reservation and we'd clean it btrfs_delayed_inode_reserve_metadata()
681 * reservation here. I think it may be time for a documentation page on btrfs_delayed_inode_reserve_metadata()
1893 * - At the worst, we can steal some space from the global reservation. btrfs_delayed_delete_inode_ref()
H A Dextent-tree.c65 * RESERVE_FREE - freeing a reservation.
3933 * reservation for the free space cache in the btrfs_check_data_free_space()
4023 * Called if we need to clear a data reservation for this inode.
4341 * shrink metadata reservation for delalloc
4357 /* Calc the number of the pages we need flush for space reservation */ shrink_delalloc()
4445 /* See if there is enough pinned space to make this reservation */ may_commit_transaction()
4451 * See if there is some space in the delayed insertion reservation for may_commit_transaction()
4452 * this reservation. may_commit_transaction()
4650 * @flush - whether or not we can flush to make our reservation
4704 * then we can go ahead and save our reservation first and then start reserve_metadata_bytes()
4707 * our reservation. reserve_metadata_bytes()
4727 * reservation. reserve_metadata_bytes()
4742 * Couldn't make our reservation, save our place so while we're trying reserve_metadata_bytes()
4755 * We will do the space reservation dance during log replay, reserve_metadata_bytes()
5071 * helper to calculate size of global block reservation.
5207 * added it, so this takes the reservation so we can release it later btrfs_orphan_reserve_metadata()
5228 * rsv: block reservation
5229 * items: the number of items that we need do reservation
5236 * different with the free space reservation. So we can not use
5482 * reservation, so we reset ->csum_bytes to the csum_bytes btrfs_delalloc_reserve_metadata()
5485 * reservation. btrfs_delalloc_reserve_metadata()
5494 * been making this reservation and our ->csum_bytes were not btrfs_delalloc_reserve_metadata()
5530 * btrfs_delalloc_release_metadata - release a metadata reservation for an inode
5531 * @inode: the inode to release the reservation for
5534 * This will release the metadata reservation for an inode. This can be called
5888 * @reserve: One of the reservation enums
5895 * clear the reservation.
5898 * ENOSPC accounting. For data we handle the reservation through clearing the
5903 * If this is a reservation and the block group has become read only we cannot
5904 * make the reservation and return -EAGAIN, otherwise this function always
7555 * reservation. use_block_rsv()
H A Dctree.h1421 * block reservation for extent, checksum, root tree and
1425 /* block reservation for delay allocation */
1427 /* block reservation for metadata operations */
1429 /* block reservation for chunk tree */
1431 /* block reservation for delayed operations */
H A Dtransaction.c441 * Do the reservation before we join the transaction so we can do all start_transaction()
455 * Do the reservation for the relocation root creation start_transaction()
H A Drelocation.c176 /* size of metadata reservation for merging reloc trees */
2615 * we expand more reservation size here to allow enough reserve_metadata_space()
4585 * called before creating snapshot. it calculates metadata reservation
4619 * called after snapshot is created. migrate block reservation
H A Dinode.c3223 /* grab metadata reservation from transaction handle */ btrfs_orphan_add()
3226 BUG_ON(ret); /* -ENOSPC in reservation; Logic error? JDM */ btrfs_orphan_add()
7585 * within our reservation, otherwise we need to adjust our inode btrfs_get_blocks_direct()
8742 * we will use, so we need the truncate reservation to be seperate so it btrfs_truncate()
8756 * 2) rsv - for the truncate reservation, which we will steal from the btrfs_truncate()
8757 * transaction reservation. btrfs_truncate()
H A Dqgroup.c73 * reservation tracking
2552 * no limits exceeded, now record the reservation into all qgroups btrfs_qgroup_reserve()
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/
H A Dmdp5_smp.c141 /* grow the existing pending reservation: */ smp_request_block()
148 /* shrink the existing pending reservation: */ smp_request_block()
/linux-4.1.27/arch/powerpc/mm/
H A Dtlb_low_64e.S146 /* Set the TLB reservation and search for existing entry. Then load
481 * TLB miss handling for Book3E with TLB reservation and HES support *
640 /* Set the TLB reservation and search for existing entry. Then load
852 * However, one nasty thing we did is we cleared the reservation
888 * restore the TLB reservation neither.
1141 * We also need to be careful about MAS registers here & TLB reservation,
1195 * miss handler, due to MAS and TLB reservation being clobbered.
H A Dhash_low_64.S319 /* Bail out clearing reservation */
690 /* Bail out clearing reservation */
983 /* Bail out clearing reservation */
/linux-4.1.27/arch/s390/kernel/
H A Dsetup.c567 pr_info("crashkernel reservation failed: %s\n", reserve_crashkernel()
583 pr_info("crashkernel reservation failed: %s\n", reserve_crashkernel()
593 pr_info("crashkernel reservation failed: %s\n", reserve_crashkernel()
/linux-4.1.27/arch/powerpc/kernel/
H A Dentry_64.S212 stdcx. r0,0,r1 /* to clear the reservation */
454 * If we optimise away the clear of the reservation in system
456 * reservation, then we need to clear it here to cover the
781 * Clear the reservation. If we know the CPU tracks the address of
782 * the reservation then we can potentially save some cycles and use
786 stdcx. r0,0,r1 /* to clear the reservation */
H A Dentry_32.S399 stwcx. r0,0,r1 /* to clear the reservation */
902 stwcx. r0,0,r1 /* to clear the reservation */
1006 stwcx. r0,0,r1; /* to clear the reservation */ \
H A Dexceptions-64e.S235 stdcx. r0,0,r1 /* to clear the reservation */
1065 1: stdcx. r0,0,r1 /* to clear the reservation */
H A Dvio.c930 /* Set reservation and check against entitlement */ vio_cmo_bus_init()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_gem_stolen.c135 * reservation starting from 1 instead of 0. i915_stolen_to_physical()
525 * setting up the GTT space. The actual reservation will occur i915_gem_object_create_stolen_for_preallocated()
H A Di915_gem_execbuffer.c1588 * outside of the reservation loop. But: i915_gem_do_execbuffer()
H A Di915_gem.c1741 * Preserve the reservation of the mmapping with the DRM core code, but
3869 * are only called outside of the reservation path. is_pin_display()
4570 /* Keep the vma as a placeholder in the execbuffer reservation lists */ i915_gem_vma_destroy()
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
H A Dinit.c56 /* send empty templates for fw memory reservation */ wl1251_hw_init_templates_config()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
H A Daiutils.h110 * reservation
/linux-4.1.27/drivers/gpio/
H A Dgpio-vx855.c246 * will have reserved the region, so our own reservation will not vx855gpio_probe()
/linux-4.1.27/arch/x86/include/asm/xen/
H A Dpage.h191 * NB. These checks require that, for any MFN that is not in our reservation,
/linux-4.1.27/arch/x86/kernel/
H A Dsetup.c499 * --------- Crashkernel reservation ------------------------------
552 pr_info("crashkernel low reservation failed - No suitable area found.\n"); reserve_crashkernel_low()
601 pr_info("crashkernel reservation failed - No suitable area found.\n"); reserve_crashkernel()
611 pr_info("crashkernel reservation failed - memory is in use.\n"); reserve_crashkernel()
/linux-4.1.27/include/xen/
H A Dgrant_table.h5 * 1. Granting foreign access to our memory reservation.
/linux-4.1.27/arch/powerpc/platforms/ps3/
H A Drepository.c886 * ps3_repository_read_spu_resource_id - spu resource reservation id value.
887 * @res_index: Resource reservation index.
888 * @resource_type: Resource reservation type.
889 * @resource_id: Resource reservation id.
/linux-4.1.27/arch/powerpc/include/asm/
H A Dmmu.h58 /* Enable use of TLB reservation. Processor should support tlbsrx.
/linux-4.1.27/arch/powerpc/kvm/
H A Dbook3s_hv_builtin.c81 * We need CMA reservation only when we are in HV mode kvm_cma_reserve()
/linux-4.1.27/arch/avr32/boards/atngw100/
H A Dsetup.c47 * end up handling here is the NAND flash, EBI pin reservation and if LCDC or
/linux-4.1.27/net/ceph/
H A Ddebugfs.c27 * .../caps - expose cap (reservation) stats
/linux-4.1.27/net/ipv4/netfilter/
H A Dnf_nat_pptp.c19 * (needs netfilter tuple reservation)
/linux-4.1.27/scripts/dtc/
H A Ddtc.c28 int reservenum; /* Number of memory reservation slots */
H A Ddtc.h53 extern int reservenum; /* Number of memory reservation slots */
/linux-4.1.27/include/target/
H A Dtarget_core_base.h420 * a single *pr_res_holder of the reservation, but all
421 * registrations are considered reservation holders.
/linux-4.1.27/arch/microblaze/mm/
H A Dinit.c146 /* reservation of region where is the kernel */
/linux-4.1.27/arch/avr32/mach-at32ap/
H A Dpio.c152 * Undo a previous pin reservation. Will not affect the hardware
/linux-4.1.27/drivers/scsi/
H A Dconstants.c160 {0x1, "Persistent reserve in, read reservation"},
588 {0x2604, "Invalid release of persistent reservation"},
661 {0x2C09, "Previous reservation conflict status"},
805 {0x4401, "Persistent reservation information lost"},
884 {0x5502, "Insufficient reservation resources"},
H A Dgdth.h153 #define MAX_RES_ARGS 40 /* device reservation,
H A Dscsi_error.c1839 * execute reservation conflict processing code scsi_decide_disposition()
1917 "reservation conflict\n"); scsi_decide_disposition()
H A Dscsi_transport_spi.c838 * (reservation conflict, device not ready, etc) just spi_dv_device_get_echo_buffer()
H A Dmegaraid.c1906 "megaraid: reservation reset failed.\n"); megaraid_reset()
1909 printk(KERN_INFO "megaraid: reservation reset.\n"); megaraid_reset()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Dinit.c42 /* send empty templates for fw memory reservation */ wl1271_init_templates_config()
/linux-4.1.27/drivers/infiniband/ulp/srpt/
H A Dib_srpt.h426 * SRP-releated SCSI persistent reservation definitions.
/linux-4.1.27/drivers/usb/host/
H A Dehci.h70 reservation */
74 bandwidth reservation */
H A Duhci-q.c691 * Release a periodic QH's bandwidth reservation
/linux-4.1.27/security/keys/
H A Dkey.c352 * key_payload_reserve - Adjust data quota reservation for the key's payload
353 * @key: The key to make the reservation for.
/linux-4.1.27/fs/ext4/
H A Dextents.c4080 * won't do block reservation for us. But ext4_ext_handle_unwritten_extents()
4116 * delayed allocated, we would have block reservation ext4_ext_handle_unwritten_extents()
4117 * and quota reservation done in the delayed write path. ext4_ext_handle_unwritten_extents()
4119 * count for this offset. So cancel these reservation ext4_ext_handle_unwritten_extents()
4539 int reservation = allocated_clusters - ext4_ext_map_blocks() local
4544 * it back to the reservation pool. This can ext4_ext_map_blocks()
4567 * the reservation of 1 cluster we had made ext4_ext_map_blocks()
4582 EXT4_C2B(sbi, reservation)); ext4_ext_map_blocks()
4584 ei->i_reserved_data_blocks += reservation; ext4_ext_map_blocks()
4591 * all the metadata reservation because we might ext4_ext_map_blocks()
H A Dfile.c44 /* if we are the last writer on the inode, drop the block reservation */ ext4_release_file()
H A Dextents_status.c138 * -- Refactor delayed space reservation
/linux-4.1.27/scripts/dtc/libfdt/
H A Dlibfdt.h234 * reservation map. This does not include the terminating 0,0 entry
1035 * contain the new reservation entry
1053 * This function will delete data from the reservation table and will
/linux-4.1.27/drivers/staging/i2o/
H A Di2o_scsi.c26 * needs a message reservation protocol to avoid swap v net
/linux-4.1.27/drivers/s390/cio/
H A Ddevice_pgid.c647 * Execute a channel program on @cdev to release an existing PGID reservation.
/linux-4.1.27/drivers/gpu/drm/omapdrm/
H A Dtcm-sita.c4 * SImple Tiler Allocator (SiTA): 2D and 1D allocation(reservation) algorithm
/linux-4.1.27/drivers/usb/dwc2/
H A Dhcd_queue.c557 /* Release periodic channel reservation */ dwc2_deschedule_periodic()
/linux-4.1.27/fs/jffs2/
H A Dnodelist.c661 /* No locking, no reservation of 'ref'. Do not use on a live file system */ jffs2_scan_dirty_space()
/linux-4.1.27/tools/testing/selftests/x86/
H A Dsigreturn.c61 * allocations above that reservation. (The tests don't pass on LX
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_mbox.c2567 * down to 0. If that happens, also issue the reservation reset command to
2698 (KERN_INFO "megaraid: reservation reset\n")); megaraid_reset_handler()
2703 "megaraid: reservation reset failed\n")); megaraid_reset_handler()
/linux-4.1.27/drivers/misc/sgi-gru/
H A Dgrukservices.c287 * Note: currently supports only 1 reservation per blade.
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dnic.h534 /* Limit EVQs on VFs to be only 8k to reduce buffer table reservation */
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_mm.c64 * The range allocator also supports reservation of preallocated blocks. This is
H A Ddrm_atomic_helper.c930 * object. This can still fail when e.g. the framebuffer reservation fails. For
/linux-4.1.27/drivers/atm/
H A Dfore200e.h867 struct mutex rate_mtx; /* protects rate reservation ops */
H A Dhorizon.c2166 // there are two, interrelated problems here: 1. the reservation of hrz_open()
2530 // atomically release our rate reservation hrz_close()
/linux-4.1.27/fs/nfsd/
H A Dnfs4callback.c471 * NB: Without this zero space reservation, callbacks over krb5p fail
/linux-4.1.27/arch/ia64/kernel/
H A Dsetup.c507 * Both address and size are required for reservation reserve_elfcorehdr()
/linux-4.1.27/arch/arm/kernel/
H A Dsetup.c878 pr_warn("crashkernel reservation failed - memory is in use (0x%lx)\n", reserve_crashkernel()
/linux-4.1.27/fs/quota/
H A Ddquot.c1463 * Make quota reservation system happy if someone __dquot_initialize()
1539 * quota reservation interface */ inode_reserved_space()
/linux-4.1.27/drivers/usb/core/
H A Durb.c284 * queued, the endpoint's bandwidth reservation is canceled. This means
/linux-4.1.27/drivers/video/fbdev/intelfb/
H A Dintelfbdrv.c91 * Use of agpgart for fb memory reservation
/linux-4.1.27/net/sunrpc/
H A Dsvc_xprt.c485 * the reservation. svc_xprt_release()
/linux-4.1.27/drivers/s390/block/
H A Ddasd_eckd.c2555 /* loss of device reservation is handled via base devices only dasd_eckd_check_for_device_change()
2566 "The device reservation was lost\n"); dasd_eckd_check_for_device_change()
3716 * Buils a channel programm to break a device's reservation.
/linux-4.1.27/drivers/net/ethernet/xircom/
H A Dxirc2ps_cs.c141 #define XIRCREG0_TRS 10 /* Transmit reservation Size Register (page 0)*/
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c702 * atl1e_clean_rx_ring - Free rx-reservation skbs
/linux-4.1.27/drivers/dma/
H A Damba-pl08x.c1847 * reservation. pl08x_irq()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dsvga_reg.h841 * FIFO reservation sentinel value
/linux-4.1.27/fs/reiserfs/
H A Dstree.c1090 * thereby the initial journal space reservation prepare_for_delete_or_cut()
/linux-4.1.27/fs/logfs/
H A Dreadwrite.c1204 * Not strictly a reservation, but rather a check that we still have enough
/linux-4.1.27/kernel/sched/
H A Ddeadline.c570 * - the task might have changed its reservation parameters dl_task_timer()

Completed in 5620 milliseconds

12