HomeSort by: relevance | last modified time | path
    Searched defs:backup (Results 1 - 12 of 12) sorted by relevancy

  /src/sbin/fsck_msdos/
boot.c 50 u_char *backup; local in function:readboot
109 backup = calloc(1, secsize);
110 if (backup == NULL)
131 boot->Backup = block[50] + (block[51] << 8);
166 free(backup);
183 if (lseek(dosfs, boot->Backup * boot->BytesPerSec, SEEK_SET)
184 != boot->Backup * boot->BytesPerSec
185 || (size_t)read(dosfs, backup, secsize) != secsize) {
186 perr("could not read backup bootblock");
188 free(backup);
    [all...]
  /src/sbin/gpt/
backup.c 36 __RCSID("$NetBSD: backup.c,v 1.21 2025/02/23 20:47:19 christos Exp $");
63 "backup",
202 backup(gpt_t gpt, const char *outfile) function in typeref:typename:int
298 return backup(gpt, outfile);
  /src/sys/arch/shark/shark/
profile.c 94 * A backup table is created for every table malloced, this
195 int real, backup; local in function:profread
217 backup = 1;
224 backup = 0;
231 /* now initialise the backup copy before switching over.
233 memset(phashTables[backup]->entries, 0,
238 phashTables[backup]->hdr.tableSize = phashTables[real]->hdr.tableSize;
239 phashTables[backup]->hdr.entries = phashTables[backup]->hdr.last
241 phashTables[backup]->hdr.samples = 0
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/
vmwgfx_validation.c 41 * @coherent_count: If switching backup buffers, number of new coherent
42 * resources that will have this buffer as a backup buffer.
62 * @new_backup: Non ref-counted pointer to new backup buffer to be assigned
64 * @new_backup_offset: Offset into the new backup mob for resources that can
68 * @switching_backup: The validation process is switching backup MOB.
409 * vmw_validation_res_switch_backup - Register a backup MOB switch during
415 * @vbo: The new backup buffer object MOB. This buffer object needs to have
417 * @backup_offset: Offset into the new backup MOB.
461 if (res->backup) {
462 struct vmw_buffer_object *vbo = res->backup;
650 struct vmw_buffer_object *backup = res->backup; local in function:vmw_validation_res_validate
    [all...]
vmwgfx_resource.c 47 struct vmw_buffer_object *backup = res->backup; local in function:vmw_resource_mob_attach
48 struct rb_node **new = &backup->res_tree.rb_node, *parent = NULL;
50 dma_resv_assert_held(res->backup->base.base.resv);
67 rb_insert_color(&res->mob_node, &backup->res_tree);
71 vmw_bo_prio_add(backup, res->used_prio);
80 struct vmw_buffer_object *backup = res->backup; local in function:vmw_resource_mob_detach
82 dma_resv_assert_held(backup->base.base.resv);
85 rb_erase(&res->mob_node, &backup->res_tree)
370 struct vmw_buffer_object *backup; local in function:vmw_resource_buf_alloc
    [all...]
vmwgfx_surface.c 202 * Computes the required size for a surface dma command for backup or
471 * vmw_legacy_srf_dma - Copy backup data to or from a legacy surface.
476 * information about the backup buffer.
479 * Transfer backup data to or from a legacy surface as part of the
482 * The backup buffer will be fenced or idle upon successful completion,
483 * and if the surface needs persistent backup storage, the backup buffer
509 * Create a fence object and fence the backup buffer.
530 * information about the backup buffer.
532 * This function will copy backup data to the surface if th
1699 struct vmw_buffer_object *backup = res->backup; local in function:vmw_gb_surface_define_internal
    [all...]
vmwgfx_drv.h 157 * @backup_size: Backup buffer size. Immutable.
158 * @res_dirty: Resource contains data not yet in the backup buffer. Protected
160 * @backup_dirty: Backup buffer contains data not yet in the HW resource.
163 * @backup: The backup buffer if any. Protected by resource reserved.
164 * @backup_offset: Offset into the backup buffer if any. Protected by resource
169 * backup buffer is pinned. Hence it can't be evicted.
171 * @mob_node; Node for the MOB backup rbtree. Protected by @backup reserved.
189 struct vmw_buffer_object *backup; member in struct:vmw_resource
    [all...]
  /src/sys/fs/v7fs/
v7fs_datablock.c 409 struct v7fs_inode backup = *inode; local in function:v7fs_datablock_expand
488 *inode = backup; /* structure copy; */
  /src/tests/lib/libc/sys/
t_mmap.c 104 char backup[BUFSIZE]; local in function:testloan
113 (void)memcpy(backup, vp, BUFSIZE);
147 if (docheck != 0 && memcmp(backup, buf + page, nread) != 0)
  /src/usr.bin/xinstall/
xinstall.c 161 static void backup(const char *);
435 backup(to_name);
730 backup(to_name);
1122 * backup --
1123 * backup file "to_name" to to_name.suffix
1125 * used for a numbered backup.
1128 backup(const char *to_name) function in typeref:typename:void
1133 /* Do numbered backup */
1146 /* Do simple backup */
  /src/sys/nfs/
nfs_vnops.c 1263 size_t backup; local in function:nfs_writerpc
1341 backup = len - rlen;
1342 UIO_ADVANCE(uiop, -backup);
1343 uiop->uio_offset -= backup;
1403 backup = origresid - tsiz;
1404 UIO_ADVANCE(uiop, -backup);
1405 uiop->uio_offset -= backup;
  /src/sys/fs/nfs/client/
nfs_clrpcops.c 1585 int32_t backup; local in function:nfsrpc_writerpc
1697 backup = len - rlen;
1698 uio_iov_base_add(uiop, -(backup));
1699 uio_iov_len_add(uiop, backup);
1700 uiop->uio_offset -= backup;
1701 uio_uio_resid_add(uiop, backup);
5731 int32_t backup; local in function:nfsrpc_writeds
5773 backup = len - rlen;
5774 uio_iov_base_add(uiop, -(backup));
5775 uio_iov_len_add(uiop, backup);
    [all...]

Completed in 152 milliseconds