Lines Matching defs:getlock
984 int error = 0, ret, arg, getlock;
1008 getlock = 0;
1010 getlock = (mode & NAT_LOCKHELD) ? 0 : 1;
1159 error = ipf_nat_siocaddnat(softc, softn, nt, getlock);
1191 ipf_nat_siocdelnat(softc, softn, n, getlock);
1232 if (getlock) {
1251 if (getlock) {
1271 if (getlock) {
1289 if (getlock) {
1303 if (getlock) {
1309 if (getlock) {
1329 error = ipf_nat_putent(softc, data, getlock);
1338 error = ipf_nat_getsz(softc, data, getlock);
1347 error = ipf_nat_getent(softc, data, getlock);
1420 /* getlock(I) - flag indicating if lock on is held */
1429 int getlock)
1453 if (getlock) {
1515 if (getlock) {
1640 /* getlock(I) - flag indicating if lock on is held */
1649 int getlock)
1655 if (getlock) {
1661 if (getlock) {
1673 /* getlock(I) - flag indicating whether or not the caller */
1682 ipf_nat_getsz(ipf_main_softc_t *softc, void *data, int getlock)
1696 if (getlock) {
1708 if (getlock) {
1728 if (getlock) {
1746 if (getlock) {
1765 /* getlock(I) - flag indicating whether or not the caller */
1773 ipf_nat_getent(ipf_main_softc_t *softc, void *data, int getlock)
1796 if (getlock) {
1876 if (getlock) {
1878 getlock = 0;
1885 if (getlock) {
1901 /* getlock(I) - flag indicating whether or not a write lock */
1909 ipf_nat_putent(ipf_main_softc_t *softc, void *data, int getlock)
2047 if (getlock) {
2063 if (getlock) {
2075 if (getlock) {
2091 if (getlock) {
2172 if (getlock) {
2184 if (getlock) {
2201 if (getlock) {
2212 if (getlock) {