Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for archauxv (0.15 sec)

  1. src/runtime/os_freebsd.go

    		// _AT_NCPUS from auxv shouldn't be used due to golang.org/issue/15206
    		case _AT_PAGESZ:
    			physPageSize = val
    		case _AT_TIMEKEEP:
    			timekeepSharedPage = (*vdsoTimekeep)(unsafe.Pointer(val))
    		}
    
    		archauxv(tag, val)
    	}
    	return i / 2
    }
    
    // sysSigaction calls the sigaction system call.
    //
    //go:nosplit
    func sysSigaction(sig uint32, new, old *sigactiont) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  2. src/runtime/os_linux.go

    			// worth of random data.
    			startupRand = (*[16]byte)(unsafe.Pointer(val))[:]
    
    		case _AT_PAGESZ:
    			physPageSize = val
    
    		case _AT_SECURE:
    			secureMode = val == 1
    		}
    
    		archauxv(tag, val)
    		vdsoauxv(tag, val)
    	}
    	return i / 2
    }
    
    var sysTHPSizePath = []byte("/sys/kernel/mm/transparent_hugepage/hpage_pmd_size\x00")
    
    func getHugePageSize() uintptr {
    	var numbuf [20]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top