Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SchedMD/slurm
/ functions
Functions
18,978 in github.com/SchedMD/slurm
⨍
Functions
18,978
◇
Types & classes
1,226
↳
Endpoints
82
↓ 6,014 callers
Function
error
src/common/log.c:1563
↓ 4,132 callers
Function
xstrdup
* Duplicate a string. * str (IN) string to duplicate * RETURN copy of string */
src/common/xstring.c:475
↓ 1,741 callers
Function
pack32
* Given a 32-bit integer in host byte order, convert to network byte order * store in buffer, and adjust buffer counters. */
src/common/pack.c:562
↓ 1,518 callers
Function
xstrncasecmp
safe strncasecmp */
src/common/xstring.c:725
↓ 1,472 callers
Function
xstrcmp
safe strcmp */
src/common/xstring.c:685
↓ 1,280 callers
Function
list_create
src/common/list.c:194
↓ 1,166 callers
Function
xstrcasecmp
safe strcasecmp */
src/common/xstring.c:712
↓ 1,066 callers
Function
fatal
* attempt to log message and exit() */
src/common/log.c:1518
↓ 1,012 callers
Function
pack16
* Given a 16-bit integer in host byte order, convert to network byte order, * store in buffer and adjust buffer counters. */
src/common/pack.c:748
↓ 1,007 callers
Function
list_append
src/common/list.c:291
↓ 990 callers
Function
list_count
* Return the number of items in list [l]. * If [l] is NULL, return 0. */
src/common/list.c:266
↓ 986 callers
Function
list_next
src/common/list.c:895
↓ 927 callers
Function
list_iterator_create
src/common/list.c:827
↓ 923 callers
Function
list_iterator_destroy
src/common/list.c:861
↓ 807 callers
Function
slurm_strerror
* Return string associated with error (Slurm or system). * Always returns a valid string (because strerror always does). */
src/common/slurm_errno.c:1653
↓ 720 callers
Function
data_get_type
src/common/data.c:500
↓ 720 callers
Function
xstrdup_printf
* Give me a copy of the string as if it were printf. * fmt (IN) format of string and args if any * RETURN copy of formatted string */
src/common/xstring.c:497
↓ 511 callers
Function
list_for_each
src/common/list.c:611
↓ 403 callers
Function
list_find_first
src/common/list.c:480
↓ 398 callers
Function
data_set_string
src/common/data.c:592
↓ 394 callers
Function
xstrcasestr
src/common/xstring.c:746
↓ 381 callers
Function
s_p_get_string
src/common/parse_config.c:1930
↓ 369 callers
Function
T
(a)
doc/html/jquery.min.js:3
↓ 368 callers
Function
bit_set
* Set bit N of bitstring. * b (IN) target bitstring * bit (IN) bit position to set */
src/common/bitstring.c:408
↓ 350 callers
Function
data_key_set
src/common/data.c:926
↓ 336 callers
Function
add_key_pair
src/common/read_config.c:3314
↓ 332 callers
Function
fatal_abort
* attempt to log message and exit() */
src/common/log.c:1532
↓ 325 callers
Function
bit_alloc
* Allocate a bitstring. * nbits (IN) valid bits in new bitstring, initialized to all clear * RETURN new bitstring */
src/common/bitstring.c:296
↓ 316 callers
Function
_print_str
src/squeue/print.c:369
↓ 302 callers
Function
pack_time
* Given a time_t in host byte order, promote it to int64_t, convert to * network byte order, store in buffer and adjust buffer acc'd'ngly */
src/common/pack.c:361
↓ 286 callers
Function
bit_copy
* return a copy of the supplied bitmap */
src/common/bitstring.c:860
↓ 280 callers
Function
unlock_slurmctld
unlock_slurmctld - Issue the required unlock requests in a well * defined order */
src/slurmctld/locks.c:148
↓ 278 callers
Function
data_set_list
src/common/data.c:686
↓ 273 callers
Function
data_get_string
src/common/data.c:1036
↓ 273 callers
Function
xstrncmp
safe strncmp */
src/common/xstring.c:699
↓ 268 callers
Function
setenvf
src/common/env.c:221
↓ 263 callers
Function
slurm_msg_t_init
* slurm_msg_t_init - initialize a slurm message * OUT msg - pointer to the slurm_msg_t structure which will be initialized */
src/common/slurm_protocol_defs.c:226
↓ 257 callers
Function
bit_set_count
* Count the number of bits set in bitstring. * b (IN) bitstring to check * RETURN count of set bits */
src/common/bitstring.c:912
↓ 253 callers
Function
data_list_append
src/common/data.c:702
↓ 243 callers
Function
data_convert_type
src/common/data.c:1919
↓ 241 callers
Function
slurm_addto_char_list
src/common/slurm_protocol_defs.c:523
↓ 240 callers
Function
bit_size
* Return the number of possible bits in a bitstring. * b (IN) bitstring to check * RETURN number of bits allocated */
src/common/bitstring.c:382
↓ 237 callers
Function
hostlist_create
src/common/hostlist.c:1816
↓ 234 callers
Function
assoc_mgr_unlock
src/common/assoc_mgr.c:2676
↓ 230 callers
Function
lock_slurmctld
lock_slurmctld - Issue the required lock requests in a well defined order */
src/slurmctld/locks.c:111
↓ 224 callers
Function
pack64
* Given a 64-bit integer in host byte order, convert to network byte order * store in buffer, and adjust buffer counters. */
src/common/pack.c:531
↓ 223 callers
Function
init_buf
init_buf - create an empty buffer of the given size */
src/common/pack.c:257
↓ 213 callers
Function
list_for_each_ro
src/common/list.c:617
↓ 211 callers
Function
data_set_int
src/common/data.c:558
↓ 211 callers
Function
hostlist_destroy
src/common/hostlist.c:1862
↓ 204 callers
Function
bit_clear
* Clear bit N of bitstring * b (IN) target bitstring * bit (IN) bit position to clear */
src/common/bitstring.c:421
↓ 195 callers
Function
add_display_treestore_line
src/sview/common.c:1946
↓ 192 callers
Function
slurm_send_rc_msg
slurm_send_rc_msg * given the original request message this function sends a * slurm_return_code message back to the client that made the request *
src/common/slurm_protocol_api.c:2105
↓ 187 callers
Function
list_sort
* This function uses the libC qsort(). */
src/common/list.c:709
↓ 174 callers
Function
next_match
(pattern)
testsuite/python/tests/test_102_1.py:96
↓ 172 callers
Function
find_col_name
src/sview/common.c:704
↓ 169 callers
Function
assoc_mgr_lock
src/common/assoc_mgr.c:2627
↓ 167 callers
Function
xstrstr
safe xstrstr */
src/common/xstring.c:738
↓ 158 callers
Function
data_set_dict
src/common/data.c:670
↓ 154 callers
Function
next_node_bitmap
src/common/node_conf.c:1601
↓ 152 callers
Function
data_new
src/common/data.c:434
↓ 152 callers
Function
rpc_num2string
src/common/msg_type.c:283
↓ 147 callers
Function
data_get_int
src/common/data.c:1022
↓ 144 callers
Function
data_get_type_string
src/common/data.c:2533
↓ 139 callers
Function
bit_and
* b1 &= b2 as many bits as both bitstr_t have * b1 (IN/OUT) first string * b2 (IN) second bitstring */
src/common/bitstring.c:753
↓ 139 callers
Function
bit_or
* b1 |= b2 as many bits as both bitstr_t have * b1 (IN/OUT) first bitmap * b2 (IN) second bitmap */
src/common/bitstring.c:815
↓ 139 callers
Function
slurm_pack_list
src/common/slurm_protocol_pack.c:2054
↓ 138 callers
Function
bitmap2node_name
* bitmap2node_name - given a bitmap, build a list of sorted, comma * separated node names. names may include regular expressions * (e.g. "lx[01-10]"
src/common/node_conf.c:253
↓ 134 callers
Function
slurm_make_time_str
* slurm_make_time_str - convert time_t to formatted string for user output * * The format depends on the environment variable SLURM_TIME_FORMAT, whi
src/common/parse_time.c:768
↓ 133 callers
Function
slurm_unpack_list
src/common/slurm_protocol_pack.c:2087
↓ 132 callers
Function
bit_ffs
* Find first bit set in b. * b (IN) bitstring to search * RETURN resulting bit position (-1 if none found) */
src/common/bitstring.c:599
↓ 123 callers
Function
_print_str
src/sinfo/print.c:174
↓ 117 callers
Function
verify_lock
src/slurmctld/locks.c:104
↓ 116 callers
Function
hostlist_count
src/common/hostlist.c:2201
↓ 115 callers
Function
list_iterator_reset
src/common/list.c:848
↓ 114 callers
Function
mysql_db_query_ret
src/database/mysql_common.c:1352
↓ 112 callers
Function
find_job_record
* find_job_record - return a pointer to the job record with the given job_id * IN job_id - requested job's id * RET pointer to the job's record, NUL
src/slurmctld/job_mgr.c:2543
↓ 111 callers
Function
list_peek
src/common/list.c:809
↓ 109 callers
Function
env_array_overwrite_fmt
* Append a single environment variable to an environment variable array * if a variable by that name does not already exist. If a variable * by the
src/common/env.c:1560
↓ 103 callers
Function
data_set_float
src/common/data.c:514
↓ 102 callers
Function
bit_and_not
* b1 &= ~b2 as many bits as both bitstr_t have * b1 (IN/OUT) * b2 (IN) */
src/common/bitstring.c:777
↓ 98 callers
Function
data_set_bool
src/common/data.c:542
↓ 97 callers
Function
list_find_first_ro
* Same as list_find_first, but use a rdlock instead of wrlock */
src/common/list.c:488
↓ 96 callers
Function
convert_num_unit
src/common/slurm_protocol_api.c:2832
↓ 95 callers
Function
mysql_db_query
src/database/mysql_common.c:1236
↓ 95 callers
Function
pack8
* Given a 8-bit integer in host byte order, convert to network byte order * store in buffer, and adjust buffer counters. */
src/common/pack.c:780
↓ 94 callers
Function
s_p_get_uint32
src/common/parse_config.c:1967
↓ 94 callers
Function
sched_info
src/common/log.c:1638
↓ 94 callers
Function
warning
src/common/log.c:1586
↓ 94 callers
Function
xstrchr
safe strchr */
src/common/xstring.c:673
↓ 93 callers
Function
packbool
* Given a boolean in host byte order, convert to network byte order * store in buffer, and adjust buffer counters. */
src/common/pack.c:807
↓ 90 callers
Function
first_match
(pattern, initial_string)
testsuite/python/tests/test_102_1.py:80
↓ 90 callers
Function
slurm_persist_make_rc_msg
src/common/persist_conn.c:1334
↓ 89 callers
Function
data_key_get
src/common/data.c:840
↓ 88 callers
Function
hostlist_ranged_string_xmalloc
src/common/hostlist.c:3058
↓ 87 callers
Function
bit_overlap_any
* return 1 if there is at least one bit set in b1 that is also set in b2, 0 if * no overlap */
src/common/bitstring.c:1019
↓ 87 callers
Function
list_is_empty
src/common/list.c:249
↓ 85 callers
Function
data_set_null
src/common/data.c:528
↓ 84 callers
Function
data_get_list_length
src/common/data.c:1177
↓ 83 callers
Function
conmgr_con_get_name
src/conmgr/con.c:1644
next →
1–100 of 18,978, ranked by callers