File: rtnobj.h

package info (click to toggle)
fis-gtm 7.1-006-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 32,908 kB
  • sloc: ansic: 344,906; asm: 5,184; csh: 4,859; sh: 2,000; awk: 294; makefile: 73; sed: 13
file content (37 lines) | stat: -rw-r--r-- 1,479 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/****************************************************************
 *								*
 * Copyright (c) 2014-2022 Fidelity National Information	*
 * Services, Inc. and/or its subsidiaries. All rights reserved.	*
 *								*
 *	This source code contains the intellectual property	*
 *	of its copyright holder(s), and is made available	*
 *	under a license.  If you do not know the terms of	*
 *	the license, please stop and do not read further.	*
 *								*
 ****************************************************************/

#ifndef RTNOBJ_H_INCLUDED
#define RTNOBJ_H_INCLUDED

#ifdef AUTORELINK_SUPPORTED

#include <rtnhdr.h>

#define	LATCH_GRABBED_FALSE	FALSE
#define	LATCH_GRABBED_TRUE	TRUE

#ifdef DEBUG
void	rtnobj_verify_freelist_fl_bl(rtnobjshm_hdr_t *rtnobj_shm_hdr, sm_uc_ptr_t shm_base);
void	rtnobj_verify_min_max_free_index(rtnobjshm_hdr_t *rtnobj_shm_hdr);
#endif
void		insqt_rtnobj(que_ent_ptr_t new, que_ent_ptr_t que_base, sm_uc_ptr_t shm_base);
rtnobj_hdr_t	*remqh_rtnobj(que_ent_ptr_t base, sm_uc_ptr_t shm_base);
void		remq_rtnobj_specific(que_ent_ptr_t que_base, sm_uc_ptr_t shm_base, rtnobj_hdr_t *rtnobj);
sm_uc_ptr_t	rtnobj_shm_malloc(zro_hist *zhist, int fd, off_t obj_size, gtm_uint64_t objhash);
void		rtnobj_shm_free(rhdtyp *rhead, boolean_t latch_grabbed);
rtnobj_hdr_t	*rtnobj_retpos(open_relinkctl_sgm *linkctl, rtnobj_sm_off_t shm_index_off);
void		rtnobj_integ(relinkrec_t *relinkrec, open_relinkctl_sgm *linkctl);

#endif

#endif /* RTNOBJ_H_INCLUDED */