JM Project

JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 10 of about 31 for allocate (0.003 sec.)
Man page of PTHREAD_GETATTR_NP 14786
PTHREAD_GETATTR_NP Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 pthread_getattr_np - 作成されたスレッドの属性を取得する 書式 #define _GNU_SOURCE /* See feature_test_macros (7) */ #include < pthread.h > ... ムでスレッド用のスタックを手動で割り当てている。 この場合には、guard size 属性は無視される。 $ ./a.out -g 4096 -s 0x8000 -a Allocated thread stack at 0x804d000 Thread attributes object after initializations: Guard size = 4096 bytes Stack address = 0x804d0 ... printf(stderr, "Usage: %s [-s stack-size [-a]]" " [-g guard-size]\n", pname); fprintf(stderr, "\t\t-a means program should allocate stack\n"); exit(EXIT_FAILURE); } static pthread_attr_t * /* Get thread attributes from command line */ get_thread_attribut ... es_from_cl(int argc, char *argv[], pthread_attr_t *attrp) { int s, opt, allocate_stack; size_t stack_size, guard_size; void *stack_addr; pthread_attr_t *ret_attrp = NULL; /* Set to attrp if we initialize ...
https://man.mtool.work/man/20260915/man3/pthread_getattr_np.3.html
Man page of SET_MEMPOLICY 11550
SET_MEMPOLICY Section: Linux Programmer's Manual (2) Updated: 2020-12-21 Index JM Home Page 名前 set_mempolicy - スレッドとその子スレッドの NUMA メモリーの デフォルトポリシーを設定する 書式 #include < numaif.h > long set_mempolicy(int mode ... 同様に) 「ローカルからの割り当て」となる。 MPOL_LOCAL (Linux 3.8 以降) This mode specifies "local allocation"; the memory is allocated on the node of the CPU that triggered the allocation (the "local node"). The nodemask and maxnode arguments must specify ... the empty set. If the "local node" is low on free memory, the kernel will try to allocate memory from other nodes. The kernel will allocate memory from the "local node" whenever memory for this node is available. ... If the "local node" is not allowed by the process's current cpuset context, the kernel will try to allocate memory from other nodes. The kernel will allocate memory from the "local node" whenever it becomes allowed by the process' ...
https://man.mtool.work/man/20260915/man2/set_mempolicy.2.html
Man page of MBIND 10903
MBIND Section: Linux Programmer's Manual (2) Updated: 2020-06-09 Index JM Home Page 名前 mbind - メモリー領域に対してメモリーポリシーを設定する 書式 #include < numaif.h > long mbind(void * addr , unsigned long len , int mode , const unsigne ... from the node with sufficient free memory that is closest to the node where the allocation takes place. Pages will not be allocated from any node not specified in the IR nodemask . (Before Linux 2.6.26, page allocations came from the node with the lowes ... のノードに メモリー割り当てが行われる。 MPOL_LOCAL (Linux 3.8 以降) This mode specifies "local allocation"; the memory is allocated on the node of the CPU that triggered the allocation (the "local node"). The nodemask and maxnode arguments must specify ... the empty set. If the "local node" is low on free memory, the kernel will try to allocate memory from other nodes. The kernel will allocate memory from the "local node" whenever memory for this node is available. ...
https://man.mtool.work/man/20260915/man2/mbind.2.html
Man page of SYNC 8638
SYNC Section: Linux Programmer's Manual (2) Updated: 2020-08-13 Index JM Home Page 名前 sync, syncfs - ファイルシステムキャッシュをディスクに書き込む 書式 #include < unistd.h > void sync(void); int syncfs(int fd ); glibc 向けの機能検査マクロ ... was exhausted while synchronizing. ENOSPC , EDQUOT Data was written to a files on NFS or another filesystem which does not allocate space at the time of a write (2) system call, and some previous write failed due to insufficient storage space. バージョン ...
https://man.mtool.work/man/20260915/man2/sync.2.html
Man page of SYNC 8638
SYNC Section: Linux Programmer's Manual (2) Updated: 2020-08-13 Index JM Home Page 名前 sync, syncfs - ファイルシステムキャッシュをディスクに書き込む 書式 #include < unistd.h > void sync(void); int syncfs(int fd ); glibc 向けの機能検査マクロ ... was exhausted while synchronizing. ENOSPC , EDQUOT Data was written to a files on NFS or another filesystem which does not allocate space at the time of a write (2) system call, and some previous write failed due to insufficient storage space. バージョン ...
https://man.mtool.work/man/20260915/man2/syncfs.2.html
Man page of POLL 8315
POLL Section: Linux Programmer's Manual (2) Updated: 2020-04-11 Index JM Home Page 名前 poll, ppoll - ファイルディスクリプターにおけるイベントを待つ 書式 #include < poll.h > int poll(struct pollfd * fds , nfds_t nfds , int timeout ); #defin ... 値が RLIMIT_NOFILE を超えた。 EINVAL ( ppoll ()) The timeout value expressed in *ip is invalid (negative). ENOMEM Unable to allocate memory for kernel data structures. バージョン poll () システムコールは Linux 2.1.23 で導入された。このシステムコールが存在 ... affected by the O_NONBLOCK flag. On some other UNIX systems, poll () can fail with the error EAGAIN if the system fails to allocate kernel-internal resources, rather than ENOMEM as Linux does. POSIX permits this behavior. Portable programs may wish to ch ...
https://man.mtool.work/man/20260915/man2/poll.2.html
Man page of POLL 8315
POLL Section: Linux Programmer's Manual (2) Updated: 2020-04-11 Index JM Home Page 名前 poll, ppoll - ファイルディスクリプターにおけるイベントを待つ 書式 #include < poll.h > int poll(struct pollfd * fds , nfds_t nfds , int timeout ); #defin ... 値が RLIMIT_NOFILE を超えた。 EINVAL ( ppoll ()) The timeout value expressed in *ip is invalid (negative). ENOMEM Unable to allocate memory for kernel data structures. バージョン poll () システムコールは Linux 2.1.23 で導入された。このシステムコールが存在 ... affected by the O_NONBLOCK flag. On some other UNIX systems, poll () can fail with the error EAGAIN if the system fails to allocate kernel-internal resources, rather than ENOMEM as Linux does. POSIX permits this behavior. Portable programs may wish to ch ...
https://man.mtool.work/man/20260915/man2/ppoll.2.html
Man page of FSYNC 7991
FSYNC Section: Linux Programmer's Manual (2) Updated: 2020-06-09 Index JM Home Page 名前 fsync - メモリー上にあるファイルの内容をストレージデバイス上のものと同期させる 書式 #include < unistd.h > int fsync(int fd ); int fdatasync(int fd ); g ... イプ、FIFO、ソケットなど) を参照している。 ENOSPC , EDQUOT fd is bound to a file on NFS or another filesystem which does not allocate space at the time of a write (2) system call, and some previous write failed due to insufficient storage space. 準拠 POSIX ...
https://man.mtool.work/man/20260915/man2/fdatasync.2.html
Man page of FSYNC 7991
FSYNC Section: Linux Programmer's Manual (2) Updated: 2020-06-09 Index JM Home Page 名前 fsync - メモリー上にあるファイルの内容をストレージデバイス上のものと同期させる 書式 #include < unistd.h > int fsync(int fd ); int fdatasync(int fd ); g ... イプ、FIFO、ソケットなど) を参照している。 ENOSPC , EDQUOT fd is bound to a file on NFS or another filesystem which does not allocate space at the time of a write (2) system call, and some previous write failed due to insufficient storage space. 準拠 POSIX ...
https://man.mtool.work/man/20260915/man2/fsync.2.html
Man page of OPEN_BY_HANDLE_AT 7991
OPEN_BY_HANDLE_AT Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 name_to_handle_at, open_by_handle_at - パス名に対するハンドルの取得とハンドルによるファイルのオープン 書式 #define _GNU_SOURCE /* feature_t ... [out] */ unsigned char f_handle[0]; /* File identifier (sized by caller) [out] */ }; It is the caller's responsibility to allocate the structure with a size large enough to hold the handle returned in f_handle . Before the call, the handle_bytes field s ... hould be initialized to contain the allocated size for f_handle . (The constant MAX_HANDLE_SZ , defined in < fcntl.h > , specifies the maximum expected size for a file ... error EOVERFLOW and handle->handle_bytes is set to indicate the required size; the caller can then use this information to allocate a structure of the correct size (see EXAMPLES below). Some care is needed here as EOVERFLOW can also indicate that no file ...
https://man.mtool.work/man/20260915/man2/name_to_handle_at.2.html
PREV 1 2 3 4 NEXT

リンク

日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。