Lines Matching refs:getlock
608 int error = 0, ret, arg, getlock;
617 getlock = 0;
619 getlock = (mode & NAT_LOCKHELD) ? 0 : 1;
740 error = nat_siocaddnat(nt, np, getlock, ifs);
757 nat_siocdelnat(n, np, getlock, ifs);
781 if (getlock) {
811 if (getlock) {
821 if (getlock) {
835 if (getlock) {
856 error = fr_natputent(data, getlock, ifs);
863 if (getlock) {
867 if (getlock) {
875 if (getlock) {
879 if (getlock) {
909 /* getlock(I) - flag indicating if lock on ipf_nat is held */
916 static int nat_siocaddnat(n, np, getlock, ifs)
918 int getlock;
1023 if (getlock) {
1071 if (getlock) {
1119 /* getlock(I) - flag indicating if lock on ipf_nat is held */
1126 static void nat_siocdelnat(n, np, getlock, ifs)
1128 int getlock;
1133 if (getlock) {
1172 if (getlock) {
1555 /* getlock(I) - flag indicating whether or not a write lock */
1563 static int fr_natputent(data, getlock, ifs)
1565 int getlock;
1679 if (getlock) {
1701 if (getlock) {
1712 if (getlock) {
1733 if (getlock) {
1805 if (getlock) {
1817 if (getlock) {
1834 if (getlock) {
1858 if (getlock) {